[osg-users] Using OsgSim Overlay

J.P. Delport jpdelport at csir.co.za
Thu Nov 19 01:11:17 PST 2009


Hi Vaibhav,

Vaibhav Bansal wrote:
> 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 texture coordinates might be OK, but the resolution of your 
overlayed geometry might change in the generated overlayed texture. What 
happens in OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY? Does the 
resolution/stretch stay the same?

jp

> 
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.



More information about the osg-users mailing list