• Content count

  • Joined

  • Last visited

Community Reputation

101 Neutral

About AK2012

  • Rank
  1. Simple .obj loader (C++)

    Hi, I do understand the file format of OBJ files, and understand a little of how the parsing/storing/rendering works too. What I'm getting confused, actually, is in which part of a given code I should call my .obj models for them to appear on the screen. This, obviously, changes in each code, and that's where I'm getting stuck. None of the codes I've found have a documentation that I could understand. Sorry if I'm confusing more the situation... Just to clarify, this obviously is a college task, but my task is not to write my own obj loader. The task is to load several .objs from an existing loader, and then set camera views and mouse + keyboard interactions to each one of them. But since I'm stuck in the first part... =( Btw, thank you for your answer!
  2. Simple .obj loader (C++)

    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 [i](loading at least 3 .objs together)[/i] and got me lost. This one, for example, ([url="https://code.google.com/p/obj-mesh-libs/source/search?q=trunk&origq=trunk&btnG=Search+Trunk"]https://code.google.com/p/obj-mesh-libs/source/search?q=trunk&origq=trunk&btnG=Search+Trunk[/url]), compiled correctly to me, but I didn't find the right place to call for the [i]Mesh * m = new WavefrontObject("MyObj.obj");[/i], 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