Hi Amos,

OverlayNode is used for overlay scenes ontop of others.  It does this
be render the overlay subgraph to a texture and then multi-texturing
this on to the terrain below.

If already have a texture then you don't need OverlayNode, just use
your own TexGenNode to set up the texture coords and just decorate the
scene with your texture and enable the texgen planes set up by the
TexGenNode.

Robert.

On 8/9/06, Amos Smith <[EMAIL PROTECTED]> wrote:
I'm curious if OverlayNode can be used to project offscreen rendering
results onto geometry?  For example, if in osgsimulation example the cessna
itself were rendered offscreen (did not appear in scene), while maintaining
the 'shadow' projection onto the globe.

I'm also curious if OverlayNode is the correct mechanism to consider for
projection of an image file onto terrain at specific coordinates?  It seems
that a  subset of OverlayNode would provide the projection of a texture onto
geometry, but I'm not sure what extent of the OverlayNode could be
'bypassed' in the case where I'm starting with texture rather than rendering
a model into texture first.

Suggestions & references to relevant examples would be most appreciated.

Thanks in advance,

Amos

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to