Hi Bruno, maybe you can have a look at osg::AutoTransform
On Mon, Nov 21, 2016 at 4:08 PM, Bruno Oliveira < bruno.manata.olive...@gmail.com> wrote: > Hello, > > I am drawing some basic shapes/geometries (in this case, some rectangles > or circles), but need them to have fixed size in screen pixel coordinates, > even when the user manipulates the scene. > > For instance, I want to draw rectangles that are 10-pixel wide, and keep > these 10 pixels even when the user zooms in or zooms out the scene. > > How can I do this? > > > ( I think this can't be accomplished with osg::Transform::ABSOLUTE_RF, > since I want the shapes to translate/rotate when user manipulates the scene) > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org