Hi,

I would like to create wholes in terrian patches.

My current approach is to clip fragments inside the whole instead using a 
custom terrain technique.

I have some questions to this approach:

Would a line intersection (Height of terrain) return elevation values at a 
hole, or does i regocnize that "there is no terrain inside the hole" ?

What could be the right source to clip the fragments?

a ) Using an alpha value and using the alphaFunc to clip the fragments, or

b)  would it be better (regarding long term improvement of osgTerrain) to 
introduce a new layer type as  "mask" to mark which parts of a tile are visible 
and which are part of the hole in the terrain. 


If you recommend using approach a), how can I apply alpha value to the color 
layer? My VPB database has compressed textures, so it is not possible to add an 
alpha channel and set alpha values on the fly :( is it possible to use the 
alpha channel of a second color layer for blending?

 
Thank you!

Cheers,
Torben

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to