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);
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
2 matches
Mail list logo