|
@@ -1,16 +1,12 @@
|
|
|
= The Scene Graph and Other jME3 Terminology
|
|
|
-:author:
|
|
|
-:revnumber:
|
|
|
-:revdate: 2016/03/17 20:48
|
|
|
+:revnumber: 2.0
|
|
|
+:revdate: 2020/07/13
|
|
|
:keywords: spatial, node, mesh, geometry, scenegraph, rootnode
|
|
|
-:relfileprefix: ../
|
|
|
-:imagesdir: ..
|
|
|
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
|
|
|
-Before you start making games, make sure you understand general <<jme3/terminology#,3D Gaming terminology>>.
|
|
|
+Before you start making games, make sure you understand general xref:tutorials:terminology.adoc[3D Graphics terminology].
|
|
|
|
|
|
-Second, if you are a beginner, we recommend our <<jme3/scenegraph_for_dummies#,Scene Graph for Dummies>> presentation for a visual introduction to the concept of a scene graph.
|
|
|
+Second, if you are a beginner, we recommend our xref:tutorials:scenegraph_for_dummies.adoc[Scene Graph for Dummies] presentation for a visual introduction to the concept of a scene graph.
|
|
|
|
|
|
Then continue learning about jME3 concepts here.
|
|
|
|
|
@@ -86,15 +82,15 @@ a|you look at the sky or your feet
|
|
|
|
|
|
|===
|
|
|
|
|
|
-These default settings are called "`WASD`" keys and "`Mouse`" Look. You can customize <<jme3/advanced/input_handling#,input handling>> for your game. Sorry, but these settings work best on a QWERTY/QWERTZ keyboard.
|
|
|
+These default settings are called "`WASD`" keys and "`Mouse`" Look. You can customize xref:jme3/advanced/input_handling.adoc[input handling] for your game. Sorry, but these settings work best on a QWERTY/QWERTZ keyboard.
|
|
|
|
|
|
|
|
|
== Scene Graph and RootNode
|
|
|
|
|
|
-The _scene graph_ represents your 3D world. Objects in the jME3 scene graph are called <<jme3/advanced/spatial#,Spatial>>s. Everything attached to the parent _rootNode_ is part of your scene. Your game inherits the `rootNode` object from the `SimpleApplication` class.
|
|
|
+The _scene graph_ represents your 3D world. Objects in the jME3 scene graph are called xref:jme3/advanced/spatial.adoc[Spatial]s. Everything attached to the parent _rootNode_ is part of your scene. Your game inherits the `rootNode` object from the `SimpleApplication` class.
|
|
|
|
|
|
|
|
|
-image::jme3/intermediate/scene-graph.png[scene-graph.png,width="",height="",align="center"]
|
|
|
+image::tutorials:intermediate/scene-graph.png[scene-graph.png,width="",height="",align="center"]
|
|
|
|
|
|
|
|
|
* _Attaching_ a Spatial to the rootNode (or its child nodes) adds it to the scene;
|
|
@@ -149,11 +145,11 @@ a| The rootNode, the guiNode, an audioNode, a custom grouping node for a vehicle
|
|
|
|
|
|
Before you start creating your game, you should plan your scene graph: Which Nodes and Geometries will you need? Complete the xref:tutorials:beginner.adoc[Beginner tutorials] to learn how to load and create Spatials, how to lay out a scene by attaching, detaching, and transforming Spatials, and how to add interaction and effects to a game.
|
|
|
|
|
|
-The <<jme3#documentation-for-intermediate-users#,intermediate and advanced documentation>> gives you more details on how to put all the parts together to create an awesome 3D game in Java!
|
|
|
+//The <<jme3#documentation-for-intermediate-users#,intermediate and advanced documentation>> gives you more details on how to put all the parts together to create an awesome 3D game in Java!
|
|
|
|
|
|
|
|
|
== See also
|
|
|
|
|
|
-* <<jme3/advanced/spatial#,Spatial>> – More details about working with Nodes and Geometries
|
|
|
-* <<jme3/advanced/traverse_scenegraph#,Traverse SceneGraph>> – Find any Node or Geometry in the scenegraph.
|
|
|
-* <<jme3/advanced/camera#,Camera>> – Learn more about the Camera in the scene.
|
|
|
+* xref:jme3/advanced/spatial.adoc[Spatial] – More details about working with Nodes and Geometries
|
|
|
+* xref:jme3/advanced/traverse_scenegraph.adoc[Traverse SceneGraph] – Find any Node or Geometry in the scenegraph.
|
|
|
+* xref:jme3/advanced/camera.adoc[Camera] – Learn more about the Camera in the scene.
|