[osg-users] Using OsgSim Overlay

Vaibhav Bansal vaibhav at darshan3d.com
Thu Nov 19 01:02:09 PST 2009


Hello,
 
I have added a geometry as an overlay over another geometry.
The overlay texture seems to distort(stretch) under certain viewing angles.
It seems the projected texture is generating incorrect texture coordinates.

The white area is the overlaySubgraph geometry, and the colored area is the
Overlay Node (base) geometry.
The overlay mode is VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_PROJECTION.

Can anyone suggest where should I start troubleshooting.

Thanks
Vaibhav Bansal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnDistorted.JPG
Type: image/jpeg
Size: 11038 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091119/8c17c5a0/attachment-0002.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Distorted.JPG
Type: image/jpeg
Size: 11241 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091119/8c17c5a0/attachment-0003.jpeg>


More information about the osg-users mailing list