mitm001 %!s(int64=5) %!d(string=hai) anos
pai
achega
d53624ebd0

+ 1 - 1
docs/modules/ROOT/pages/jme3/features.adoc

@@ -11,7 +11,7 @@ See also: xref:jme3/requirements.adoc[requirements].
 *  xref:sdk:project_creation.adoc[Creates jME3-ready Java projects]
 **  Preconfigured classpath
 **  Bundled with compatible JDK
-**  xref:jme3/advanced/asset_manager.adoc[Asset Manager] for loading multi-media files and 3D models including asset name code completion
+**  xref:core:asset/asset_manager.adoc[Asset Manager] for loading multi-media files and 3D models including asset name code completion
 **  xref:sdk:default_build_script.adoc[Non-proprietary Ant build scripts]
 **  jME3-ready Javadoc popups, xref:sdk:sample_code.adoc[sample code projects], and code snippet palette
 *  xref:sdk:code_editor.adoc[Full-featured Java and XML code editor]

+ 1 - 1
docs/modules/core/pages/app/simpleapplication.adoc

@@ -75,7 +75,7 @@ a|The default xref:jme3/advanced/camera.adoc[camera] provides perspective projec
 a|assetManager +
 getAssetManager()
 a|An object that manages paths for loading models, textures, materials, sounds, etc. +
-By default the xref:jme3/advanced/asset_manager.adoc[Asset Manager] paths are relative to your project's root directory.
+By default the xref:asset/asset_manager.adoc[Asset Manager] paths are relative to your project's root directory.
 
 a|audioRenderer +
 getAudioRenderer()

+ 1 - 1
docs/modules/core/pages/scene/3d_models.adoc

@@ -13,7 +13,7 @@ To use 3D models in a jME3 application:
 
 .  Export the 3D model using a xref:jme3/features.adoc#supported-external-file-types.adoc[Supported External File Type].
 .  Save the files into a sub-directory of your jME3 `Assets` directory.
-.  In your code, you use the xref:jme3/advanced/asset_manager.adoc[Asset Manager] to load models as xref:scene/spatial.adoc[Spatial]s into a jME application.
+.  In your code, you use the xref:asset/asset_manager.adoc[Asset Manager] to load models as xref:scene/spatial.adoc[Spatial]s into a jME application.
 +
 [source,java]
 ----

+ 9 - 9
docs/modules/core/pages/scene/spatial.adoc

@@ -25,7 +25,7 @@ a|
 2+a|com.jme3.scene.Spatial
 
 a| Purpose:
-2+a| A Spatial is an abstract data structure that stores user data and transformations (= translation, rotation, scale) of elements of the 3D scene graph. Spatials can be saved and loaded using the xref:jme3/advanced/asset_manager.adoc[Asset Manager].
+2+a| A Spatial is an abstract data structure that stores user data and transformations (= translation, rotation, scale) of elements of the 3D scene graph. Spatials can be saved and loaded using the xref:asset/asset_manager.adoc[Asset Manager].
 
 <a|
 a| com.jme3.scene.Geometry
@@ -33,7 +33,7 @@ a| com.jme3.scene.Node
 
 a| Visibility:
 a| A Geometry represents a *visible* 3D object in the scene graph.
-a| A Node is an *invisible “handle* for a group of Spatials in the scene graph.
+a| A Node is an *invisible "`handle`"* for a group of Spatials in the scene graph.
 
 <a| Purpose:
 a| Use Geometries to represent an object's *look*: Every Geometry contains a polygon mesh and a material, specifying its shape, color, texture, and opacity/transparency. +
@@ -56,7 +56,7 @@ a| rootNode, guiNode, audioNode, a custom grouping node such as vehicleNode or s
 
 [IMPORTANT]
 ====
-You never create a Spatial with `+++<strike>Spatial s = new Spatial();</strike>+++`! A Spatial is an abstract concept, like a mammal (there is no actual creature called “mammal walking around here). You create either a com.jme3.scene.Node or com.jme3.scene.Geometry instance. Some methods, however, require a `Spatial` type as argument: This is because they are able to accept both Nodes and Geometries as arguments. In this case, you simply _cast_ a Node or Geometry to Spatial.
+You never create a Spatial with `+++<strike>Spatial s = new Spatial();</strike>+++`! A Spatial is an abstract concept, like a mammal (there is no actual creature called "`mammal`" walking around here). You create either a com.jme3.scene.Node or com.jme3.scene.Geometry instance. Some methods, however, require a `Spatial` type as argument: This is because they are able to accept both Nodes and Geometries as arguments. In this case, you simply _cast_ a Node or Geometry to Spatial.
 ====
 
 
