Hi,
Instead of loading a model from local asset folder, i want to load a model directly from database (ex. BLOB) and assign to any spatial node.
Any body can guide me ?
Thank you
Hi,
Instead of loading a model from local asset folder, i want to load a model directly from database (ex. BLOB) and assign to any spatial node.
Any body can guide me ?
Thank you
You can create and register your own AssetLocator. This asset locator of yours would then serialize the model from the database. Seamless jME integration. There are no ready solutions as far as I’m aware.
Is there any example available ?
I suggest using ZipLocator
as a starting point:
It’s typically registered in simpleInitApp()
like so:
assetManager.registerLocator("TerrainGridTestData.zip", ZipLocator.class);