Title: Zobrazov
1Imaging
2Modeling and Imaging
Picture
model
Reality
modeling
Imaging (visualisation)
3Projection
- Mapping F Rn? Rk ngtk
- In case of 3D computer graphics F
R3? R2 - Projection ray
- The set of all pictures with the same image
- Projection ray is usually a line
- The image is in the intersection of the
projection ray and the projection plane.
4Parallel projection
- Intersection of projection rays (projection
center) is in the infinity - Projection rays are parallel
- Their direction is defined by two angels
(azimuth,zenith)
5Parallel projection
- Intersection of projection rays (projection
center) is in the infinity - Projection rays are parallel
- Their direction is defined by two angels
(azimuth,zenith)
6Axonometry
- Projection plane intersects coordinate axes
dy
dx
dz
7Dimetry
Projection triangle is isiscelles
8Izometry
- Projection triangle is equilateral (dxdydz)
Often also azimuthzenith45o
9Perspective
- Projection center is a point
101-vanishing point perpective
112-vanishing point perspective
123-vanishing point perspective
13Wireframe model
14Solving of edges visibility
15Solving of edges visibility
16Which faces are visible?
The normal leads from the observer ? the face is
not visible
The normal leads TO the observer ? the face can
(but must not) be visible
17Painters algorithm
- Display the potentionaly visible faces from the
back to the front
18Painters algorithm
The face is not visible
19Painters algorithm
The face can be visible
20Painters algorithm
The face is not visible
21Painters algorithm
The face can be visible
22Painters algorithm
The face is not visible
23Painters algorithm
The face can be visible
24Painters algorithm
The face is not visible
25Painters algorithm
The face is not visible
26Painters algorithm
The face can be visible
27Painters algorithm
The face can be visible
28Counter example of painters algorithm
29Simple imaging of all points of the solid
30Rendering
observer
Light source
Projection plane
Angle a
31Rendering
32Light source types
- Point
- Area (commonly approximated by a matrix of
points) - Ambient
33Ray Tracing
Mirror reflection
Light sources
Projection plane
Diffuse reflection
The ray goes through the solid
34Types of reflection on the solid
- The ray is absorbed by a solid (solid color)
- The ray is reflected
- Mirror reflection (shine)
- Diffuse reflection
- Combinated reflection
- The ray is going through the solid telesem
- Directly (transparent solid)
- With a shift
- With a diffusion (translucent solid)
35Ray Tracing
36Radiosity
- e1 z1 o1 ? jv1jej
- e2 z2 o2 ? jv2jej
- ei zi oi ? jvijej