I’ve been creating 3d models using osm2world, to get me a large .obj file of a geographic area. I then run it through openscenegraph to check it looks right, and convert another .obj but simplified down slightly.
I seem to remember the ‘convert to j3o’ option taking a little while, but it usually got the result done, going from a 90mb obj to 30mb j3o.
For some reason, this isn’t working anymore. I get a few errors, and then it just halts. CPU is hit hard for about 5 mins or so, but then nothing. And jmonkey is locked up.
But, if I just load the .obj via assetManager, it loads fine, lots of these errors:
Feb 09, 2014 2:35:34 PM com.jme3.scene.plugins.OBJLoader readLine
WARNING: Unknown statement in OBJ! o
but it survives.
Any suggestions what might be up? I’ve increase java memory incase it was that. Alternatively, with the .obj loaded, is there a way to save it out as a j3o at that point?
Happy to upload the model if it helps, if I can find somewhere that’ll take 90mb…