[osg-users] Swap parallel scenes?
Antoine Rennuit
antoinerennuit at hotmail.com
Tue Feb 20 05:53:44 PST 2018
Dear OSG forum,
I have a dense mesh for which I have computed a per vertex curvature. Now I need to capture a snapshot of this mesh colorized according to the curvature (something like the bunny image attached to the message). This is only a snapshot to be stored into an array and I do not intend to display the curvature-highlighted mesh (well this could be a temporary display, but definitely not a permanent one).
I was thinking of having a primary scene for my usual display and a secondary scene for the curvature-highlighted render, and then swap displays according to my needs. Is there a way to achieve such a behavior?
Thanks a lot,
Antoine.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72969#72969
-------------- next part --------------
A non-text attachment was scrubbed...
Name: features_bunny.png
Type: image/png
Size: 117292 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180220/e5ce2792/attachment-0001.png>
More information about the osg-users
mailing list