His description is difficult to understand, but it seems like he wants some type of stencil solution. So the plane rendering pass would be:
1. Render the plane with stencil set to write a 1 bit.
2. Render a fullscreen quad to display the texture, but only where stencil is 1.

Hope that helps? Hard to tell, as the description is pretty obfuscated...
   -Paul


On 9/10/2012 7:25 AM, Sebastian Messerschmidt wrote:
Hello Paul,

Didn't my answer help in any way?
If you want the plane facing the camera see the osgbillboard example. Also
you're giving information in a piecemeal manner. Maybe you could try to explain
what you are trying to achieve.

How do I render the image so it is entire size of monitor, face on.
Only rendering area where plane is displayed?
I cannot parse this. First you say you want to display the entire size of the
monitor, which would be a fullscreen quad.
Then you say only where the plane is displayed, which in this case would be the
full screen. Try to explain so we can help you.

cheers
Sebastian


I need the texture to "always" face the camera regardless of the angle of the
plane, the tuxture being fullscreen and only rendered where the plane is.

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





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

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


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

Reply via email to