Đã hoàn thành

2D transformation

You will develop an OpenGL program that allow a user to perform 2D affine transformation, including

translation, scaling, rotation, on a 2D object (e.g., a solid square), by selecting an transformation item

from the popup menu. In this project, you can have two-layer menu as follows:

• Translation

– Horizontal increment

– Horizontal decrement

– Vertical increment

– Vertical decrement

• Scaling

– Horizontal enlarging

– Horizontal shrinking

– Vertical enlarging

– Vertical shrinking

• Rotation

– Clockwise

– Counter-clockwise

Your code will need to maintain several geometry parameters of an object, including horizontal and

vertical translation, orientation, and scaling factors. You code should include a function (called menu),

in which you should update the geometry parameters of the object.

The object should be “complicated”, i.e., a composition of at least 2 OpenGL geometry primitives.

The following parameters should be used for an individual 2D transformation:

• 10 pixels for horizontal increment/decrement

2• 2 for horizontal enlarging, and 0.5 for horizontal shrinking

• 20 ◦ for a rotation.

students should explicitly construct a transformation matrix in order to perform a speci-

fied 2D transformation to the object. The transformation matrix is represented as a one-dimensional

array in OpenGL that is used as a parameter for the OpenGL function glMultMatrix() to update

the current transformation matrix.

students should also implement a simulation of moving the object. Specifically, the object

is moved around a circle track clockwise and be back to its original position. So it is basically a

task of performing a sequence of translations on the object.

Kĩ năng: Lập trình C, Lập trình C++, Linux, OpenGL

Xem nhiều hơn: 2d transformation in computer graphics pdf, rotation in computer graphics with example, 2d transformation in computer graphics solved examples, rotation about an arbitrary point in computer graphics, 2d transformation slideshare, shear transformation example, transformation matrix, 2d transformation program in computer graphics using c++, sign work order form, downloads status oscommerce status order, html order forms, zencart order price error, personal shopper order form, javascript web form order, design php order, php order, oscommerce authorize net order updating, oscommerce supplier purchase order, php inventory order, php computer work order

Về Bên Thuê:
( 2 nhận xét ) COLUMBUS, United States

ID dự án: #18921732

Được trao cho:


hello, ok ... I can do it hello, ok ... I can do it hello, ok ... I can do it hello, ok ... I can do it hello, ok ... I can do it hello, ok ... I can do it hello, ok ... I can do it hello, ok ... I can do it hello, ok Thêm

$35 USD trong 1 ngày
(133 Đánh Giá)

2 freelancer đang chào giá trung bình $68 cho công việc này


Hi. Contact me to discuss your task over chat. Looking forward to hearing from you as soon as possible. Sincerely, Andrii Perun

$100 USD trong 5 ngày
(4 Nhận xét)