[osg-users] Addition and Subtraction

Steve Satterfield steve at nist.gov
Sun Sep 16 10:08:33 PDT 2007


On Sun, 16 Sep 2007, Robert Osfield wrote:

> On 9/16/07, Renan Mendes <renanmzmendes at gmail.com> wrote:
>> Oh, that's a shame. Thanks anyway...
>>
>> But how would you do that? Is there any OpenGL primitive appropriate for
>> this kind of rendering? Anywhere I can read about it?
>
> There is no OpenGL primitive to support what you are after.
>
> The closest you could get would be to use the stencil buffer and
> multi-pass.  Look up constructive solid modeling on the web.

One open source Constructive Solid Geometry (CSG) solid modeling package
is called BRL-CAD. See: http://www.brlcad.org/

-Steve




More information about the osg-users mailing list