Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-18 Thread OpenSceneGraph Users
. April 2020 17:06 To: OpenSceneGraph Users Subject: Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation Sebastian I'll experiment with removing the original group. The original model structure doesn't include any transforms. So the structure I

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-18 Thread OpenSceneGraph Users
is, maybe supply a minimal osgt. Cheers Sebastian From: osg-users On Behalf Of OpenSceneGraph Users Sent: Samstag, 18. April 2020 01:38 To: OpenSceneGraph Users Subject: Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation Sebastian

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-17 Thread OpenSceneGraph Users
gt; You could of course also mess with the osgt-files, but that would be a > last resort. > > > > Cheers > > Sebastian > > > > *From:* osg-users *On Behalf Of > *OpenSceneGraph > Users > *Sent:* Mittwoch, 15. April 2020 21:54 > *To:* OpenSceneGrap

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-16 Thread OpenSceneGraph Users
, but this pattern for sure works. If you have more questions fell free to ask. Cheers Sebastian From: osg-users On Behalf Of OpenSceneGraph Users Sent: Donnerstag, 16. April 2020 14:36 To: OpenSceneGraph Users Subject: Re: [osg-users] Edit 3D (osgt) model to add DOFTransform

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-16 Thread OpenSceneGraph Users
t; a DOF-Transform. > > You could of course also mess with the osgt-files, but that would be a > last resort. > > > > Cheers > > Sebastian > > > > *From:* osg-users > *On > Behalf Of *OpenSceneGraph Users > *Sent:* Mittwoch, 15. April 2020

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-16 Thread OpenSceneGraph Users
Laurens, I focused on the osgSIM::DOFTransform since it was the example in the tank.osg file, but I will look into the other transform options. Thank you. On Thursday, April 16, 2020 at 4:55:21 AM UTC-4, Voerman, L. wrote: > > Hi Jeremy, > editing your helicopter.osgt should work, and while I

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-16 Thread OpenSceneGraph Users
Thanks Robert, I thought the structure may be a bit much but here is the high level breakdown: osg::MatrixTransform -osg::Group --osg::StateSet -osg::Group --osg::Geode --osg::Geode --osg::Geode --osg::Geode --osg::Geode --osg::Group --osg::Geode --osg::Group --osg::Geode --osg::Geode

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-16 Thread OpenSceneGraph Users
From: osg-users On Behalf Of OpenSceneGraph Users Sent: Mittwoch, 15. April 2020 21:54 To: OpenSceneGraph Users Subject: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation First off, I hope everyone is staying sane and healthy during this pandemi

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-16 Thread OpenSceneGraph Users
Hi Jeremy, editing your helicopter.osgt should work, and while I never work with osgSim::DOFTransform (I alway use osg::MatixTransform) both descend from osg::Group, and can be used in osg text files to replace a group. However, the optimizer might find a transform with an identity matrix, and

Re: [osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-16 Thread OpenSceneGraph Users
Hi Jeremy, The DOFTransform example you've come across only works for a osgSIM::DOFTransform because it was created with this type of DOFTransform. THE DOFTransform is written specifically for OpenFlight support so only created by the the OSG .flt loader, most other models will use other types

[osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-15 Thread OpenSceneGraph Users
First off, I hope everyone is staying sane and healthy during this pandemic. I’m working with a collection of 3D models that have come from a variety of different source but are now all in osgb format. For several of the models I’d like to grab a “node” and apply rotation. As I’m