Skip to content
 

jMonkeyEngine SDK: Creating a model importer

You can create custom model importers for the jMonkeyEngine SDK. The SDK supports NBM plugins.

  1. Add importer jar file (wrap jar file)
  2. Add filetype (Template)
  3. Change DataObject to extend SpatialAssetDataObject
  4. Implement getAssetKey(): if(!assetKey instanceof MyKeyType){assetKey = new MyKeyType(oldKey);} return key;
  5. Maybe implement loadAsset method in DataObject (if necessary, most model formats should load normally via the loader)
  6. Create AssetManagerConfigurator

See also:

 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution 3.0 Unported