|
Hi Amos, The OverlayNode can be used just like you
mentioned in your message (and as evident in the osganimate, osgsimulation, and
osgspheresegment (if you change a #if 0 to a #if 1)) to project geometry onto a
scene. I was using OverlayNode to project a
texture onto geometry as well, but after an email from Robert I realized that
using TexGenNode is a much better approach for positioning an image over
geometry. Look at the osgdepthshadow example as well as the underlying code
for OverlayNode for examples on how to use TexGenNode. Good luck! Jason From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Amos Smith 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. |
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
