Question: Using Microsoft Visual Studio and glut/freeglut in C++, Read a obj mesh file containing a geometric model represented as triangle meshes and display it centered

Using Microsoft Visual Studio and glut/freeglut in C++,

Read a obj mesh file containing a geometric model represented as triangle meshes and display it centered in the display window.

Download a cube.obj could be used for testing and debugging first. More obj mesh files may be found on the internet.

Define a virtual camera in a 3D virtual scene, specifying its position, orientation and field of view.

Render an object using points, wireframe and surface representations.

Using your user interface (Preferably GUI), together with the mouse and keyboard, interactively perform the following tasks:

1. Translate the model / camera in X, Y and Z directions.

2. Rotate the model / camera around X, Y, and Z axes.

3. Rotate the model /camera according to the moving direction and distance of the mouse. 4. Zoom in and zoom out view of the model. 5. Change the field of view of the camera both horizontal and vertical. 6. Change the values of the near and far clipping plane.

7. Rotate the model around non-major axes as intuitively as possible!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!