Write an OpenGL program to read and display a 3D mesh .obj file

Stängt Publicerat 6 år sedan Betalades vid leverans
Stängt Betalades vid leverans

Write an OpenGL program to read and display a 3D mesh (in .obj format).

There is a skeleton code to be used, and these are the parameters.

1. Implement the “bool ReadOBJFile(const char filename[])”

function, to read in an obj file and store the elements.

2. Implement the “ComputeBoundingBox()” function, to compute the

bounding box, its diagonal axis length, and its center, then put the camera

at:

x_cam = x_BCenter;

y_cam = y_BCenter;

z_cam = z_BCenter + 1.5 *BoundingBoxDiagonalAxisLength;

and look towards the bounding box center.

3. Implement the “Render_Mesh()” function to finish the OpenGL rendering.

4. Finish the rotation (mouse left button), panning (mouse middle button),

and zooming (mouse right button) functions.

OpenGL

Projekt-id: #16259969

About the project

3 offerter Distansprojekt Aktivt 6 år sedan

3 frilansare har lagt bud på i genomsnitt $59 för det här jobbet

freelancerLatino

Hello, I know how to do it... please, let me know if it includes texture (for example, a texture for the diffuse component), and shaders.

$111 USD inom 4 dagar
(76 omdömen)
6.6
tuan10clc

Hello. I am expert in openGL with C++. I am also expert in .obj format. I can do your job well. Thank.

$45 USD inom 3 dagar
(26 omdömen)
5.3
nghinb

could you please take a look at my profile

$20 USD inom 5 dagar
(0 omdömen)
0.0