|
@@ -1,15 +1,12 @@
|
|
|
= Exporting Models as Ogre XML meshes from Blender
|
|
|
:author: mitm
|
|
|
-:revnumber: 1.0
|
|
|
-:relfileprefix: ../../../
|
|
|
-:imagesdir: ../../..
|
|
|
-:experimental:
|
|
|
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
+:revnumber: 2.0
|
|
|
+:revdate: 2020/07/13
|
|
|
|
|
|
|
|
|
[TIP]
|
|
|
====
|
|
|
-<<jme3/external/blender/blender_buffer_clearing#,Blender Buffer Clearing>> should be performed prior to exporting any model from Blender.
|
|
|
+xref:jme3/external/blender/blender_buffer_clearing.adoc[Blender Buffer Clearing] should be performed prior to exporting any model from Blender.
|
|
|
====
|
|
|
|
|
|
|
|
@@ -17,7 +14,7 @@ To export your models as Ogre XML meshes with materials:
|
|
|
|
|
|
. jMonkeyEngine requires a material file to be named the same name as the model so prior to opening the export dialog make it so. The model will export files named `ModelName.mesh.xml` with a `ModelName.material`, plus (optionally) `ModelName.skeleton.xml`, and some JPG files.
|
|
|
. Open the menu `menu:File[Export > Ogre3D]` to open the exporter dialog.
|
|
|
-. In the `File Path` field: Select a target sub-directory of your `Project Assets/Textures/` directory. E.g. `Project Assets/Textures/ModelName/`. See <<jme3/intermediate/best_practices#,Best Practices>>.
|
|
|
+. In the `File Path` field: Select a target sub-directory of your `Project Assets/Textures/` directory. E.g. `Project Assets/Textures/ModelName/`. See xref:tutorials:intermediate/best_practices.adoc[Best Practices].
|
|
|
. In the panel at the bottom left of the export window toggle the following export settings:
|
|
|
- Swap Axis: xz-y
|
|
|
- [*] Separate materials
|
|
@@ -31,4 +28,4 @@ To export your models as Ogre XML meshes with materials:
|
|
|
- [*] Export Materials
|
|
|
. Click Export Ogre.
|
|
|
|
|
|
-You can now use the <<sdk#,jMonkeyEngine SDK>> to <<sdk/model_loader_and_viewer#,load and view models>>. You can <<sdk/scene_composer#,create scenes>> from them and write code that loads them into your application.
|
|
|
+You can now use the xref:sdk:sdk.adoc[jMonkeyEngine SDK] to xref:sdk:model_loader_and_viewer.adoc[load and view models]. You can xref:sdk:scene_composer.adoc[create scenes] from them and write code that loads them into your application.
|