|
@@ -153,7 +153,7 @@ Note that you should not register every single folder containing a texture as th
|
|
|
|
|
|
=== How do I Create 3-D models, textures, sounds?
|
|
|
|
|
|
-Follow our best practices for the xref:intermediate/multi-media_asset_pipeline.adoc[multi-media asset pipeline]. +
|
|
|
+Follow our best practices for the xref:concepts/multi-media_asset_pipeline.adoc[multi-media asset pipeline]. +
|
|
|
You create 3-D models in a 3-D mesh editor, for example Blender, and export it in one of the 3D model xref:ROOT:jme3/features.adoc#supported-external-file-types[Supported External File Types] such as GLTF (animated objects, scenes) or Wavefront OBJ format (static objects, scenes).
|
|
|
You create textures in a graphic editor, for example Gimp, and export them as PNG or JPG.
|
|
|
You create sounds in an audio editor, for example, Audacity, and export them as WAVE or OGG.
|
|
@@ -161,7 +161,7 @@ You create sounds in an audio editor, for example, Audacity, and export them as
|
|
|
*Learn more:*
|
|
|
|
|
|
* xref:ROOT:jme3/advanced/3d_models.adoc[3D Models]
|
|
|
-* xref:intermediate/multi-media_asset_pipeline.adoc[multi-media asset pipeline]
|
|
|
+* xref:concepts/multi-media_asset_pipeline.adoc[multi-media asset pipeline]
|
|
|
* xref:ROOT:jme3/external/blender.adoc[Creating assets in Blender3D]
|
|
|
* link:https://www.blender.org[Download Blender]
|
|
|
* link:http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro[Blender intro tutorial]
|
|
@@ -208,7 +208,7 @@ Use the simpleInitApp() method in SimpleApplication (or initApp() in Application
|
|
|
|
|
|
=== How do I move or turn or resize a spatial?
|
|
|
|
|
|
-To move or turn or resize a spatial you use transformations. You can concatenate transformations (e.g. perform rotations around several axes in one step using a xref:intermediate/rotate.adoc[Quaternion] with `slerp()` or a com.jme3.math.Transform with interpolateTransforms().
|
|
|
+To move or turn or resize a spatial you use transformations. You can concatenate transformations (e.g. perform rotations around several axes in one step using a xref:concepts/rotate.adoc[Quaternion] with `slerp()` or a com.jme3.math.Transform with interpolateTransforms().
|
|
|
|
|
|
[source,java]
|
|
|
----
|
|
@@ -219,7 +219,7 @@ spatial.setLocalTranslation(1,-3,2.5f); spatial.rotate(0,3.14f,0); spatial.scale
|
|
|
|
|
|
* xref:beginner/hello_node.adoc[Hello Node]
|
|
|
* xref:ROOT:jme3/advanced/spatial.adoc[Spatial]
|
|
|
-* xref:intermediate/math_for_dummies.adoc[Math For Dummies]
|
|
|
+* xref:concepts/math_for_dummies.adoc[Math For Dummies]
|
|
|
|
|
|
|
|
|
=== How do I make a spatial move by itself?
|
|
@@ -304,7 +304,7 @@ Use the AssetManager to load Materials, and change material settings.
|
|
|
*Learn more:*
|
|
|
|
|
|
* xref:beginner/hello_material.adoc[Hello Material]
|
|
|
-* xref:intermediate/how_to_use_materials.adoc[How To Use Materials]
|
|
|
+* xref:concepts/how_to_use_materials.adoc[How To Use Materials]
|
|
|
* xref:ROOT:jme3/advanced/materials_overview.adoc[Materials Overview], xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager]
|
|
|
|
|
|
*Code sample:*
|
|
@@ -320,7 +320,7 @@ Create Textures as image files. Use the AssetManager to load a Material and use
|
|
|
*Learn more:*
|
|
|
|
|
|
* xref:beginner/hello_material.adoc[Hello Material]
|
|
|
-* xref:intermediate/how_to_use_materials.adoc[How To Use Materials]
|
|
|
+* xref:concepts/how_to_use_materials.adoc[How To Use Materials]
|
|
|
* xref:ROOT:jme3/advanced/materials_overview.adoc[Materials Overview]
|
|
|
* xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager]
|
|
|
* link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/asset/AssetManager.java[com.jme3.assets.AssetManager]
|
|
@@ -362,7 +362,7 @@ material.getAdditionalRenderState().setBlendMode(BlendMode.Alpha);
|
|
|
*Learn more:*
|
|
|
|
|
|
* xref:beginner/hello_material.adoc[Hello Material]
|
|
|
-* xref:intermediate/how_to_use_materials.adoc[How To Use Materials]
|
|
|
+* xref:concepts/how_to_use_materials.adoc[How To Use Materials]
|
|
|
|
|
|
|
|
|
=== How do I force or disable culling?
|
|
@@ -828,7 +828,7 @@ Many maths functions (mult(), add(), subtract(), etc) come as local and a non-lo
|
|
|
|
|
|
. Non-local means a new independent object is created (similar to clone()) as a return value. Use non-local methods if you want to keep using the old value of the object calling the method.
|
|
|
** Example 1: `Quaternion q1 = q2.mult(q3);`
|
|
|
-*** Returns the result as a new xref:intermediate/rotate.adoc[Quaternion] q1.
|
|
|
+*** Returns the result as a new xref:concepts/rotate.adoc[Quaternion] q1.
|
|
|
*** The involved objects q2 and q3 stay as they are and can be reused.
|
|
|
|
|
|
** Example 2: `v.mult(b).add(b);`
|