3DS models in Celestia

Description: The place to discuss creating, porting and modifying Celestia's source code.

jim
Topic author
jim
Topic author
Posts: 378
With us: 14 years 8 months
Location: Germany

#1by jim » 07.02.2003, 18:44

If you build 3DS models for Celestia Version 1.2.5 you should following regard.

1. Each 3D object can have only one material that means you can't give any face a separate color and texture (one color and one texture per object). Built models with separate objects for each material.

2. Celestia supports no multitextured materials that means no bumpmaping, specular reflection and self illumination. Only the diffuse map is used.

3. If a material with texture is used set ambient and diffuse color to white (specular color usual to).

4. Avoid black color and black textures use a dark grey. (Celestia render all very dark.)

5. All texturs yes also these of 3DS models must be power of two. But the size of each edge can differ. (e.g. 256x256, 256x64 , 4x128,...)

6. All texturs must be vertical mirrored before they can be used in Celestia.

7. It'is possible to build transparent textures by useing the alpha channel. Use PNG or DDS (dxt3 or dxt5) files (BMP files also possible but not usual).

8. Textures shoud be placed in the medres folder.

9. 3DS models can't cast and receive shadows that means the model is also lighted within the shadow of a planet or moon.

Some exceptions:

1. If you build a model with one object (mesh) without a texture then celestia can texture this one. In this case bumpmaping, specular reflection, clouds and nightlights are possible by a ssc file. But i don't how the mapping works in this case.

2. The hole model can self illuminate. Use the command 'Emissive true' in a ssc file.

Ok this is what i find out by testing. I'm not sure if all statements are correct but i hope these can help someone.

Bye Jens

Paolo
Paolo
Posts: 502
With us: 15 years
Location: Pordenone/Italy

#2by Paolo » 07.02.2003, 23:09

Hi Jim

I'm not very expert but I play often with 3DStudio Max. :roll:
I was working on an improved version of Hubble And MIR models but I had a lot of problems for making them work correctly in Celestia. :?

I've seen your amazing work on Doug Lem Module in thread
http://ennui.celestiaproject.net/forum/viewtopic.php?t=1701 :wink:

Thank you very much for the advices in the previous post. You solved me a lot of problems. :wink:

Bye

jim
Topic author
jim
Topic author
Posts: 378
With us: 14 years 8 months
Location: Germany

#3by jim » 13.04.2003, 18:29

Hi all,

There are some changes/correction to my previous post.

6. All texturs must be vertical mirrored before they can be used in Celestia.

This point is not more correct since version 1.3.0pre3. Chris has now fixed this bug.

9. 3DS models can't cast and receive shadows that means the model is also lighted within the shadow of a planet or moon.


With a GF3 or better grafic card (hardware accelerated shadows) the model receive some shadows, not very perfect but it works.

I have now adapted my Columbia shuttle model and Doug Gann's lander model to the new Celestia versions. They can be downloaded from my Celestia page. I have also included new ssc files.

http://www.angelfire.com/de3/jimpage/

Image

This is a shot form the Apollo 11 lander.

Bye Jens

Mihel Jakobson
Mihel Jakobson

Cannot view page

#4by Mihel Jakobson » 17.06.2004, 13:43

Sorry,

but i cannot visit your link
http://www.angelfire.com/de3/jimpage/.

Thanks you.


Return to “Development”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests