I guess I should ask, why the heck do DOFTransform update visitations take
so freaking long, too?  Sheesh, I mean you can render a whole database in
that amount of time.  I probably have about 200 DOFTransforms in the scene.
 

Zach


 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zach Deedler
Sent: Saturday, February 03, 2007 23:27
To: 'osg users'
Subject: [osg-users] DOFTransforms suck


Hello fellow osg users,
 
PROBLEM
I have a scene where the Update traversal takes 9ms.  It is basically a
scene with a bunch of vehicles with wheels modeled as DOFTransforms.

INVESTIGATION
1) I made a removeDOFTransform::Visitor.  After I did this the update
traversal went down to 0.1ms.

QUESTIONS
Q1) Why is the DOFTransform being visited when there are switch nodes and
LODs above it that turn it off?
Q2) Why do DOFTransforms register themselves to be visited in the update
traversal?  Is it for the setAnimationOn function?
Q3) Is there a way to turn off update traversal of the DOFs, or at least
when they are not switched or LOD'd on?

I'd appreciate any insight you may have.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to