Re: [osg-users] Several clipping planes

2021-02-10 Thread Claudio Benghi
Thanks Robert, apologies for the long delay, It's taking me a lot of studying to understand shaders uniforms and attributes, so I'm responding to your question as I go on reading and testing. > Is the clipping always going to base on a horizontal plane? Unfortunately no. While this will be

Re: [osg-users] Several clipping planes

2021-02-04 Thread Robert Osfield
Hi Claudio, Welcome to the OSG community. For your first post you sure are diving into an advanced topic :-) Conventionally one would do clipping using gl_ClipPlane, this is set by osg::ClipPlane state attribute and osg::ClipNode to place one or more ClipPlane in a final position in space, I

[osg-users] Several clipping planes

2021-02-03 Thread Claudio Benghi
Hello all, My first post on the new forum, thanks for accepting my request, and for the amazing work on OSG over the years. I intend to use OSG to display the construction sequence of a building site. Some elements will just appear at a given frame (that's easy), but others I'd like to appear