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: 3d model obj file format, write java program read, wavefront obj file format specification, 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, obj file format parser opengl java, read obj file java program, program java display single color picture ppm format, program read write file, read obj file opengl java, simple program read write file, write program read numbers find print, write calculator program will read integers operation, write program read filetxt

About the Employer:
( 0 reviews ) United States

Project ID: #16259969

3 freelancers are bidding on average $59 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
(76 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
(26 Reviews)

could you please take a look at my profile

$20 USD in 5 days
(0 Reviews)