0% found this document useful (0 votes)
34 views

Constructive Solid Geometry: by Divya Sharma Ankita Sharma

Constructive Solid Geometry (CSG) is a modeling technique that generates new 3D objects by combining two base objects using set operations like union, intersection, and difference. CSG starts with simple primitives and combines them using these operations to build more complex objects, represented as CSG trees. Ray casting is commonly used to implement the CSG operators, determining object intersections along parallel rays to calculate the surface of the combined object based on the specified set operation.

Uploaded by

Sharma Divya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Constructive Solid Geometry: by Divya Sharma Ankita Sharma

Constructive Solid Geometry (CSG) is a modeling technique that generates new 3D objects by combining two base objects using set operations like union, intersection, and difference. CSG starts with simple primitives and combines them using these operations to build more complex objects, represented as CSG trees. Ray casting is commonly used to implement the CSG operators, determining object intersections along parallel rays to calculate the surface of the combined object based on the specified set operation.

Uploaded by

Sharma Divya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Constructive

Solid Geometry



By

Divya Sharma

Ankita Sharma
Constructive Solid Geometry (CSG) performs solid
modelling by generating a new object from two
three- dimensional objects using a set operation.
Valid set operations include
Union
Intersection
Difference
CSG usually starts with a small set of primitives
such as blocks, pyramids, spheres and cones.
Two objects are initially created and combined
using some set operation to create a new object.
This object can then be combined with another
primitive to make another new object.
This process continues until modelling complete.
CSG - Union
CSG - Intersection
CSG - Minus
CSG models are
usually represented
as CSG trees
CSG
Object
oper
1

obj
1
obj
2
oper
3

obj
4
oper
2
obj
2
obj
3

Ray-casting is typically used to implement CSG
operators when objects are described with
boundary representations
Ray casting is applied by determining the objects
that are intersected by a set of parallel lines
emanating from the xy plane along the z axis
The xy plane is referred to as the firing plane

I
m
a
g
e
s

t
a
k
e
n

f
r
o
m

H
e
a
r
n

&

B
a
k
e
r
,

C
o
m
p
u
t
e
r

G
r
a
p
h
i
c
s

w
i
t
h

O
p
e
n
G
L


(
2
0
0
4
)

Surface intersections along each ray are
calculated and these are sorted according to
distance from the firing plane
The surface limits for the composite object are
then determined by the specified set operation

I
m
a
g
e
s

t
a
k
e
n

f
r
o
m

H
e
a
r
n

&

B
a
k
e
r
,

C
o
m
p
u
t
e
r

G
r
a
p
h
i
c
s

w
i
t
h

O
p
e
n
G
L


(
2
0
0
4
)

You might also like