Page 1 of 1

Rendering problems with Hubble model

Posted: 22.01.2006, 17:03
by writhe
There are a few errors with the rendering of the Hubble model that comes with Celestia:
Image

After a brief look through the code it seems as though the problem is due to the Hubble 3DS model and not with Celestia's use of OpenGL. I assume it's due to Celestia performing back face culling and that some of the triangles in the Hubble model (all the triangles in the solar panel parts) are winding the wrong way (causing the back face to be rendered and the front face to be culled instead of vice versa).

I tried to load the model in Blender but it choked on it (don't think it supports the version of 3DS that the Hubble model uses).

I haven't seen this problem with any of the other spacecraft models.

I'm running on Mac OS X 10.4.4 if this turns out to be platform specific.

Posted: 22.01.2006, 17:17
by writhe
writhe wrote:I haven't seen this problem with any of the other spacecraft models.

Hmmm, looks as though this problem also affects the Apollo 11 model at least:
Image

Image

Posted: 22.01.2006, 17:37
by rra
writhe, you could try to use another Hubble model,
it can be used as an drop-in replacement , and is much more detailed as
the standard model includedin the Celestia-pack.
It is, however not so big that you need a very fast 3D-card to display it.
Fsgregs pointed me to the link to download this model,
just unzip the 3DS model , rename it to hubble.3ds and replace the old
hubble.3ds with the new one.

http://terriercelestia.sphosting.com/TE ... ESTIA.html

If it is OK we have to convince Chris to include this model into the standard
package


Ren?©

Posted: 22.01.2006, 22:07
by ElChristou
This are problems with inverted normals; in the case of Apollo, the dish need to be double, one showing the normal from a side, the other from the other side...
Definively those models need to be corrected...