HI Attilla,

You might be able to do this with the stencil buffer.

Robert.

On Wed, Oct 19, 2011 at 4:38 PM, Atilla Selem <[email protected]> wrote:
> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to