Re: [osg-users] [osgCompute] Computations outside computation node

2011-06-14 Thread Jens Orthmann
Hi jcronje, the graphics context is initialized by OSG before the first rendering traversal. Context handling is not so easy with OSG. I usually set the following flag in order to not loose the context at the end of each frame: Code: _viewer-setReleaseContextAtEndOfFrameHint(false);

[osg-users] [osgCompute] Computations outside computation node

2011-05-30 Thread Jaco Cronje
Hi, I would like to use osgCompute outside the computation node, similar to your osgEndiannessDemo example. The only difference is that I want to use osgCuda::Texture objects. From the example source: Code: // You can use modules and buffers in the update cycle or everywhere // you want. But