[eq-dev] OpenSceneGraph
Stefan Eilemann
eilemann at gmail.com
Wed Dec 3 08:54:11 CET 2008
On 3. Dec 2008, at 5:46, Paul Pocock wrote:
> Hi Stefan,
>
> A few questions I wanted to ask in regards to getting OSG running with
> EQ: With regards to Windowing Graphics contexts do I have to pass the
> eq::Channel graphics context to OSG / or perhaps create a new class
> combining osgViewer and eq::OSWindow?
Both is possible. For compatibility reasons, I suggest using the
context created by Equalizer, and passing this to OSG. If that proves
to complicated, creating an osgViewer - eq::OSWindow bridge is the
alternative.
> All calls to osgViewer::Viewer::frame must be done through
> Channel::frameDraw() ?
Here I don't know enough of OSG.
All rendering has to happen from Channel::frameDraw, and the
contextual data from Equalizer (buffer, viewport, frustum, head
transform) has to be used or passed to OSG.
My hunch is that osgViewer::Viewer::frame does more than a render
traversal, e.g., stuff like multi-threading. Perhaps somebody else can
answer this?
Cheers,
Stefan.
More information about the eq-dev
mailing list