Hi, On 22. Aug 2011, at 10:13, smadhueagle wrote:
> I am starting from the osgScaleViewer example as the base code. The question > I have is - exactly where do I make changes (add geometry) to the Scenegraph > in the source code ? The equalizer documentation seems to suggest that the > right place to make changes to the scenegraph is Node::frameStart(.) > function. However, this does not seem to work. I see the geometry being > added on the master application, but I do not see anything happening on the > render nodes. What am I doing wrong ? There are two approaches to distributing scenegraph changes: 1) A distributed scene graph. Modified by the application. Tracks changes internally, app commits master copy before frameStart and clients sync() in Node::frameStart 2) A distributed application. App commits change messages to all nodes, which execute them on their SG copy in Node::frameStart I'm guessing you're looking into approach 2) and you're missing the part of distributing the change messages to all nodes. One way to get there is to add the relevant per-frame events to the FrameData, and do a per-node apply operation using these events in Node::frameStart. > I am fairly new to Equalizer ... If you are interested in looking at the > code, please go here: > https://github.com/smadhueagle/osgBulletEqualizer Thanks for sharing - I'll check it out. HTH, Stefan. _______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

