HI J-S In Creator/OpenFlight, the defaults for all the DOF min's and max's are all 0's and the step values are all 0's and of course the scale current is set to 1,1,1
Creator has a DOF Viewer and when min, max are zero its ignores them it only animates if you have a (Min or Max) and Step set to something other than zero ____________________________________________________________________________ __ Gordon Tomlinson [email protected] IM: [email protected] www.vis-sim.com www.gordontomlinson.com www.PhotographyByGordon.com ____________________________________________________________________________ __ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jean-Sébastien Guay Sent: Tuesday, December 22, 2009 6:09 PM To: [email protected] Cc: OpenSceneGraph Submissions Subject: Re: [osg-users] Transforming nodes Hi Gordon, > To me that seems a rather bad default to have for scaling on a DOF, I > would have assumed the default would be 1,1,1 not 0,0,0 That's bitten me a few times too. Specifically when I create DOFs programmatically instead of reading an FLT file. > Is there a reason why its 0,0,0, and not 1,1,1 and should we change it I think we could change it. Just need to beat the inertia of making such a simple change and sending the whole modified file... Ugggghhhh... Ok! Did it! Uh, there are lots more uninitialized variables there... What should _minScale, _maxScale, _minHPR, _maxHPR, _minTranslate, _maxTranslate be set to? Fine, _currentTranslate and _currentHPR can be left at (0,0,0), but are there better defaults for the min and max? Does the OpenFlight spec give some appropriate defaults? And now that _currentScale is set to (1,1,1), does it bother that it's not between _minScale and _maxScale - which are both still at the default-constructed value of (0,0,0)? I knew I shouldn't have opened the file to do the modification... :-) J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

