Hello Michael,

Michael Raab wrote:
> I have a strange problem with our application in cluster mode.
> We're loading a set of geometry files and push them at some position in scene 
> graph. If I load all selected files in sequence and call render after, the 
> displayed results look fine. If I call render after each geometry file the 
> result looks fine, too. If I call render after each 10th object, the last 
> loaded geometries are not visible. If I call setActive(false), 
> setActive(true) on the appropriate nodes they become visible, too. Seems to 
> be some kind of sync error. Any idea what might be causing this?

hm, one side effect of setActive() (or setTravMask which it calls 
internally) is that the parent node's bounding volume is invalidated. 
That should have also happened when adding the geometry though.
Perhaps a missing begin/endEditCP call or with the wrong flags (second) 
argument? We've also had cases of this copy & paste error:

beginEditCP(someFC, flags);
// make changes to someFC
beginEditCP(someFC, flags);

i.e. not ending with endEditCP().
You may want to check if the root's bounding volume is correctly 
invalidated after loading the geometry and perhaps try if manually 
calling root->updateVolume() makes a difference.

        Cheers,
                Carsten

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to