Problems with normals and tori

Post requests, images, descriptions and reports about work in progress here.
Topic author
eburacum45
Posts: 691
Joined: 13.11.2003
With us: 21 years 4 months

Problems with normals and tori

Post #1by eburacum45 » 11.02.2005, 08:57

I think someone else had this problem too;

Ihave made a simple model of a Stanford Torus (a rotating habitat design), using Anim8tor; but when I import it into Celestia, the inward facing face of the torus disappears.
Here is an image
http://tinypic.com/1p86jq

Is this just my system, or is there a way of fixing it? Anim8tor has functions called fix normals/flip normals, but they don't seem to acheive very much.
Is the CMOD format any help? (to be honest I have the converter program but I don't know how to use it.)

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 7 months
Location: NY, USA

Post #2by selden » 11.02.2005, 15:18

Current versions of Celestia (v1.3.2 & 1.4.0pre#) have a bug related to how partially transparent surfaces are handled. Is the surface texture a PNG or DDS image that includes "windows" perhaps?

Alternatively, can you make a copy of your model available so it can be tested on other systems?
Selden

Topic author
eburacum45
Posts: 691
Joined: 13.11.2003
With us: 21 years 4 months

Post #3by eburacum45 » 11.02.2005, 16:07

Yes, that is probably part of the problem; the window faces inwards on the Stanford torus, toward a conical mirror; this window is drawn as if the whole torus were transparent at that point, instead of revealing the floor of the torus behind.
The conical mirror is also shown; it is itself only half displayed (by rights it should be bathed in bright sunlight from the mirror surface- but that is not possible).

Hmmm; what would be really nice would be if these models couls display emmissive areas...

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years 2 months
Location: Seattle, Washington, USA

Post #4by chris » 11.02.2005, 16:48

The problem here is not Celestia's limitation with rendering partially transparent geometry. Rather it's that your torus doesn't have any backfaces. Most meshes are generated with one-sided triangles, i.e. the triangles are visible only from the outside of the model. This isn't ordinarly a problem, but in the case of your torus, the transparent window allows the outer shell of the your model to be viewed from the inside as well as the outside. You need to duplicate the outer shell geometry and reverse the orientation of the triangles in it so that it's visible from the inside. I'm afraid that I don't know how to do this in Anim8tor.

--Chris

Topic author
eburacum45
Posts: 691
Joined: 13.11.2003
With us: 21 years 4 months

Post #5by eburacum45 » 11.02.2005, 19:24

Thank you;
I wondered if that might solve the problem. I'll try something along those lines.
I'll have to make a simplified version as well for our Freehauler spacetrader simulator; that can't handle these big, smooth, doublefaced models.

Beowulf01
Posts: 138
Joined: 28.09.2004
With us: 20 years 6 months
Location: LaGrange Missouri

Post #6by Beowulf01 » 12.02.2005, 09:54

Ohh hell, this is the problem i hve been expreiancing with my model of a L-5 habitat.
so far its been VERY slow going.

add to tht i seem to be reaching the limit of the amout of polys that teh 3DS file type can handel...
drat.
Ill try tihis, Thanks to both eburacum45 and Chris.

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 11 months
Location: West Yorkshire, England

Post #7by TERRIER » 12.02.2005, 13:56

chris wrote:.....You need to duplicate the outer shell geometry and reverse the orientation of the triangles in it so that it's visible from the inside. I'm afraid that I don't know how to do this in Anim8tor.

--Chris


Have you tried the "shell" mode ? It allows you to add thickness to the walls of an object. Thus resulting in both sides of the wall having surface normals facing the correct way.

The latest version of anim8or v0.9 (dated 29-1-05) includes this feature.

To have the correct surface normals on both faces of the Stanford Torus model, you can quite easily do it as follows;

    Build an open ended cylinder to the required dimensions.
    Change it to a mesh.
    Go into Point Edit mode and select the Shell icon from the side toolbar. (The shell mode icon looks like one 'U' inside another)
    Select a point and drag your mouse to give the wall the desired thickness.


Et Viola !

Hope this helps ?

TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Topic author
eburacum45
Posts: 691
Joined: 13.11.2003
With us: 21 years 4 months

Post #8by eburacum45 » 12.02.2005, 15:21

Thank you, TERRIER; I'll try that next time.
This time I have fixed it by making a three dimensional floor of parkland inside the torus; this also gives the inhabitants somehere to stand.
I've added radiators , a nuclear generator and solar panels as per the original design as well.

http://tinypic.com/1pjn0g


Return to “Add-on development”