[osg-users] Draw through a mask
Jérôme Desfieux
jerome.desfieux at gmail.com
Mon Apr 3 05:24:11 PDT 2017
Hi,
I have an osg::Geometry (a long rectangle above a terrain).
But I want it to be really drawn only through a mask (this mask is for example a small square I can move on the terrain; it reveals the long geometry through it; other parts of the long geometry must not be drawn)
What is the good approach for realizing this task?
(note i am using OsgEarth, but as far as i know it does not provide a such feature).
Thank you!
Cheers,
Jérôme
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70638#70638
More information about the osg-users
mailing list