From 49d07cc2ff8d0cb077dc14f9d4893d42cd7626e7 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sat, 22 Oct 2011 16:28:19 +0000 Subject: [PATCH] - SDK: update some manual pages git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8506 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../gde/core/docs/jme3/advanced/animation.html | 2 +- .../core/docs/jme3/advanced/loading_screen.html | 2 +- .../core/docs/jme3/beginner/hello_terrain.html | 5 +++-- .../docs/jme3/intermediate/appsettings.html | 12 ++++++------ .../docs/jme3/intermediate/best_practices.html | 4 ++-- .../docs/jme3/intermediate/headlessserver.html | 9 ++++++--- .../jme3/intermediate/simpleapplication.html | 17 ++++++----------- 7 files changed, 25 insertions(+), 26 deletions(-) diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/animation.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/animation.html index eff30f883..9be022861 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/animation.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/animation.html @@ -321,7 +321,7 @@ This optional Listener enables you to respond to animation start and end events,

-The onAnimCycleDone() event is invoked when an animation cycle has ended. For non-looping animations, this event is invoked when the animation is finished playing. For looping animations, this even is invoked each time the animation loop is restarted. +The onAnimCycleDone() event is invoked when an animation cycle has ended. For non-looping animations, this event is invoked when the animation is finished playing. For looping animations, this event is invoked each time the animation loop is restarted.

diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/loading_screen.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/loading_screen.html index e4b3bf7e2..5136cfab2 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/loading_screen.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/loading_screen.html @@ -9,7 +9,7 @@ There is a good tutorial about creating a nifty progress bar here:

-This example will the existing hello terrain as an example. +This example will use the existing hello terrain as an example. It will require these 2 images inside Assets/Interface/ (save them as border.png and inner.png respectively)

diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/beginner/hello_terrain.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/beginner/hello_terrain.html index 23178932e..b55cea567 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/beginner/hello_terrain.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/beginner/hello_terrain.html @@ -102,8 +102,9 @@ public class HelloTerrain extends SimpleApplication { rootNode.attachChild(terrain);   /** 5. The LOD (level of detail) depends on were the camera is: */ - TerrainLodControl control = new TerrainLodControl(terrain, getCamera()); - control.setLodCalculator( new DistanceLodCalculator(patchSize, 2.7f) ); // patch size, and a multiplier + List<Camera> cameras = new ArrayList<Camera>(); + cameras.add(getCamera()); + TerrainLodControl control = new TerrainLodControl(terrain, cameras); terrain.addControl(control); } } diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/appsettings.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/appsettings.html index f27567989..71576195f 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/appsettings.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/appsettings.html @@ -26,7 +26,7 @@ Every class that extends jme3.app.SimpleApplication has properties that can be c }

-Set the boolean in the AppSettings contructor to true if you want to keep the default settings for everything that you do not specify. Set this parameter to false if you want to specify each property yourself (you'll get an exception if you missed one). +Set the boolean in the AppSettings contructor to true if you want to keep the default settings for everything that you do not specify. Set this parameter to false if you want to change some of the settings, but otherwise want the application to load user settings from previous launches.

@@ -75,7 +75,7 @@ Depending on your graphic card, you may be able to set multisampling to higher v Set to false to deactivate vertical syncing (faster, but possible page tearing artifacts); can be deactivated during development.false -

+
@@ -86,7 +86,7 @@ Set to false to deactivate vertical syncing (faster, but possible page tearing a
Settings Property (Input)DescriptionDefault
setUseJoysticks(true)Activate optional joystick supportfalse
-
+
@@ -95,10 +95,10 @@ Set to false to deactivate vertical syncing (faster, but possible page tearing a setAudioRenderer(AppSettings.LWJGL_JOAL) - +
Settings Property (Audio)DescriptionDefault
Switch Audio RendererOpenAL
setStereo3D(true)Enable 3D stereo. This feature requires hardware support from the GPU driver. See .falsesetStereo3D(true)Enable 3D stereo. This feature requires hardware support from the GPU driver. See .false
-
+
@@ -113,7 +113,7 @@ ImageIO.read(new File("")), …});
Settings Property (Branding)DescriptionDefault
This specifies the little a setSettingsDialogImage("/path/to/splash.png")A custom splashscreen image in the assets directory which is displayed when the settings dialog is shown."/com/jme3/app/Monkey.png"
- +

Saving and Loading Settings

diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/best_practices.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/best_practices.html index ff20eb5a6..764d14715 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/best_practices.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/best_practices.html @@ -406,7 +406,7 @@ Whether you work in a team or alone, keeping a version controlled repository of @@ -549,7 +549,7 @@ The jMonkeyPlatform SDK helps you (.APK)Game runs on Android devicesAndroid devices do not support post-procesor effects. - +

Which ever method you choose, a Java-Application works on the main operating systems: Windows, Mac OS, Linux, Android. diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html index ebe6ec753..ccefd3444 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html @@ -39,6 +39,7 @@ + @@ -53,6 +54,8 @@ + + - +

diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/simpleapplication.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/simpleapplication.html index 72a766ede..a02ffdd37 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/simpleapplication.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/simpleapplication.html @@ -147,11 +147,6 @@ getGuiViewPort()The view object for the orthogonal AppSettings -

-

SimpleApplication Class

@@ -192,7 +187,7 @@ getGuiNode()Attach flat GUIThe default first-person fly-by camera control. This default camera control lets you navigate the 3D scene using the preconfigured WASD and arrow keys and the mouse. -
+
@@ -209,7 +204,7 @@ getFlyByCamera()
SimpleApplication MethodPurpose
The default first-person fly-by camera control. This de setDisplayStatView(false);A default SimpleApplication displays mesh statistics on the screen using the com.jme3.app.StatsView class. The information is valuable during the development and debugging phase, but for the release, you should hide the statistics HUD.
-
+
@@ -223,10 +218,10 @@ getFlyByCamera()
SimpleApplication InterfacePurpose
The default first-person fly-by camera control. This de public void simpleRender(RenderManager rm)Optional: Override this method to implement advanced modifications of the frameBuffer and scene graph.
- +

-

Use app.setShowSettings(true); to present the user with a splashscreen and display settings dialog when starting the game, or app.setShowSettings(false); to hide the custom splashscreen. Set this boolean before calling app.start() on the SimpleApplication. +

Use app.setShowSettings(true); to present the user with a splashscreen and the built-in display settings dialog when starting the game; or use app.setShowSettings(false); to hide the buil-in screen (in this case, you may want to provide a custom splashscreen and settings panel). Set this boolean before calling app.start() in the main() method of the SimpleApplication. See also AppSettings.

@@ -254,7 +249,7 @@ The following default navigational input actions are mapped by the default KEY_MPrints memory usage stats the out stream.
- +

As long as useInput() is true, the default Flyby Cam is active. Then the following so-called "WASD" inputs are additionally available: @@ -304,7 +299,7 @@ As long as useInput() is true, the default Flyby Cam is active. Then the followi Rotate dragHold left mouse button and move -

+