Failing that it might be easier to run the import / export operation from the command line using blender. I’m quite certain it can be done - and would probably be a lot easier than updating the fbx importer.
Oh, actually no. While doing the demo i’ve just showed in the monthly wip thread i tried the various format supported in jme.
To no one’s surprise the one that seems to work best is the gltf importer, but i couldn’t wrap my head around the new animation system…
For my personal project i use a fork of the engine and it has a different animation system and a model format that are both mapped 1:1 with blender, so i just decided to port them (minus some features that require changes in the core) into the current stable release of jmonkey (i will release them both soon). I call it f3b, maybe oxplay is confusing it with fbx.
Linked assets: in blender you can link nodes from an external blend file, f3b supports that but it needs a small change in the asset loader to add asset listing.
Mesh lods: you can use different meshes as lod levels, this requires a change to the renderer and mesh classes.
It is technically possible already. You can have a control that calls setMesh , keep the lod mesh references somewhere so that they don’t get GCed. When they all have been rendered once by the engine (or loaded with preload() ) they will stay in vram (until disposed by the gc), so switching between them will be very fast.
The only problem with this approach is that it is not fully transparent, since you are changing the main mesh. Also batching and instancing won’t work as expected. Depenting on your usecase those limitations might not matter at all.
There are also workarounds for the batching and instancing, you can for example divide your scene in batching-instancing groups, and switch the lod for the entire group (this method would be faster anyway, even with my code).
Porting my code would requires important changes to the renderer, indirect rendering, and occlusion queries. I can’t open a pr for it for now, since i am busy with other tasks. But maybe you can look into the alternative i proposed in this post.