I am trying to load a 3d object from an obj file. I use tiny obj (https://github.com/syoyo/tinyobjloader) for obj file parsing, I only added the c++ header and call its methods. The data seems to be fine, but for some reason I don't get anything loaded inside opengl. I was able to load the cube that I have inside the source file but no success with a parsed obj file. I atached a link to the project. https://www.dropbox.com/s/5iu7p7isrkx16s5/vr.zip?dl=0
Any help would be apreciated.
almost 4 years ago
Having a quick look at your renderer I found some flaws regarding the data types and the buffers you pass to OpenGL: