3D Viewing pipeline:
The steps for computer generation of a view of 3D scene are analogous to the process of taking photograph by a camera. For a snapshot, we need to position the camera at a particular point in space and then need to decide camera orientation. Finally when we snap the shutter, the seen is cropped to the size of window of the camera and the light from the visible surfaces is projected into the camera film.
Projections:
Once world co-ordinate description of the objects in a scene are converted to viewing co-ordinates, we can project the three dimensional objects onto the two dimensional view plane. There are two basic projection methods:
Parallel projection: In parallel projection, co-ordinates positions are transformed to the view plane along parallel lines.
Prospective projection: In prospective projection, objects positions are transformed to the view plane along lines that converge to a point called projection reference point (centre of projection). The projected view of an object is determined by calculating the intersection of the projection lines with the view plane.
A parallel projection preserve relative proportions of objects and this is the method used in drafting in drafting to produce scale drawing of three-dimensional objects. Accurate view of various sides of 3D object is obtained with parallel projection. But it does not given a realistic appearance of a 3D-object.
A prospective projection, on the other hand, produces realistic views but does not preserve relative proportions. Projections of distance objects from view plane are smaller than the projections of objects of the same size that are closer to the projection place.
Parallel Projection: We can specify parallel projection withy projection vector that specifies the direction of projection line. When the projection lines are perpendicular to view plane, the projection is orthographic parallel projections.
It projection line are not parallel to view plane then it is oblique parallel projection.
Orthographic projection |
Design Issues in Distributed Operating System
ReplyDeleteProblem Reduction – AO* Algorithm | Heuristic Search Techniques
Color CRT Monitors
Computable Functions and Predicates
Representing INSTANCE and ISA Relationships
filled area primitives