[ODE] Very close to solving trimesh problem (Normals question).

Jon Watte hplus-ode at mindcontrol.org
Mon Aug 23 15:39:50 MST 2004


Two ways:

1) create your art correctly in the first place

2) for each triangle, add it in both the current winding order, and the reverse winding order

Cheers,

			/ h+


-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Chuck
M.
Sent: Monday, August 23, 2004 3:12 PM
To: ode at q12.org
Subject: [ODE] Very close to solving trimesh problem (Normals question).


Apparently SOME of the ODE precomputed normals are backwards for my
BSP's trimesh. Because if I reverse the indices, only some of the
faces work, and if I leave them as is, the others work. My question to
you is how to manually compute them correctly so that ALL faces work?
Apparently I'm going to have to determine which direction to wind each
face's vertices in order for it to work, but how?

-- 
thechuckster.beigetower.org
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode




More information about the ODE mailing list