Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Loading Obj mesh with ofxassimpLoader failed

$
0
0

@sachaamm wrote:

Hi everybody !
I would like to load a minimalist .obj file with ofxassetimpModelloader built during my sketch process
My .obj File is like this

v 50 50 0
v 974 50 0
v 974 718 0
v 50 718 0
f 1 2 3 4

and when I try a basic

objModel.loadModel("myObjFile.obj",false);

I get "
error ofxassimpmodelloader loadModel() validation failed aiScene::mNumMeshes is 0.At least one mesh must be there.
"

Any ideas ? Am i supposed to write vertex normals on my .obj file ?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles