Hi Praveena,

Create a static cylindrical geometry and decorate this subgrpah with a
transform node that you update dynamically to align the cylinder with the
points your want.

Robert.

On 24 June 2012 07:45, Praveena Sarathchandra <[email protected]> wrote:

> Hi,
>
> I want to have 2 points in 3D space and use their coordinates to
> align/scale a 3D cylinder model. Thus the cylinder should have a dynamic
> length that will be updated each time the points are moved. Illustration
> below:
> [image: Inline image 1]
> How to achieve this in OSG?
>
> Thanks
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>

<<image.png>>

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to