Creating 3D models from shape model data

Tips for creating and manipulating planet textures for Celestia.
Topic author
volcanopele
Posts: 103
Joined: 05.02.2007
With us: 17 years 9 months

Creating 3D models from shape model data

Post #1by volcanopele » 25.02.2009, 17:55

I am looking for advice on how I can transform shape model data in tabular format (lat, lon, radius) into a 3D model (3DS or CMOD) that can be used in Celestia. The data I have has a 5x5 degree resolution with radii in kilometers and longitude values in West Longitude.

Any advice would be appreciated. Thanks!
Hands off: C55AFB738D58F4B81D3A4722551D25E1
The Gish Bar Times - A Blog all about Jupiter's Moon Io

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Re: Creating 3D models from shape model data

Post #2by Cham » 25.02.2009, 18:19

If you have the [tex]\theta[/tex] = Lat, [tex]\phi[/tex] = Long and [tex]r[/tex] = radius coordinates, it's very easy to convert them to cartesian coordinates and build a CMOD file. If you have less than about 65000 points, you just need a spreadsheet app (Excel, or better: NeoOffice since it's free). Just enter the spherical -> cartesian transformation formulas :
[tex]x = r \cos \theta \cos \phi,
y = r \cos\theta \sin \phi,
z= r \sin\theta.[/tex]

What is the shape you want to adapt to Celestia ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Topic author
volcanopele
Posts: 103
Joined: 05.02.2007
With us: 17 years 9 months

Re: Creating 3D models from shape model data

Post #3by volcanopele » 25.02.2009, 18:53

I am working on some Saturnian satellite models that should be publicly available in the next year or so.
Hands off: C55AFB738D58F4B81D3A4722551D25E1
The Gish Bar Times - A Blog all about Jupiter's Moon Io

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Re: Creating 3D models from shape model data

Post #4by Cham » 25.02.2009, 20:00

This is interesting. There are two small moons orbiting very close to the planet which shows some belt-like feature on their surface. I was already interested in making a model for them. However, I would like to have them faster than in a year ! ;-)
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Topic author
volcanopele
Posts: 103
Joined: 05.02.2007
With us: 17 years 9 months

Re: Creating 3D models from shape model data

Post #5by volcanopele » 25.02.2009, 20:15

LOL, so would I. At the moment, all I have are updated shape models for Janus and Epimetheus. But I know the models for Pan and Atlas exist, I just need to ask the right person...
Hands off: C55AFB738D58F4B81D3A4722551D25E1
The Gish Bar Times - A Blog all about Jupiter's Moon Io


Return to “Textures”