Re: [osg-users] DirectionalArrow

2019-11-07 Thread Trajce Nikolov NICK
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, > >

Re: [osg-users] DirectionalArrow

2019-11-06 Thread Asif Bahrainwala
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

Re: [osg-users] DirectionalArrow

2019-11-06 Thread Asif Bahrainwala
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

[osg-users] DirectionalArrow

2019-11-06 Thread Asif Bahrainwala
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 --