I'm not aware of anything in OSG that will allow you to mask your terrain the 
way you want. 

You may need to resort to a shader to get the desired effect...

-Shayne

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Atilla Selem
Sent: Wednesday, October 19, 2011 9:38 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] How can i do masking out some part of my terrain? Isthat 
possible?

Hi,

i want to mask out some part of square myTerrain.ive node ( created using vpb ) 
according to user decided terrain radius. 
User can change mission radius starting from terrain center and i display a 
circle indicating user selection. Flying objects out of that radius is not 
created and can not be seen. (Aircrafts and other target objects..)
if i could display myTerrain.ive node by just showing area covering that circle 
would be very fantastic  8).
How can i do that using osg? i want the user to see only that circle/disk when 
camera position enables him to see all terrain area and objects.

Thank you!

Cheers,

Lâ-Edri.

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to