On Thu, Jan 15, 2009 at 3:54 AM, Paul Pocock (via Nabble)
<br>&lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2161264&i=0" target="_top" rel="nofollow">ml-user+127009-450367908@...</a>&gt; wrote:
<br>&gt; Thanks Thomas - Great News!
<br><br>Same here. :)
<br>&gt; I've been trying to get my eqOSG example running using one osgViewer per
<br>&gt; Pipe using slave cameras per Channel, However I was wondering whether my
<br>&gt; implementation is conceptually correct in terms of how equalizer manages
<br>&gt; tasks:
<br>&gt;
<br>&gt; I have a class member osgViewer::Viewer in my Pipe implementation, it is
<br>&gt; initialized there in configInit()
<br><br>...
<br><br>&gt; In my Channel Implementation I set up the osg::camera slaves and add
<br>&gt; them to the Pipe osgViewer :
<br><br>...
<br><br>&gt; Then in Channel::frameDraw:
<br>&gt;
<br>&gt; void Channel::frameDraw( const uint32_t frameID )
<br>&gt; {
<br>&gt; &nbsp; &nbsp; eq::Channel::frameDraw( frameID );
<br><br>This sets up OpenGL state - projection and view matrix, read/draw
<br>buffers, color mask and viewport/scissor arar. Most of it is
<br>overwritten by osg later, so may be it is not needed.
<br><br>...
<br><br>&gt; A number of problems I'm getting is I'm not sure where to put
<br>&gt; osgViewer::Viewer::frame() function call - A simple Hack at the moment
<br>&gt; is to put it in Channel::frameDraw() or Pipe::frameStart().
<br><br>I don't know how the slave cameras are supposed to work, but there
<br>should be one render pass in each Channel::frameDraw, using the
<br>parameters given by Equalizer.
<br><br>A Channel may draw more than once with different parameters, and it
<br>might read back the result after each pass.
<br><br>&gt;
<br>&gt; I can run the application ... but with errors, namely:
<br>&gt;
<br>&gt; ./lib/net/nullCM.h:46 Code is not supposed to be called in this context
<br><br>This looks like you are trying to commit or sync an eq::net::Object
<br>which is not registered or mapped, e.g., the object's id is
<br>EQ_ID_INVALID.
<br><br>Distributed objects have a change manager helper class, which manages
<br>the data distribution. The NULL change manager is the place holder for
<br>unmapped objects.
<br><br>Set a breakpoint in the line mentioned, and check what type of object
<br>it is, and from where it is called.
<br><br><br>HTH,
<br><br>Stefan.
<br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Looking-for-eqOSGExample-project-lead-tp2151601p2161264.html">Re: [eq-dev] Looking for eqOSGExample project lead</a><br>
Sent from the <a href="http://n2.nabble.com/Equalizer---Parallel-Rendering-f7405.html">Equalizer - Parallel Rendering mailing list archive</a> at Nabble.com.<br>