Olivier Tournaire wrote:
> Hi Gerrit,
> 
> 2009/3/4 Gerrit Voss 
> <[email protected] 
> <mailto:[email protected]>>
> 
> 
>     Hi,
> 
>     hmm, this is tricky it seems off does not make any assumption on the
>     vertex order of a face. Does anybody now if the information is somewhere
>     in the file format ?
> 
> 
> I think, but it is just a supposition, that the vertices of a face are 
> ordered in the file. For a triangle (v[1]-v[0]) ^ (v[2]-v[0]) should be 
> the normal.

It's a matter of defintion. Either the clockwise cross-product order 
determines frontfacing, or counterclockwise does.

It's like left-handed/right-handed coordinate system. Neither is wrong, 
but you'd best make sure you are consistent. :)

Cheers,
/Marcus

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to