How can I use constructive solid geometry techniques (CSG) to create my 3DWorld?

CSG is a technique for solid modeling. It works by combining volumes occupied by overlapping 3D objects using set operations. It creates a new volume by applying the union, intersection or difference operation to two specified volumes.

A CSG application starts with an initial set of 3D objects (Primitives), such as Blocks, Pyramids, Cylinders, Cones, spheres, and closed spline surfaces. The primitives can be provided by the CSG package as menu selections, or the primitives themselves could be formed using sweep methods, spline constructions or other modeling techniques.

To create a new 3D shape using CSG methods, we first select two primitives and drag them into position in some region of space. Then we select an operation for combining the volumes of two primitives. Now we have a new object in addition to the primitives that we can use to form other objects. We continue to construct new shapes, using combination of primitives and other objects created at each step until we have the final shape. An object designed with this procedure is represented with a binary tree. Ray casting methods are commonly used to implement CSG operations when objects are described with boundary representations.

Game Engines like Genesis3D use CSG techniques to create the world. The significant advantage of CSG is that any complicated shapes can be emulated by using a small set of geometric primitives.

FAQ Menu

 
Printer friendly version of the FAQ-DIRECTX-Constructive-Solid-Geometry-Techniques page


Sponsored links

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
SSH and SFTP support for .NET
Add complete SSH and SFTP support to your .NET framework application
ASP.NET 3.5 Hosting on Windows 2008!
ASP.NET 3.5/2.0 Hosting on Windows 2008 & 2003! AJAX, LINQ, & Silverlight Ready! 3 Mo. Free!!

Advertisement



Free Magazine

Free Magazines
eWeek The essential technology information source for builders of e-business.... subscribe now

Newsletter | Submit Content | About | Advertising | Awards | Contact Us | Link to us |
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Synchron Data - .NET development.