|
|
> I can be completly offtopic but could be normal determined by order of vertices
> in triangle?
From memory:
In 3.1 code, the short answer is NO, at least for mesh,
because the mesh code is free to reorder the vertices of any single triangle.(*)
So even if you carefully generate all your triangles with a +side and -side,
once in the mesh structure it might be impossible to get back to the original
order. It's often simpler to use a smooth_triangle which allow to explicitely
specify a normal for each vertex (but take more memory, of course).
(*) and it does it, according to its own private criteria.
--
Non Sine Numine
http://grimbert.cjb.net/
Post a reply to this message
|
|