[osg-users] Geometry in world coordinates but with same screen size - how to do?

tianzjyh tianzjyh at 126.com
Thu Jan 19 19:20:59 PST 2017


Hi, Roko, 
    Just check function osg::AutoTransform::setPosition(const Vec3d& pos), and try setting "pos" to (0,0,0), then maybe you will find a clue.





--





Cheers, 
---
TianZJ



At 2017-01-20 10:10:31, "Roko Talk" <schirokotal at gmail.com> wrote:
>Hi TianZJ,
>
>thank you for your reply :) - Are you sure combining stuff from within the osgautotransform example is enough to achieve what I want for osg::Geometry? Because for text I can realize it with the above posted command.
> 
>Many thanks! :)
>
>Cheers,
>Roko
>
>------------------
>Read this topic online here:
>http://forum.openscenegraph.org/viewtopic.php?p=70016#70016
>
>
>
>
>
>_______________________________________________
>osg-users mailing list
>osg-users at lists.openscenegraph.org
>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170120/d5e6c249/attachment-0003.htm>


More information about the osg-users mailing list