# CSG - top sur f intersection sphere<0 0 0> 1 outer wa...

This preview shows pages 1–10. Sign up to view the full content.

Constructive Solid Geometry David Gu 1 1 Department of Computer Science Stony Brook University CSE325 Spring 2011 David Gu Conformal Geometry

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Constructive Solid Geometry David Gu Conformal Geometry
CSG CSG is short for Constructive Solid Geometry and denotes an approach to model complex 3D-shapes using simpler ones. I.e., two shapes can be combined by taking the union of them, by intersecting them, or by subtracting one shape of the other. The most basic shapes, which are not result of such a CSG operation, are called primitives. Primitives must be solid, i.e., they must have a clearly defined interior and exterior. By construction, a CSG shape is also solid then. David Gu Conformal Geometry

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Constructive Solid Geometry David Gu Conformal Geometry
Constructive Solid Geometry David Gu Conformal Geometry

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Constructive Solid Geometry intersection { sphere { <0, 0, 0>, 1 } // outer w a sphere { <0, 0, 0>, 0.85 inverse } // inner w a plane { <0, 1, 0>, 0.25 }

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // top sur f } intersection { sphere { <0, 0, 0>, 1 } // outer wa l plane { <0, 1, 0>, 0.25 } // top surf a } David Gu Conformal Geometry Constructive Solid Geometry David Gu Conformal Geometry Constructive Solid Geometry union { sphere {<0, 0, 0>, 1.75} difference { object {UnitBox scale 1.5} // Clip some sqr holes in the box to make a 3D object {UnitBox scale <1.51, 1.25, 1.25> } / / object {UnitBox scale <1.25, 1.51, 1.25> } / / object {UnitBox scale <1.25, 1.25, 1.51> } / / } texture { Pink_Gran_Texture scale 0.25 } rotate y * 45 } David Gu Conformal Geometry Constructive Solid Geometry David Gu Conformal Geometry Constructive Solid Geometry intersection { object { Cylinder_X } object { Cylinder_Y } object { Cylinder_X inverse scale <1, 0.5, 0.5> } object { Cylinder_Y inverse scale <0.5, 1, 0.5> } } David Gu Conformal Geometry...
View Full Document

{[ snackBarMessage ]}

### Page1 / 10

CSG - top sur f intersection sphere<0 0 0> 1 outer wa...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online