SFML community forums
Help => Graphics => Topic started by: Asteroid on August 08, 2012, 06:57:59 am
-
I have been searching a lot for a Tutorial or at least an Example to Load .obj model. Haven't found any. ._.
Is there any one who can give me a link to a good Tutorial for Loading .obj in SFML or just an example?
or someone who can Explain it to me a bit. >.<
-
What is ".obj"? If it's a 3D format, what's the relation with SFML?
-
.obj is a 3d format. I'm looking for a tutorial which explains how to Load the .obj model and Render it into the SFML Window or any example.
-
SFML is not a 3D library. What you need is a .obj loader, and an OpenGL tutorial. Which you won't find here ;)
-
So where can i find that .obj loader?
I have to make it myself?
And in the Tutorials there is no such thing which explains how to load a .obj model.
-
So where can i find that .obj loader?
I have to make it myself?
And in the Tutorials there is no such thing which explains how to load a .obj model.
You know Google, right? :P
http://lmgtfy.com/?q=obj+model+loader
http://lmgtfy.com/?q=obj+model+tutorial
-
As laurent said, this isn't really related to SFML. You will in fact have to write the loader yourself, but luckily .obj is one of the easiest formats to load. Just look at the file specification. A fully-features format to use is .fbx. There is an FBX loading API supplied for free from Autodesk. OBJs don't support skeletal animation, fbx does. Just a few pointers there ;)