Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: i would like to draw just the intersection of poligons

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2004
    Location
    israel
    Posts
    6

    i would like to draw just the intersection of poligons

    thank you in advance.
    How can I draw jast the intersection of few polygons or spheres?
    shay

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: i would like to draw just the intersection of poligons

    Hi !

    If you mean the intersection "volume" of two spheres then you need to add boolean support to OpenGL, there are examples out there on how to do boolean operations in OpenGL, there are also libraries that takes two meshes and create a new one as a result of a boolean operation.

    What you can do in openGL is to use clipping planes to cut away parts of an object, like slicing a sphere in two parts for example but that is all you have built into openGL.

    If this is wwhat you need you can find lots of information if you try google.

    Mikael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •