[osg-users] DirectionalArrow

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Thu Nov 7 00:31:12 PST 2019


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 <abahrainwala at gmail.com>
wrote:

> 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
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76869#76869
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/main_984.cpp
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20191107/72ada65b/attachment.html>


More information about the osg-users mailing list