Hi Asif,
probably you will need screen aligned camera. Have a look at osghud
example. When your cylinder is part of the screen camera, it doesnt scale
or translate unless you do it. Probably you want to make something like
compass
On Thu, Nov 7, 2019 at 9:09 AM Asif Bahrainwala
wrote:
> Hi,
>
>
Hi,
Just attached a tripped down version of my code
Notice that I am using cylinders to function as directional arrow
Here the cylinders go through the same transformation as al the other nodes
I would like the cylinders to rotate but NOT translate and NOT scale
Thank you!
Cheers,
Asif
Hi,
...
Thank you!
Cheers,
Asif
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76868#76868
Attachments:
http://forum.openscenegraph.org//files/main_121.cpp
___
osg-users mailing list
osg-users@l
Hi,
I would like to create a Directional Arrow (I can create the geometry)
But when I zoom, translate , the Arrow must not.
Only when I rotate the objects, the arrow must align it self with that rotation
This is so that I can show Up/East and North vector
Thank you!
Cheers,
Asif
--
4 matches
Mail list logo