Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


CSG Subtraction/Addition

This topic is 5448 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

some one plz at least tell me if im on the right track

now what i think it is that i create planes using the polygons from the subtracting object to split the main object into multiple objects which would leave me with multiple objects in the form of the main object minus the subtracting object.

is this right??

if not please point me in the right direction.

thank you very much

Share this post

Link to post
Share on other sites
http://www.cfxweb.net/~aggrav8d/tutorials/csg.html - This is a tutorial on doing CSG in 3D.

However, the above method is flawed (I know; I coded a demo and tested it). It retains the same object, only cutting polygons, which it does rather inefficently. You might want to use the CSG method used in q3radiant and 3DS Max, which uses planes to divide the object being split into many smaller objects. This is much more effectove, as it saves polygons...

Windows 95/NT - 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company that can''t stand 1 bit of competition.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!