<div dir="ltr"><div><div>Thank you Tracje,<br><br></div>however I tried using that. My node has, for instance, 10 circles that represent points and that are at a certain distance. I use autotransform on the whole node of 10 circles with "setAutoScaleToScreen(true);" but what happens is that when I zoom my scene, the distance between the circles does not change.<br></div>Do I need to add an autotransform for each circle?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-21 16:20 GMT+00:00 Trajce Nikolov NICK <span dir="ltr"><<a href="mailto:trajce.nikolov.nick@gmail.com" target="_blank">trajce.nikolov.nick@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bruno,<div><br></div><div>maybe you can have a look at osg::AutoTransform</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 21, 2016 at 4:08 PM, Bruno Oliveira <span dir="ltr"><<a href="mailto:bruno.manata.oliveira@gmail.com" target="_blank">bruno.manata.oliveira@gmail.<wbr>com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hello,<br><br></div><div>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.<br><br></div><div>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. <br><br></div><div>How can I do this?<br><br><br></div><div>( 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)<br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-815526914391516879gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div><br></div>