Hi,

I need to save an osg/ive file using 4 components for vertex positions (x y z 
and 1.0 for w). I need this so the texgen planes work correctly (if I omit w, 
for some strange reason, the texture gen planes no longer apply correctly). 

The problem now is that the matrix transform is no longer applied. Is like OSG 
is considering my positions already transformed.

Is this is a know issue? 

Please refer to the attached file for an example of an OSG file. It contains 3 
LOD for 2 terrain meshes. The vertex positions are 4D  (with w == 1). As you 
can see both meshes are placed in the origin (one above another) as their 
matrix transform is no longer applied. For exactly the same file if .w is not 
present, the matrices are applied but my texgen planes no longer work as 
expected.

Thank you!

Cheers,
Adrian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39650#39650




Attachments: 
http://forum.openscenegraph.org//files/osg_177.zip


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to