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

2020-04-18 Thread OpenSceneGraph Users
Hi, you’re on the right track. Issue 1 stems from the fact, that you are not removing the original group or at least the childs you’re re-parenting (which still has references to your nodes). Concerning issue 2. If the parent is a transform, you obviously need to take this into account.

Re: [osg-users] Synchronized movie playing across the network

2020-04-18 Thread OpenSceneGraph Users
Hi Robert, Yes, I was also looking at the osgcluster example. I may use something similar to synchronize the video playback.Thanks. Eric On Sat, Apr 18, 2020 at 1:33 AM OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > Hi Eric, > > The osgcluster example provides an example

Re: [osg-users] Correct way to modify Image used in a Texture2D (and have the Texture2D re-upload)

2020-04-18 Thread OpenSceneGraph Users
Okay, it's good to know I'm at least in principle trying the right thing then. There are unfortunately lot of texture changes happening, but I'll try a break-point in ::apply and see I can spot the correct one. On Wednesday, 15 April 2020 12:08:11 UTC+1, OpenSceneGraph Users wrote: > > Calling

[osg-users] How to traverse the adjacent drawables

2020-04-18 Thread OpenSceneGraph Users
I want to set the font of the axes labels(X,Y,Z) using GUI so I traverse through the scenegraph, to access the axis labels(X,Y,Z) which are text3D nodes. The function getLabelText3D(..) returns the drawables as text3D and later set the font of the drawable by setFont() but the font style only

Re: [osg-users] How to traverse the adjacent drawables

2020-04-18 Thread OpenSceneGraph Users
I think the easiest is to give the labels a certain name, then use a NodeVisitor and implement apply(Text3D) checking the name and setting the new font. On 18. April 2020 09:54:24 MESZ, OpenSceneGraph Users wrote: >I want to set the font of the axes labels(X,Y,Z) using GUI so I >traverse

Re: [osg-users] How to traverse the adjacent drawables

2020-04-18 Thread OpenSceneGraph Users
One the question "How to access adjacent nodes/drawables?" All nodes/drawables have a getParents() methods that list all the Node's above it in the scene graph, you can traverse your parents list of children to get all the siblings. -- You received this message because you are subscribed to the

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

2020-04-18 Thread OpenSceneGraph Users
Ok, I misinterpreted your previous post. AFAIR you can set a pivot-point for the PAT. (at least for the osgSim::DoFTransfrom). If I’m mistaken, you need to put a transform in your change yourself. hth Sebastian From: osg-users On Behalf Of OpenSceneGraph Users Sent: Samstag, 18.