PDA

View Full Version : .obj example



TRspawn
12-09-2017, 08:38 AM
Hi, brand new to the forums and needing a bit of help with loading in an obj for an assignment.
my obj : https://files.fm/u/42885yy5#_

I need to view this object with objloader. I have no idea. please do it ..

Dark Photon
12-09-2017, 07:20 PM
Just like the last time you posted (https://www.opengl.org/discussion_boards/showthread.php/200116-opengl-windows-form?p=1289066), you didn't actually ask a question.

What have you tried? What specifically is the problem? Are you talking about three.js objloader?

didydriver
12-13-2017, 05:53 PM
For an .obj you will either have to dynamically link it to the project or add the .obj to the linker. Either way you must include the header file, create a pointer to the object , and define the storage inside the object constructor or at the creation of the object.