cannot locate resource cube.m1.mesh

webmasterzero

18-10-2009 08:54:03

Hi, I'm very new to ogre. I've done most of the basic tutorials, I thought I might play with nxOgre.

I'm up to BloodyMess Tutorial 3, I've got the start code working, but it comes up with an error a file not found exception 6 cannot locate resource cube.m1.mesh.

I tried using another mesh file but it was way too big, what I really want to know is how to add extra mesh files. For now I've just changed the file name to cube.mesh

I've searched for a page in the wiki to tell me but can't find it I just need someone to point me in the right direction.


thanks

Nick

waffleShirt

18-10-2009 13:26:06

What do you mean add more mesh files?

cube.1m.mesh is not a file supplied with the Ogre samples. I completed the tutorials recently and had to make the cube myself and export it with blender. You should look into doing something similar, its a great way to learn the Ogre exporter and will also help in later tutorials when you are exporting physics models.

In case you do need it the attachment provided is the cube I made and exported for the tutorial. If I remember correctly it uses materials in the Ogre samples directory, so just drop the cube in with the sample models provided with Ogre (assuming you are using postbuild copy and launching your application from within the Ogre samples directory it should work fine).

webmasterzero

20-10-2009 10:11:18

I managed to fix it it turns out it didn't like the first full stop in the name. Because I was doing everything right the only thing different was the full stop. So I changed it to cubem1.mesh now it works fine.

Thanks anyway