Re: [osg-users] osgSim::DOFTransform pivot point

2019-04-11 Thread Alberto Luaces
"Bruce Clay" writes: > When I walk through the nodes in the > DOFTransform list I can see that each node has an osg::Transform but > calling asPositionAttitudeTransform returns NULL as do many of the > other possible converters. That is right, because they are not PositionAttitudeTransforms, but

Re: [osg-users] osgSim::DOFTransform pivot point

2019-04-10 Thread Bruce Clay
Thanks for the replies. The models in question are part of a large set of models that I am trying to catalog. I only have the osgb version of the model so I do not know the original format. When I walk through the nodes in the DOFTransform list I can see that each node has an osg::Transform

Re: [osg-users] osgSim::DOFTransform pivot point

2019-04-10 Thread Chris Hanson
Honestly, it sounds like a modeling problem. What format was the aircraft model originally in? Your best bet is probably to load it into a modeling tool, fix up the origin/pivot points in that environment and resave the model. It's not really specific to OSG at all. ___

Re: [osg-users] osgSim::DOFTransform pivot point

2019-04-10 Thread Alberto Luaces
"Bruce Clay" writes: > I am working on a model viewer that has portions based on the > osgsidebyside example. I can load a tank model that has both > DOFTransforms and Multiswitches then rotate the turret and elevate the > gun and everything works correctly. > > I loaded an aircraft model with 15

[osg-users] osgSim::DOFTransform pivot point

2019-04-09 Thread Bruce Clay
I am working on a model viewer that has portions based on the osgsidebyside example. I can load a tank model that has both DOFTransforms and Multiswitches then rotate the turret and elevate the gun and everything works correctly. I loaded an aircraft model with 15 DOFTransforms and no switches.