Hi,
First up, my project is on Android (but that’s I think irrelevant to this question) . I have my blender-ogre output - .mesh.xml , .material, .scene. I put them in a directory “blenderfiles”, and compressed this directory using Winrar, to “blenderfiles.zip”.
Then I placed it at the root of my JME3 project - the same place as src/, assets/ etc. Inside this zip I have “GrassPlane.scene” that I need to load. The zip has all other files to - texture PNGs, materials, .mesh.xml
Then , I used following code:
[java]
assetManager.registerLocator(“blenderfiles.zip”,ZipLocator.class);
Spatial Ground = assetManager.loadModel(“GrassPlane.scene”);
[/java]
But I get the FileNotFound Exception, saying , /blenderfiles.zip : no such file or directory.
I tried adding this zip under mobile/ directory and also under nbproject/ but to no avail.
Is there something I’m missing here?
Thanks for the help,
Sanjeev Mk