[SOLVED] Computer-Graphics - Assignment 1 – Transformation  Detail Instruction

30.00 $

Category:

Description

5/5 - (2 votes)

Goal

Interact with five model(independently)

Control the camera

Implement transformation, viewing, and  projection matrices (MVP)

Switch between 5 models

Switch between solid and wireframemode

Finish all the TODO in main.cpp and vertex  shader

Keep scene ratio when window reshaped Add floor plane in world scene

Depend on your device

For Windows                              For Mac

 

Please follow the spec bellow, or you would not get  the score of item.

You must make sure your key mapping is exactly  same to ours.

W: switch between solid and wireframe mode

Z/X: switch the model

O: switch to Orthogonal projection

P: switch to NDC Perspective projection

T: switch to translation mode

S: switch to scale mode

R: switch to rotation mode

E: switch to translate eye positionmode

C: switch to translate viewing centerposition  mode

U: switch to translate camera up vector  position mode

I: print information

Translation Matrix, Rotation Matrix,  Scaling Matrix, Viewing Matrix, Projection  Matrix

If you switch mode by T, S, R, E, C, andU

Apply change on Z axis when scrollthe  wheel

Apply change on X axis when mouse drag horizontally

Apply change on Y axis when mouse drag vertically

Only rotation should apply X axis when mouse drag vertically, and Y axis when mouse drag horizontall