[osg-users] transforming normals
can.hosgor at simsoft.com.tr
Fri Mar 20 08:57:03 PDT 2009
I'm writing a simple nodevisitor to compute the lightmap of a given node. This nodevisitor treats transforms and geodes specially, so that each vertex in the geometry is multiplied with the most recent transform matrix in order to obtain world coordinates. So far the above code works well except that i don't know how to transform the normals. Can I obtain the normal matrix directly from the transformation matrix, if so how?
Read this topic online here:
More information about the osg-users