I have a working example of Equalizer+OSG+BulletPhysics. You can check it
out here :
http://www.youtube.com/watch?v=IoY4ryGpw6M

Thanks for all the help.

Madhu

On Mon, Aug 22, 2011 at 11:28 AM, smadhueagle <
[email protected]> wrote:

>
> On Mon, Aug 22, 2011 at 11:20 AM, Stefan Eilemann [via Software] <[hidden
> email] <http://user/SendEmail.jtp?type=node&node=6710590&i=0>> wrote:
>
>> 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.
>>
>>
> Thank you! Then my understanding is correct. Yes, I am taking approach 2)
> for now. I do set an "update" flag (in FrameData) in response to a keyboard
> event in config.cpp. I then query this flag to trigger the changes in
> Node::frameStart. Doesn't seem to have the desired effect though. I'll try
> to do a simpler test to see if it works.
>
>
>
>
>>
>> > 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
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=6710575&i=0>
>> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
>> http://www.equalizergraphics.com
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://software.1713.n2.nabble.com/Modifying-osg-Scene-Graph-osg-Bullet-equalizer-tp6710558p6710575.html
>>  To unsubscribe from Modifying osg Scene Graph (osg+Bullet+equalizer) ?, 
>> click
>> here.
>>
>
>
> ------------------------------
> View this message in context: Re: Modifying osg Scene Graph
> (osg+Bullet+equalizer) 
> ?<http://software.1713.n2.nabble.com/Modifying-osg-Scene-Graph-osg-Bullet-equalizer-tp6710558p6710590.html>
>
> Sent from the Equalizer - Parallel Rendering mailing list 
> archive<http://software.1713.n2.nabble.com/Equalizer-Parallel-Rendering-f7405.html>at
>  Nabble.com.
>
> _______________________________________________
> eq-dev mailing list
> [email protected]
> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
> http://www.equalizergraphics.com
>
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to