|
|
@@ -94,7 +94,7 @@ These default settings are called “WASD keys and “Mouse Look. You can custom
|
|
|
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.
|
|
|
|
|
|
|
|
|
-image::jme3/intermediate/scene-graph.png[scene-graph.png,with="",height="",align="center"]
|
|
|
+image::jme3/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;
|
|
|
@@ -113,7 +113,7 @@ The scene graph only manages the parent-child relationship of spatials. The actu
|
|
|
== Spatials: Node vs Geometry
|
|
|
|
|
|
A Spatial can be transformed (in other words, it has a location, a rotation, and a scale). A Spatial can be loaded and saved as a .3jo file. There are two types of Spatials, _Nodes_ and _Geometries_:
|
|
|
-[cols="3", options="header"]
|
|
|
+[cols="10,45,45", options="header"]
|
|
|
|===
|
|
|
|
|
|
<a|
|
|
|
@@ -149,7 +149,7 @@ 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 <<jme3/beginner#,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#,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
|