Re: [osg-users] [osgCompute] Computation on a rendered texture quad

2012-02-28 Thread Jaco Cronje
Hi, I got it working, thanks. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45821#45821 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [osgCompute] Computation on a rendered texture quad

2012-02-27 Thread Jens Orthmann
Hi jcronje, The method applyAsRenderTarget() or mapAsRenderTarget() is automatically called when a GLMemoryTargetCallback is attached to a camera. Please see the osgRTTDemo-example. It is required in order to synchronize the memory spaces correctly. You need to be shure that a GL-Context is

[osg-users] [osgCompute] Computation on a rendered texture quad

2012-02-22 Thread Jaco Cronje
Hi, What does the applyAsRenderTarget function do, and when should I call it ? I have a TextureQuad with a osgCuda::TextureRect on it. The textureRect is updated every frame with a frame from a video. I want to render the quad on the screen and use the same osgCuda::TextureRect in my