|
@@ -347,7 +347,7 @@ rootNode.attachChild(scene);
|
|
|
|
|
|
As an exercise, let's try different ways of loading a scene. You will learn how to load the scene directly, or from a zip file.
|
|
As an exercise, let's try different ways of loading a scene. You will learn how to load the scene directly, or from a zip file.
|
|
|
|
|
|
-. link:http://jmonkeyengine.googlecode.com/svn/trunk/engine/town.zip[Download the town.zip] sample scene.
|
|
|
|
|
|
+. link:http://jmonkeyengine.googlecode.com/files/town.zip[Download the town.zip] sample scene.
|
|
. (Optional:) Unzip the town.zip to see the structure of the contained Ogre dotScene: You'll get a directory named `town`. It contains XML and texture files, and file called main.scene. (This is just for your information, you do not need to do anything with it.)
|
|
. (Optional:) Unzip the town.zip to see the structure of the contained Ogre dotScene: You'll get a directory named `town`. It contains XML and texture files, and file called main.scene. (This is just for your information, you do not need to do anything with it.)
|
|
. Place the town.zip file in the top level directory of your JME3 project, like so:
|
|
. Place the town.zip file in the top level directory of your JME3 project, like so:
|
|
[source]
|
|
[source]
|