Page 1 of 1

How to put your own .3ds files into Celestia...

Posted: 09.04.2002, 01:46
by BakerA
How would place a .3ds file into Celestia? Can I animate them along paths? How do I make sure they get the right textures?

*If the answers to these questions are in a text file somewhere, just tell me*

Thanks.

-BakerA

Posted: 09.04.2002, 02:56
by Rassilon
I just looked over your site...Nice work...I model a bit myself...

To answer your question, here is a sample taken from an ssc file...

"Name of Object" "Sun/Planet" << Or could simply be Planet...Replace with names of your choice...
{
Mesh "mymesh.3ds"
Texture "mytexture.jpg"
**[Note on texture mapping...Do the model WITHOUT a texture additive and map it using UWV in your Modifiers tab...I havent figured out how to remove a texture from an object so this could be a tricky task. But then applying the texture seems to work fine when saved as 3ds in the newer versions of Celestia...so it depends on the version your running]
Radius 83
EllipticalOrbit {
Period 95.829
SemiMajorAxis 94339
Eccentricity 0.2999
Inclination -01.18
MeanLongitude 754.568
}
RotationPeriod 12
Albedo 0.8
}

The additional values will affect its orbit, rotation and distance from the center of the planet it orbits...If its a planet its in kilometers...if its a star its in AUs...earth being 1 AU ~ 93 Million miles from the center of the sun...

Now for tilt and what not...Those values I will have to get back to you but I believe its the Obliquity value...

For rotation...I believe the model rotates on the Y axis...so face the top or bottom in that direction I do believe...

Material elements used in the model will consist of Opaque values only (This will make the object transparent like it does in MAX)...All others come out glossy no matter the Spectural or Glossiness values you set in MAX...So far I have found no others, but if you come across some...I would be interested in what those are ;)

Theres maybe more but that should get you started...

Posted: 10.04.2002, 01:24
by BakerA
Hey Rassilon, what do you mean by "Do the model WITHOUT a texture additive"?

What if I was to import a ship or something that wasn't a planet or star or anything like that? Would I still use the same code to control it?

I just got Celestia a few days ago. I am new to it and will mess with code some more before I ask you a million questions. Thanks

-BakerA

Posted: 10.04.2002, 01:42
by Rassilon
BakerA wrote:Hey Rassilon, what do you mean by "Do the model WITHOUT a texture additive"?

What if I was to import a ship or something that wasn't a planet or star or anything like that? Would I still use the same code to control it?

I just got Celestia a few days ago. I am new to it and will mess with code some more before I ask you a million questions. Thanks

-BakerA


You know...dont worry about that if your using the newest version of Celestia...because you need not worry about how in the old version it would make the model glossy when applying a material to a mesh...

All meshes in 3ds format now have the glossy effect so it no longer matters if you apply the texture or not...

But you still need to use Texture "mytex.jpg" to get the texture to show up in Celestia...

Models use the same code as planets, yes...

Posted: 10.04.2002, 02:07
by BakerA
Allright. Thanks. So do you have a gallery somewhere online? :)

Posted: 10.04.2002, 02:57
by Rassilon
BakerA wrote:Allright. Thanks. So do you have a gallery somewhere online? :)


Not yet...The current website of mine is solely mods for Star Trek Armada 2...I plan to update my website someday ;)