> > Yes, cloning entity and setting linewidth to higher number works, only > problem is with cloning big entity, its slow operation for realtime > highlighting. I was wondering if this can be achieved without cloning > entire entity. >
Well, if you can use shaders or stencil buffers, you could write to a separate mask channel (multiple render targets) during the original render pass, and then do some sort of post-processing operation afterward. But it's probably just as easy to stick a stateset with an osg::LineWidth ( http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00391.html ) above the selected model, with the stateset set to OVERRIDE. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org