Two-Dimensional Viewing Chapter 6 Intro. Download software simulasi gerbang logika. To Computer Graphics Spring 2009, Y. Viewing Pipeline. Two-Dimensional Viewing. Split the concave polygon into two or more convex polygons and process each convex polygon separately. 3D transformation in computer graphics • 1. B-Tech CSE 6th 13/NR/UT/CS005 Submitted By: Shivani Soni Submitted To: Mr. Vinod Thakur • Transformations are a fundamental part of the computer graphics. Transformations are the movement of the object in Cartesian plane. • There are two types of transformation in computer graphics. 1) 2D transformation 2) 3D transformation Types of 2D and 3D transformation 1) Translation 2) Rotation 3) Scaling 4) Shearing 5) Mirror reflection • Transformation are used to position objects, to shape object, to change viewing positions, and even how something is viewed. ![]() In simple words transformation is used for 1) Modeling 2) viewing • When the transformation takes place on a 2D plane.it is called 2D transformation. 2D means two dimensional (x-axis and Y-axis) Object Transformation in 2D Alter the coordinates descriptions an object Translation, rotation, scaling, shearing, reflection. Coordinate system unchanged Coordinate transformation in 2D Produce a different coordinate system • Translation:- Rotation:- Scaling:- • Shearing:- Reflection • When the transformation takes place on a 3D plane.it is called 3D transformation. Substreet kau tercipta bukan untukku mp3 download. Generalize from 2D by including z coordinate Straight forward for translation and scale, rotation more difficult Homogeneous coordinates: 4 components Transformation matrices: 4×4 elements 1000 z y x tihg tfed tcba • Right Hand coordinate system: Left Hand coordinate system • Point We will consider points as column Vectors. Thus, a typical point with coordinates (x, y, z) is represented as: z y x 3D Point Homogenous Coordinate A 3D point P is represented in homogeneous coordinates by a 4-dim. The main advantage:- it is easier to compose translation and rotation 1 z y x P • Moving of object is called translation. In 3 dimensional homogeneous coordinate representation, a point is transformed from position P = ( x, y, z) to P’=( x’, y’, z’) This can be written as:- Using P’ = T. P 11000 100 010 001 1 z y x t t t z y x z y x • The matrix representation is equivalent to the three equation. X’=x+ tx, y’=y+ ty, z’=z+ tz Where parameter tx, ty, tz are specifying translation distance for the coordinate direction x, y, z are assigned any real value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |