Home / Expert Answers / Computer Science / need-help-with-this-using-glut-project-and-c-read-obj-files-and-store-the-following-pa648

(Solved): Need help with this using GLUT Project and C++. Read .obj files and store the following ...



Need help with this using GLUT Project and C++.

\( * \) Read \( { }^{*} \).obj files and store the following data in appropriate structures
* Load three *obj Models
Get vert

Read .obj files and store the following data in appropriate structures * Load three *obj Models Get vertices (v lines) Get normal (in lines) If no normal given calculate and apply Get texture cords either or (vt lines) Get indices list that include vertex index, texture index, normal index (flines) * Indices format is as follows index index index if no vt handle the error checking accordingly Must handle better memory management to avoid program crashes Notice the vertices coordinate size. You may have to scale the model size to fit to the viewport ex: factor, factor, factor where factor ; * Draw the scene \& follow the given key setup Generate separate VBOs to load each model Generate EBO to load indices Have different keys to display each Ex: Press 1 for the bunny display Press 2 for Venus display - Apply random Texture of your choice o Generate shader to display 3D models with appropriate Normals and texture Use Quaternion Rotation (Note: using glRotate -- will cost you points)


We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe