Write an OpenGL program to read and display a 3D mesh .obj file
$10-30 USD
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.
Projekt-id: #16259969
About the project
3 frilansare har lagt bud på i genomsnitt $59 för det här jobbet
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.
Hello. I am expert in openGL with C++. I am also expert in .obj format. I can do your job well. Thank.