View Full Version : Import a .obj file using opengl
12-27-2011, 02:32 AM
I'm new to opengl...i have tried many tutorials but still couldnt find a way to load an .obj file using opengl...please help me with this.
12-27-2011, 10:44 AM
You are not really saying what your specific problem is, so I'm not sure what to do other than point out that there are tutorials that explain how to get started with OpenGL programming (see e.g. OpenGL wiki (http://www.opengl.org/wiki/Getting_started) near the bottom of the page) and there is also info on the net how to read .OBJ.
If you are very new to OpenGL (and/or programming in general) I would suggest you don't start with loading models from files (in whatever format), but work through some tutorials to get an idea how OpenGL works first.
Suggestions how to make a post that can be answered more easily can be found in the Forum Posting Guidelines (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=305969&an=2#Pos t305969).
12-27-2011, 11:50 AM
Well if you want something straight forward to load an .obj file you could use Nate Robin's GLM. It's an object file loader, been around for years, as stable as it gets.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.