A simple program in opengl

Closed job
no avatar
KrzysztofPer
Employer
Job category:
Desktop/web applications
Expected budget:

Negotiable

Preferable skills:
Published:
Valid until:

Job description

Design in Open GL in one of the languages (Python, C++, C).

Implementation of a virtual camera in so called first person mode using perspective projection. The camera should be controlled simultaneously by keys and mouse. The camera/observer movement forward (in the direction of view), backward, left, right should be the responsibility of the keys: W, S, A, D, whereby pressing a key is to initiate a movement that continues until the key is released. Use the movement of the mouse cursor in OX, OY axes of the screen system, respectively to rotate the camera in the plane perpendicular to the vertical OY axis of the world system (looking around) and to rotate in the horizontal axis of the observer (tilting). Note when the mouse control is inverted Y axis. Additionally, implement a function that allows you to switch the field of view angle from 10* to 120* for the perspective projection matrix (e.g. PLUS, MINUS keys).

To complete the task use the application from the previous task which displays a colored cube (I'm sending you the program) and any mathematical functions contained in the linmath.h library except for the mat4x4_look_at function (here any lookAtw function in any language is rejected) . Calculate the view matrix according to the procedure given in the lecture (I am sending the lecture). You can calculate the world matrix of the virtual camera Wc based on elementary transformations.

Submitted offers 2

Add your offer or ask the client for more details