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 4 of 4

Thread: CSG with OpenGL

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    May 2001
    Posts
    573

    CSG with OpenGL

    Hello,

    I am trying to implement a CSG-based rendering engine.
    Is there a general way to perform CSG operations
    (Union, Intersection and Subtraction) accuratelly by traversing a CSG tree?

    Let say a room consists of two boxes subtracted.

    Code :
             Room
    	   |
    	   |
    	   -
    	  / \
             /   \
            /     \
          Box1    Box2
    Thanks.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Sep 2002
    Location
    Germany
    Posts
    205

    Re: CSG with OpenGL


  3. #3
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: CSG with OpenGL

    Wow full GPL on a lib, that's pretty darned viral. I've used LGPL libs before but GPL on something like this is a non starter for most people.

  4. #4
    Intern Newbie
    Join Date
    Oct 2003
    Location
    Oakland, CA, USA
    Posts
    31

    Re: CSG with OpenGL

    don't forget that full csg requires view-dependent sorting and depth peeling. you'll need multiple passes.

Posting Permissions

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