@@ -66,7 +66,7 @@ You never create a Spatial with `+++<strike>Spatial s = new Spatial();</strike>+
 The polygon xref:jme3/advanced/mesh.adoc[Mesh] inside a Geometry can be one of three things:
 
 *  *Shapes:* The simplest type of Meshes are jME's default xref:jme3/advanced/shape.adoc[Shape]s such as cubes and spheres. You can use several Shapes to build complex Geometries. Shapes are built-in and can be created without using the AssetManager.
-*  *3D Models:* xref:jme3/advanced/3d_models.adoc[3D models and scenes] are also made up of meshes, but are more complex than Shapes. You create Models and Scenes in external 3D Mesh Editors and export them as Ogre XML or Wavefront OBJ. Use the xref:jme3/advanced/asset_manager.adoc[Asset Manager] to load models into a your jME3 game.
+*  *3D Models:* xref:jme3/advanced/3d_models.adoc[3D models and scenes] are also made up of meshes, but are more complex than Shapes. You create Models and Scenes in external 3D Mesh Editors and export them as Ogre XML or Wavefront OBJ. Use the xref:asset/asset_manager.adoc[Asset Manager] to load models into a your jME3 game.
 *  *Custom Meshes:* Advanced users can create xref:jme3/advanced/custom_meshes.adoc[Custom Meshes] programmatically.
 
 
@@ -79,12 +79,12 @@ The second use case is: When you load a model using `loadModel()` from the Asset
 *  If the model is not animated (it has no `xref:jme3/advanced/animation.adoc[AnimControl]`), jME loads a clone. All clones share one mesh object in order to use less memory.
 *  If the model is animated (it has a `xref:jme3/advanced/animation.adoc[AnimControl]`), then `loadModel()` duplicates the mesh for each loaded instance. (Uses more memory, but can animate.)
 
-Usually there is no need to manually use any of the `clone()` methods on models. Using the xref:jme3/advanced/asset_manager.adoc[Asset Manager]'s `loadModel()` method will automatically do the right thing for your models.
+Usually there is no need to manually use any of the `clone()` methods on models. Using the xref:asset/asset_manager.adoc[Asset Manager]'s `loadModel()` method will automatically do the right thing for your models.
 
 
 [NOTE]
 ====
-“Box worlds are not made up of statically cloned `Box()` shapes, this would still be too slow for large worlds. To learn how to make real fast box worlds, search the web for _voxelization_ techniques.
+"`Box`" worlds are not made up of statically cloned `Box()` shapes, this would still be too slow for large worlds. To learn how to make real fast box worlds, search the web for _voxelization_ techniques.
 ====
 
 
@@ -177,12 +177,12 @@ There are two types of culling: Face culling, and view frustrum culling.
 
 *Face culling* means not drawing certain polygons of a mesh. Face culling behaviour is a property of the material.
 
-Usage: The “inside of a mesh (the so called backface) is typically never visible to the player, and as an optimization, the `Back` mode skips calculating all backfaces by default. Activating the `Off` or `Front` modes can be useful when you are debugging xref:jme3/advanced/custom_meshes.adoc[custom meshes] and try to identify accidental inside-out faces.
+Usage: The "`inside`" of a mesh (the so called backface) is typically never visible to the player, and as an optimization, the `Back` mode skips calculating all backfaces by default. Activating the `Off` or `Front` modes can be useful when you are debugging xref:jme3/advanced/custom_meshes.adoc[custom meshes] and try to identify accidental inside-out faces.
 
 You can switch the com.jme3.material.RenderState.FaceCullMode to either:
 
 *  `FaceCullMode.Back` (default) – Only the frontsides of a mesh are drawn. Backface culling is the default behaviour.
-*  `FaceCullMode.Front` – Only the backsides of a mesh are drawn. A mesh with frontface culling will most likely be invisible. Used for debugging “inside-out custom meshes.
+*  `FaceCullMode.Front` – Only the backsides of a mesh are drawn. A mesh with frontface culling will most likely be invisible. Used for debugging "`inside-out`" custom meshes.
 *  `FaceCullMode.FrontAndBack` – Use this to make a mesh temporarily invisible.
 *  `FaceCullMode.Off` – Every side of the mesh is drawn. Looks normal, but slows down large scenes.
 
@@ -193,7 +193,7 @@ Example:
 material.getAdditionalRenderState().setFaceCullMode(FaceCullMode.FrontAndBack);
 ----
 
-*View frustum culling* refers to not drawing (and not even calculating) certain whole models in the scene. At any given moment, half of the scene is behind the player and out of sight anyway. View frustum culling is an optimization to not calculate scene elements that are not visible – elements that are “outside the view frustrum.
+*View frustum culling* refers to not drawing (and not even calculating) certain whole models in the scene. At any given moment, half of the scene is behind the player and out of sight anyway. View frustum culling is an optimization to not calculate scene elements that are not visible – elements that are "`outside`" the view frustrum.
 
 The decision what is visible and what not, is done automatically by the engine (`CullHint.Dynamic`). Optionally, you can manually control whether the engine culls individual spatials (and children) from the scene graph:
 

+ 1 - 1
docs/modules/tutorials/pages/beginner/hello_asset.adoc

@@ -5,7 +5,7 @@
 :keywords: beginner, intro, documentation, lightnode, material, model, node, gui, hud, texture
 
 
-In this tutorial we will learn to load 3D models and text into the scene graph, using the jME xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager]. You will also learn how to determine the correct paths, and which file formats to use.
+In this tutorial we will learn to load 3D models and text into the scene graph, using the jME xref:core:asset/asset_manager.adoc[Asset Manager]. You will also learn how to determine the correct paths, and which file formats to use.
 
 
 image::beginner/beginner-assets-models.png[beginner-assets-models.png,320,250,align="center"]

+ 5 - 5
docs/modules/tutorials/pages/concepts/faq.adoc

@@ -81,7 +81,7 @@ Make sure to only load() models converted to .j3o binary format, not the origina
 
 *Learn more:*
 
-* xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager]
+* xref:core:asset/asset_manager.adoc[Asset Manager]
 
 
 === What is java.lang.LinkageError: Version mismatch?
@@ -148,7 +148,7 @@ this.assetManager.registerLocator("town.zip", ZipLocator.class);
 
 Note that you should not register every single folder containing a texture as the assetmanager will not be able to discern between images with the same name anymore.
 
-*Learn more:* xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager]
+*Learn more:* xref:core:asset/asset_manager.adoc[Asset Manager]
 
 
 === How do I Create 3-D models, textures, sounds?
@@ -181,7 +181,7 @@ Spatial ninja = assetManager.loadModel("Models/Ninja/Ninja.j3o");
 *Learn more:*
 
 * xref:beginner/hello_asset.adoc[Hello Asset]
-* xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager]
+* xref:core:asset/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]
 * link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/scene/Geometry.java[com.jme3.scene.Geometry]
 * xref:sdk:model_loader_and_viewer.adoc[jMonkeyEngine SDK j3o converter]
@@ -305,7 +305,7 @@ Use the AssetManager to load Materials, and change material settings.
 
 * xref:beginner/hello_material.adoc[Hello Material]
 * 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]
+* xref:ROOT:jme3/advanced/materials_overview.adoc[Materials Overview], xref:core:asset/asset_manager.adoc[Asset Manager]
 
 *Code sample:*
 
@@ -322,7 +322,7 @@ Create Textures as image files. Use the AssetManager to load a Material and use
 * xref:beginner/hello_material.adoc[Hello Material]
 * 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]
+* xref:core:asset/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]
 * link:https://archive.blender.org/wiki/index.php/Doc:Manual/Textures/Maps/Bump_and_Normal_Maps/[Blender: Creating Bump Maps and Normal Maps]
 

+ 2 - 2
docs/modules/tutorials/pages/concepts/multi-media_asset_pipeline.adoc

@@ -45,7 +45,7 @@ Read on for details.
 
 == Use The Assets Folder
 
-Store your assets in subfolders of your project's `assets` directory. The `assets` directory is the default path where a JME game's xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager] looks for files to load.
+Store your assets in subfolders of your project's `assets` directory. The `assets` directory is the default path where a JME game's xref:core:asset/asset_manager.adoc[Asset Manager] looks for files to load.
 
 [source]
 ----
@@ -77,7 +77,7 @@ link:http://www.youtube.com/watch?v=HFR4socSv_E[Video: Horrible things happen if
 
 See also:
 
-*  More details on xref:ROOT:jme3/advanced/asset_manager.adoc[Asset Manager], including tips how to work with assets when using other IDEs.
+*  More details on xref:core:asset/asset_manager.adoc[Asset Manager], including tips how to work with assets when using other IDEs.
 *  Use xref:sdk:asset_packs.adoc[Asset Packs] to bundle, share, and manage assets!