Hello everyone

I would need help.

I have a surface created with geometry and I would like to cut out part of 
the surface to place an object on it without the surface being inside the 
object (I have an open boat and the blue surface crosses the boat and is 
therefore visible inside). (see picture)

For this I have 4 corner points and I would like to delete the geometry and 
primitives located inside these 4 corners. (the white square on the image)

For this how could I proceed?

A solution would be to obtain the position of these 4 points in a shader 
and to delete the fragments inside with the "discrad" method in glsl if I'm 
not mistaken? (However I don't have enough knowledge with shaders ^^')

Or do you have any other suggestions?

i found this source : 

[osg-users] [osgOcean] Culling and intersects with ocean and model...

Thanks in advance
Cordially

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/1b3cfbe1-ac54-4174-b970-cab3a15805b2n%40googlegroups.com.

Reply via email to