CONTROL (Rotation of the cube parallel to the Z axis) KG

Replenishment date: 01.05.2015
Content: kontrolnaya.rar (223.14 KB)
️Automatic issue of goods ✔️
Sales:
0
Refunds:
0
Reviews:
0
Views:
170
Seller
Seller:
kitcon
Rating:
0
Ask a Question
Report a violation
Description
Test work on the subject: Computer graphics
----------------------------------------------------------------------
The task:
Rotation of the cube. The cube rotates around an axis passing through the centers of the top faces and parallel to the Z axis. The rotation is simulated by displaying the image of the cube in different positions that differ from each other by a small angle of rotation. Use a composition of matrices T, Rz, T-1, where T is the matrix for transferring the center of the cube to the origin, Rz is the matrix of rotation around the Z axis, T-1 is the transfer of the center of the cube to its original position.
Recommendations:
The body is represented by a set of segments. The rotation of the body is realized by multiplying the homogeneous coordinates of its vertices by the composition of the translation and rotation matrices. After that, they switch to the view coordinate system and perform projection. The projection coordinates are converted to screen coordinates and the image is displayed. The projection is carried out by multiplying the vectors of coordinates of the ends of the segments by the projection matrix. The computed coordinates are converted to screen coordinates xa, ya. Include in the program the types Vector, Matrix and procedures for multiplying a vector by a matrix and matrices by a matrix. Redraw the image in the onTimer handler. To display the image, use the MoveTo, LineTo and other methods of the Canvas class.
Image output algorithm:
1. Paint the current image with the background color.
2. Rotate the object.
3. Display the object image.
----------------------------------------------------------------------
The program is implemented in the Delphi programming environment with window
interface. Finished test, in the archive of the test
there are sources (Delphi 7) with detailed comments.
Assessment given by the teacher: EXCELLENT.
----------------------------------------------------------------------
PS Use this work as educational material, by the example of which, you
you will be able to develop your own program and hand over the work to the teacher perfectly.
Additional Information
I ask you to leave your positive feedback, thank you.
Similar items
CONTROL (Rotation of the cube parallel to the Y axis) KG
Seller:
kitcon
Rating:
0
Sales:
0
price:
10,00 $
CONTROL (Rotation of the cube parallel to the X axis) KG
Seller:
kitcon
Rating:
0
Sales:
0
price:
10,00 $
Investments control MPEI
Seller:
alevtina_sar
Rating:
3,21
Sales:
7
price:
0,87 $
Control rhetoric
Seller:
alevtina_sar
Rating:
3,21
Sales:
3
price:
0,87 $
Control philosophy
Seller:
alevtina_sar
Rating:
3,21
Sales:
5
price:
0,87 $