[osg-users] Outlining a node (Beginner)

tom spencer blobfish at gmx.com
Mon Dec 18 12:42:13 PST 2017


Hi,

You have a memory leak. You don't need to dynamically allocate for the Node*.

You find an existing node in the graph and put it under your outline, but you don't remove it from it's existing parent/s. did you intend to draw it more than once?

One of my favorite aspects of osg is the samples. Great resource for typical uses of objects.https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgoutline/osgoutline.cpp

Thank you!

Cheers,
tom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72604#72604







More information about the osg-users mailing list