jMonkeyEngine SDK: Creating a model importer
You can create custom model importers for the jMonkeyEngine SDK. The SDK supports NBM plugins.
-
Add importer jar file (wrap jar file)
-
Add filetype (Template)
-
Change DataObject to extend SpatialAssetDataObject
-
Implement getAssetKey(): if(!assetKey instanceof MyKeyType){assetKey = new MyKeyType(oldKey);} return key;
-
Maybe implement loadAsset method in DataObject (if necessary, most model formats should load normally via the loader)
-
Create AssetManagerConfigurator
See also: