Clearing the modelview and projection matrices helped a great deal.  Thanks 
hybr!  It now works as intended ... up to a point that is difficult to explain.

I get the digital zoom effect until about 13x.  At that point, the video 
suddenly starts translating instead of zooming.  And instead of showing video 
that is off-center (which would still be confusing and wrong to me since there 
is nothing that is doing a translation), the video is still clipped such that 
inside my stencil quad I see a repeat of other items in the application (I get 
buttons and such drawing in my video quad).

If I disable the GL_STENCIL_TEST now, the video viewport grows exactly as 
expected.  At some point, it does grow beyond the size of my application 
window.  Perhaps this is a problem for the stencil for some reason?  Can anyone 
provide additional insight for me?

Thanks again!
Doug

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





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

Reply via email to