Re: [osg-users] How can i do masking out some part of my terrain? Is that possible?

2011-10-21 Thread Robert Osfield
Hi Atilla, I'm afraid I'm way too busy to be able to help you in detailed way, my hope is that I'd be able to provide you a few pointers and help your on your way. Perhaps others will be able to help out with reviewing your code/understanding what you are after. Robert.

Re: [osg-users] How can i do masking out some part of my terrain? Is that possible?

2011-10-20 Thread Atilla Selem
S2LR wrote: You may need to resort to a shader to get the desired effect... -Shayne Hi Shayne, What should i do in order to apply a shader to myTerrain.ive node? What i need? Where should i start? Could you please write the steps needed to get the desired effect?.. Thanks a lot..

Re: [osg-users] How can i do masking out some part of my terrain? Is that possible?

2011-10-20 Thread Robert Osfield
Hi Atilla, On Thu, Oct 20, 2011 at 6:55 AM, Atilla Selem ase...@havelsan.com.tr wrote: How can i use stencil buffer for that purpose? i haven't done anything special with stencil buffer before. Should i change stencil buffer settings only for myTerrain.ive node? How will i set stencil buffer

Re: [osg-users] How can i do masking out some part of my terrain? Is that possible?

2011-10-20 Thread J.P. Delport
Hi, I know osgEarth has a stencilling technique for drawing vector overlays. Maybe you can have a look at how they do it. Their site has reference to a research paper for the technique too. http://www.osgearth.org/wiki/TileSourcePluginModelFeatureStencil regards jp On 20/10/2011 09:21,

Re: [osg-users] How can i do masking out some part of my terrain? Is that possible?

2011-10-19 Thread Robert Osfield
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 ase...@havelsan.com.tr 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

Re: [osg-users] How can i do masking out some part of my terrain? Is that possible?

2011-10-19 Thread Atilla Selem
You might be able to do this with the stencil buffer. Robert. Hi Robert, How can i use stencil buffer for that purpose? i haven't done anything special with stencil buffer before. Should i change stencil buffer settings only for myTerrain.ive node? How will i set stencil buffer for