Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-12 Thread Paul Griffiths
Paul Martz wrote: > 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 stenci

Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-10 Thread Paul Martz
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? Har

Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-10 Thread Sebastian Messerschmidt
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,

Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-10 Thread Paul Griffiths
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

Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-09 Thread Sebastian Messerschmidt
Hello Paul, Paul Martz wrote: I've attached the source of the rtt example from the osgWorks project. Perhaps it will be helpful. See the comment block at the end of the source for a description. -Paul Code you gave is not what I need. My plane is not fullscreen, but I need the texture to be f

Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-09 Thread Paul Griffiths
Any ideas? OpenGL should do this. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49882#49882 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi

Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-09 Thread Paul Griffiths
Paul Martz wrote: > I've attached the source of the rtt example from the osgWorks project. > Perhaps > it will be helpful. See the comment block at the end of the source for a > description. > -Paul Code you gave is not what I need. My plane is not fullscreen, but I need the texture to be fu

Re: [osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-09 Thread Paul Martz
On 9/9/2012 1:03 PM, Paul Griffiths wrote: I have 2 scenes, one scene rendered to offscreen framebuffer. Other scene contains plane to render first scene on to. How do I render the image so it is entire size of monitor, face on. Only rendering area where plane is displayed? I've attached the

[osg-users] framebuffer texture applied to plane, need texture always full screen

2012-09-09 Thread Paul Griffiths
Hi, I have 2 scenes, one scene rendered to offscreen framebuffer. Other scene contains plane to render first scene on to. How do I render the image so it is entire size of monitor, face on. Only rendering area where plane is displayed? Hope you understand. Cheers. -- Read this t