Jump to content

  • Log In with Google      Sign In   
  • Create Account


AK2012

Member Since 18 Jun 2012
Offline Last Active Jun 19 2012 12:10 AM

Topics I've Started

Simple .obj loader (C++)

18 June 2012 - 09:10 PM

Hi everyone!

I've been searching on the web and forums for the last few days for a SIMPLE .obj loader for OpenGL in C++, and though there are several available out there (and even here), I'm not being lucky when it comes to finding a simple one (that allows textures as well).

As you can tell, I'm away from being an experienced programmer, and most of the codes I've found so far seem to have problems I am not being able to solve. I did got in touch with great examples (e.g. Assimp), but they are way too over the top for the simple solution I need (loading at least 3 .objs together) and got me lost.

This one, for example, (https://code.google.com/p/obj-mesh-libs/source/search?q=trunk&origq=trunk&btnG=Search+Trunk), compiled correctly to me, but I didn't find the right place to call for the Mesh * m = new WavefrontObject("MyObj.obj");, and therefore I couldn't get it to work too.

Do any of you know where I can find a suitable code for my case?

Appreciate any help,
AK

PARTNERS