


































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



































































Institute of Technology Computer Science and IT
Graphics scenes contain many different kinds of objects፡ Trees, flowers, glass, rock, water etc.. There is not any single method that we can use to describe objects that will include all characteristics of these different materials 3D object can be represented in many ways in a graphics application A surface can be analytically generated using its function involving coordinates an object can be represented in terms of its vertices, edges and polygons This scheme of object modeling using polygon elements is the most general method, and is also convenient for applications in various graphics algorithms Curves and surfaces can also be designed using splines by specifying a set of control points Polygon and quadric surfaces provide precise descriptions for simple Euclidean objects such as polyhedrons and
2 6/17/21 (^) Computer Graphics Addisu M. AMU – CSIT
3D modeling – process of developing a mathematical representation of any 3D surface of object via specialized software It can be displayed as a 2D image through a process called 3D rendering or used in a computer simulation of physical phenomena. 3D models represent a 3D object using a collection of points in 3D space, connected by various geometric entities such as triangles, lines, curved
4
5 6/17/21 (^) Computer Graphics Addisu M. AMU – CSIT
Modeling: (^) Define object in local coordinates (^) Place object in world coordinates (modeling transformation) Viewing: (^) Define camera parameters (^) Find object location in camera coordinates (viewing transformation) Projection: project object to the viewplane Clipping: clip object to the view volume Viewport transformation
7 6/17/21 (^) Computer Graphics Addisu M. AMU – CSIT
operations needed to produce views of a 3D scene Generating a view of a 3d scene is similar to taking a photograph of a scene using a camera To take a photo
8
Viewing pipeline ፡ sequence of transformations that every primitive has to undergo before it is displayed
10 6/17/21 (^) Computer Graphics Addisu M. AMU – CSIT
11
13
The clipping window selects; the viewport indicates where on output device and what size Normalized coordinates are introduced to make viewing process independent of any output device (paper vs. mobile phone); clipping normally and more efficiently done in these coordinates Device coordinates are specific to output device: printer page, screen display
14
modeling transformation – used to transform primitives so that they construct the 3-D scene we want
16 6/17/21 (^) Computer Graphics Addisu M. AMU – CSIT
In order to be able to render an image of a scene we need to define a virtual camera to take the picture Just like cameras in real life, virtual cameras must have a position in space, a direction (which way is it pointing?) and an orientation (which direction is ‘up’?)
17
Now we know where our primitives are in relation to the virtual camera, we are in a position to ‘take’ our picture ፡ involves ‘projecting’ 3-D primitives onto a 2-D image plane Projection from 3D to 2D – defined by straight projection rays (projectors) emanating from the ‘ center of projection ’, passing through each point of the object, and intersecting the ‘ projection plane ’ to form a projection Two different types of projection
19
20