Documente Academic
Documente Profesional
Documente Cultură
Heading
The development of 3D
modelling software enables
architects and design
engineers to create realistic
3D models of their designs.
Previously they would have
been built from clay, card or
polystyrene blocks.
A 3D computer model is a
virtual object which can be
rotated on screen and viewed
from any angle.
The wireframe
model is built
up using a
series of
connected
lines to
produce a 3D
object.
The surface
model is built
up by drawing
the surfaces of
an object. Like
adding the
canvass onto
the frame of a
tent.
3D Clipping
& Viewing
process
3D Cohen-Sutherland Algorithm
Y axis
+1
Front
Clipping
Plane
y=z
y=-z
-1
Back
Clipping
Plane
z=-1
-1
-Z
y > -z
y<z
x > -z
x<z
z < -1
z > zmin
3D Cohen-Sutherland Algorithm
A line is trivially accepted if both endpoints have a code of all zeros.
A line is trivially rejected if the bit-by-bit logical AND of the codes is not all zeros.
Otherwise Calculate intersections.
3D Cohen-Sutherland Algorithm
If t not between [0, 1], then the intersection in
not between P0 and P1
t = (z0-y0)/[(y1 y0)-(z1-z0)]