[osg-users] Fast move a lot of nodes to another group

Werner Modenbach Werner.Modenbach at texion.eu
Tue Apr 4 02:30:25 PDT 2017


Hi Yura,

just make the transform node a permanent member of your scene and
let it be identity or your specific transform as needed.

- Werner -

Am 31.03.2017 um 10:05 schrieb Yura Ivanov:
> Hi,
> I need to move a lot of nodes from Group to MatrixTransform to translate them into new position by user input, and then move them back into Group with new position. Call addChild and removeChild for each node is slow because of removeChild. Also I cant use removeChildren to remove all nodes at once because my node list is not continuous.
>
>
>
> Thank you!
>
> Cheers,
> Yura
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70624#70624
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
*TEXION Software Solutions, Rotter Bruch 26a, D-52068 Aachen*
Phone: +49 241 475757-0
Fax: +49 241 475757-29
Web: http://texion.eu
eMail: info at texion.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170404/9cc0ce1c/attachment-0003.htm>


More information about the osg-users mailing list