|
@@ -1,17 +1,12 @@
|
|
|
= jMonkeyEngine SDK: Importing and Viewing Models
|
|
|
-:author:
|
|
|
-:revnumber:
|
|
|
-:revdate: 2016/03/17 20:48
|
|
|
+:revnumber:2.0
|
|
|
+:revdate: 2020/07/09 20:48
|
|
|
:keywords: documentation, sdk, tool, asset, scene
|
|
|
-:relfileprefix: ../
|
|
|
-:imagesdir: ..
|
|
|
-:experimental:
|
|
|
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
|
|
|
The jMonkeyEngine SDK imports models from your project and stores them in the assets folder. The imported models are converted to a jME3 compatible binary format called .j3o. Double-click .j3o files in the jMonkeyEngine SDK to display them in the SceneViewer, or load them in-game using the AssetManager.
|
|
|
|
|
|
-Presently, link:http://www.blender.org/[Blender 3D] is the preferred modelling tool for jME3 as it is also Open-Source Software and an exporter for GLTF files exists. View the 3D model <<jme3/features#supported-external-file-types,Supported External File Types>> and their export/conversion options for more info.
|
|
|
+Presently, link:http://www.blender.org/[Blender 3D] is the preferred modelling tool for jME3 as it is also Open-Source Software and an exporter for GLTF files exists. View the 3D model xref:ROOT:jme3/features.adoc#supported-external-file-types[Supported External File Types] and their export/conversion options for more info.
|
|
|
|
|
|
[WARNING]
|
|
|
====
|
|
@@ -28,13 +23,13 @@ The jMonkeyEngine SDK includes a tool to install the correct exporter tools in B
|
|
|
. If you are presented a filechooser, select the folder where your blender scripts reside.
|
|
|
. Press "`Install`" in the window that opens.
|
|
|
|
|
|
-Also check out <<jme3/external/blender#,how to create compatible models in blender>> and <<jme3/intermediate/multi-media_asset_pipeline#,how to organize your assets>>.
|
|
|
+Also check out xref:ROOT:jme3/external/blender.adoc[how to create compatible models in blender] and xref:ROOT:jme3/intermediate/multi-media_asset_pipeline.adoc[how to organize your assets].
|
|
|
|
|
|
|
|
|
== Using the model files directly
|
|
|
|
|
|
[.right]
|
|
|
-image::sdk/jmonkeyplatform-docu-2.png[jmonkeyplatform-docu-2.png,width="421",height="298"]
|
|
|
+image::jmonkeyplatform-docu-2.png[jmonkeyplatform-docu-2.png,width="421",height="298"]
|
|
|
|
|
|
|
|
|
. Create a separate folder for each model in the `assets` folder of your project.
|
|
@@ -52,7 +47,7 @@ It is important that you export the model file and its textures to the correct a
|
|
|
|
|
|
[NOTE]
|
|
|
====
|
|
|
-If the SceneViewer doesn't work refer to <<sdk/troubleshooting#,Troubleshooting jMonkeyEngine3 SDK>>.
|
|
|
+If the SceneViewer doesn't work refer to xref:troubleshooting.adoc[Troubleshooting jMonkeyEngine3 SDK].
|
|
|
====
|
|
|
|
|
|
|