Re: [osg-users] I want to connect two moving models with a line.

2020-10-20 Thread OpenSceneGraph Users
Oh, I forgot you were using an animation path. Then I think the easiest solution is not modifying the vertices but modelling an unit-long line and then just rotating, scaling and translating it where you want it to be. -- Alberto ___ osg-users mailing

Re: [osg-users] I want to connect two moving models with a line.

2020-10-20 Thread OpenSceneGraph Users
Hi, Alberto I saw your answer well. However, there are parts that I still don't understand. >From what you answered, the way that works for me is to modify the coordinates of the two vertices of the line. First, I need to set the coordinates and travel time with the values below.

Re: [osg-users] I want to connect two moving models with a line.

2020-10-19 Thread OpenSceneGraph Users
Hi, you have to modify the geometry of the line. You can do that either scaling and rotating it or by modifying the coordinates of the vertices. In the latter case, be sure to deactivate the display lists of the geometry, otherwise the line will not be reflect any changes. -- Alberto _

[osg-users] I want to connect two moving models with a line.

2020-10-19 Thread OpenSceneGraph Users
I didn't speak English well, so I used a translator to write it. Please understand if there is any awkwardness in the sentence. I am moving two 3ds models using osg animationPath. And I want to connect two moving models with a line. Moving the 3ds model to the specified time and path using Anim