i need a new object type
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
i need a new object type
i need a Trans-Neptunian object in orbits and labels
relly look at sedna is not a Asteroid
is a Trans-Neptunian object
in view options
help plz
relly look at sedna is not a Asteroid
is a Trans-Neptunian object
in view options
help plz
Re: i need a new object type
Well I guess Celestia's "asteroid" class really corresponds better to "Small Solar System bodies", so no harm in using it for TNOs.
Problem is that a TNO class doesn't really make sense except in the one solar system in the universe that actually contains Neptune, as opposed to other object classes in Celestia could be fairly easily generalised to other solar systems (even if we do not yet know of any such objects in other solar systems yet).
Problem is that a TNO class doesn't really make sense except in the one solar system in the universe that actually contains Neptune, as opposed to other object classes in Celestia could be fairly easily generalised to other solar systems (even if we do not yet know of any such objects in other solar systems yet).
Re: i need a new object type
what file to add Trans-Neptunian object in orbits and labels?
Re: i need a new object type
ya i no but how u add the new object in orbits and labels in view options?
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: i need a new object type
You can open the .ssc files in the /data directory to get an idea how to do it. Copy one definition and paste it and edit the values.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: i need a new object type
what .ssc file?
Re: i need a new object type
i relle cant fine what ur thaking abot
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: i need a new object type
Say, for example, if I wanted to make an asteroid:
You would do this in whatever .ssc file you declare the object.
Like if I wanted Mercury to be an asteroid, I would open solarsys.ssc and add to it.
Code: Select all
"billy" "Sol"
{
Texture "billy.*"
Radius 3.14159
Class "asteroid" <--- Right there
EllipticalOrbit
{
...
}
}
You would do this in whatever .ssc file you declare the object.
Like if I wanted Mercury to be an asteroid, I would open solarsys.ssc and add
Code: Select all
Class "asteroid"
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: i need a new object type
not that i want
and a new type like ...
how i add a new type of objet
and a new type like ...
how i add a new type of objet
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: i need a new object type
Then selden already answered your question...
selden wrote:You would have to edit the source code and recompile.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: i need a new object type
and were is source code and recompile i cant find teme
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: i need a new object type
The celestia.exe file itself if I'm not mistaken contains the relevant source code. You'll need to have knowledge of and experience with programming in C++ to accomplish what you want.
Editing and compiling the code can probably be done with the use of a C++ editor/compiler programme.
Editing and compiling the code can probably be done with the use of a C++ editor/compiler programme.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: i need a new object type
were u get C++ ?
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: i need a new object type
You already have C++ in your computer.
It's like a language that computers use. The programmes talk to each other in C++. If you want to modify Celestia, you have to learn the language, this can take a year if you've never learned a programming language before.
I don't know any good C++ compilers/editors but you can search one on the internet.
It's like a language that computers use. The programmes talk to each other in C++. If you want to modify Celestia, you have to learn the language, this can take a year if you've never learned a programming language before.
I don't know any good C++ compilers/editors but you can search one on the internet.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: i need a new object type
and were is my C++
and what u do wite it?
and what u do wite it?
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: i need a new object type
Your C++ is in your computer. It's hard to find if you don't know how and where to look.
You can download the source code from here:
http://www.celestiaproject.net/celestia/download.html
Here's an example of C++ in the source code. You know that file you double-click to make Celestia run? This stuff is in that file. Files are a bunch of code just like this. This is what the computer is thinking when it runs Celestia. You'll have to both know how this kind of stuff works, and be able to make some of your own, to get the desired effect.
You can download the source code from here:
http://www.celestiaproject.net/celestia/download.html
Here's an example of C++ in the source code. You know that file you double-click to make Celestia run? This stuff is in that file. Files are a bunch of code just like this. This is what the computer is thinking when it runs Celestia. You'll have to both know how this kind of stuff works, and be able to make some of your own, to get the desired effect.
Code: Select all
if (detail > 1)
{
overlay << _("Surface temp: ") << SigDigitNum(star.getTemperature(), 3) << " K\n";
float solarRadii = star.getRadius() / 6.96e5f;
overlay << _("Radius: ");
if (solarRadii > 0.01f)
{
overlay << SigDigitNum(star.getRadius() / 696000.0f, 2) << " " << _("Rsun")
<< " (" << SigDigitNum(star.getRadius(), 3) << " km" << ")\n";
}
else
{
overlay << SigDigitNum(star.getRadius(), 3) << " km\n";
}
if (star.getRotationModel()->isPeriodic())
{
overlay << _("Rotation period: ");
float period = (float) star.getRotationModel()->getPeriod();
displayDuration(overlay, period);
overlay << '\n';
}
}
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: i need a new object type
Hungry,
I'm sorry, but you are seriously misleading freiza. Apparently you have never built Celestia from sourcecode yourself.
Freiza,
Instructions for compiling Celestia for Windows are in the Celestia Wikibook.
See http://en.wikibooks.org/wiki/Celestia/D ... 2_platform
Unfortunately, the instructions are for Windows XP. Nobody has written instructions for Vista or Win7.
The sourcecode must be downloaded from SourceForge
The Windows C++ compiler and libraries must be downloaded from Microsoft.
They're all free, but very large.
I'm sorry, but you are seriously misleading freiza. Apparently you have never built Celestia from sourcecode yourself.
Freiza,
Instructions for compiling Celestia for Windows are in the Celestia Wikibook.
See http://en.wikibooks.org/wiki/Celestia/D ... 2_platform
Unfortunately, the instructions are for Windows XP. Nobody has written instructions for Vista or Win7.
The sourcecode must be downloaded from SourceForge
The Windows C++ compiler and libraries must be downloaded from Microsoft.
They're all free, but very large.
Selden
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: i need a new object type
selden wrote:Apparently you have never built Celestia from sourcecode yourself.
Indeed! I'm glad you chimed in with a much better informed post
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: i need a new object type
Hi,
what is this joke?
Do you seriously advise the users to make their own version of Celestia?
Or is this a new way to make fun of people who ask for help?
what is this joke?
Do you seriously advise the users to make their own version of Celestia?
Or is this a new way to make fun of people who ask for help?