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

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


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.

Skills: OpenGL

See more: opengl import 3d model, opengl obj loader, load 3d model opengl c++, obj file reader c++, opengl load obj with texture, c++ obj loader tutorial, obj file loader c++ opengl, glut obj loader, 3d model obj file format, write java program read, wavefront obj file format specification, obj file format parser opengl java, read obj file java program, program java display single color picture ppm format, program read write file

About the Employer:
( 0 reviews ) United States

Project ID: #16259969

4 freelancers are bidding on average $53 for this job


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 in 4 days
(66 Reviews)

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

$45 USD in 3 days
(25 Reviews)

Hello, sir. THanks for your job posting. I am a 3D rendering programmer. I will send you in 1 hour for reading obj file. we can use assimp library for loading 3D mesh file. Please give me your detail. thanks.

$35 USD in 1 day
(0 Reviews)

could you please take a look at my profile

$20 USD in 5 days
(0 Reviews)