About Store Forum Documentation Contact



Post Reply 
load .obj file
Author Message
realbox1990 Offline
Member

Post: #1
load .obj file
Hello, I use recently Esenthel but i´m excited. grin
But now I have a problem. I want to load in the Tutorial 01-Character.cpp
instead that:
Game::ObjParams obj; // set object parameters
obj.mesh (true, Meshes .ptr("obj/chr/Skeleton/0.mesh"));
obj.matrix.setScalePos(1.8f,Vec(0,0,0));
player.create(obj); // create player from object parameters
return true;

a Wavefront File. I have triead a lot, but it doesn´t work.

Sorry for the bad English!
(This post was last modified: 02-13-2011 02:23 PM by realbox1990.)
02-13-2011 12:41 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #2
RE: load .obj file
Check ImportOBJ function which convert your obj file into mesh, but isn't a better solution to do it in Model Editor?
02-13-2011 03:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
realbox1990 Offline
Member

Post: #3
RE: load .obj file
thank you!
It works. wink

*Closed*
02-13-2011 04:52 PM
Find all posts by this user Quote this message in a reply
Post Reply