Jump to content


Load .obj model without using GLM


3 replies to this topic

#1 lovecikz

    New Member

  • Members
  • Pip
  • 4 posts

Posted 21 March 2010 - 05:11 PM

Hi,

How to load .obj model in opengl without using GLM library. When i searching in the internet, a lot of example used GLM library. It's we can load .obj model without used GLM. If yes, how to load it?

I'm very appreciate if u can help me..

TQ.

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 5311 posts
  • LocationSanta Clara, CA

Posted 21 March 2010 - 06:09 PM

The OBJ file format is text-based and quite simple to parse. Google for a reference on the file format (there's plenty of them out there) and you'll see.
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 fireside

    Senior Member

  • Members
  • PipPipPipPip
  • 1590 posts

Posted 21 March 2010 - 06:46 PM

This just came up a while ago. I think this site has a good explanation.
http://www.cokeandcode.com/node/324

It's written in java but the explanation is good and there's pseudocode which should be all that's necessary if you've been assigned a task such as this. I think GLM is open source so you should be able to inspect it also. Why can't you use it? Is it a requirement that you write your own library? I'm just curious. I assume this is some kind of class work.
Currently using Blender and Unity.

#4 lovecikz

    New Member

  • Members
  • Pip
  • 4 posts

Posted 23 March 2010 - 03:16 PM

thanks for ur reply..
i'm just learning how to load .obj object without depend on the GLM library..
i'm sure using GLM library is better...
but i want to learn load it wihout GLM library..

thanks a lot..





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users