Jump to content

[SOLVED] Load mesh from fbx file


photo

Recommended Posts

Hello guys, I'm trying to load a mesh from a FBX file which is located at data/vehicles/rx7.fbx

I tried various ways with:

mesh->load("/data/vehicles/rx7.fbx/rx7.mesh");
mesh->load("/data/vehicles/rx7.mesh");
mesh->load("rx7.mesh");

But all of them don't work, how can I actually load a mesh from a fbx file?

Edited by TheLorizz
Link to comment

 

12 hours ago, javier.serrano said:

Hi, try removing 'data/' part of your path. Filesystem will already search inside datapath (by default is %project_path%/data/)

That did the trick thanks

Link to comment
×
×
  • Create New...