文档介绍:Learning jME
This will provide all you need to get started with jME. It assumes you have jME installed. If not, you
can look to this installation guide. As a supplement to this guide, you can read the documentation at
jME's documentation link, paying special attention to jME’s wiki. Finally, never be afraid to ask
questions (no matter how simple) at jME’s forum. All of the code you see here is done using jME’s
latest CVS version. Also, all the source code here is in the CVS under package
Please post any corrections on the jME forums, or email them to me directly.
Updated:
December 5, 2004
By
Jack Lindamood AKA Cep21
Email:
cep221@
1
Contents
1) Hello World
Here we’ll learn the basics of creating a jME program by exploring SimpleGame, Box, and
rootNode.
2) Hello Node
This program introduces Nodes, Bounding Volumes, Sphere, Colors, Translation, and Scaling.
You will learn basic scene graph manipulation.
3) Hello TriMesh
This program introduces the TriMesh class. You will learn how to make your own objects from
scratch.
4) Hello States
This program introduces MaterialState, TextureState, LightState, and PointLight. You will learn
how to assign states such as materials and textures to your scene.
5) Hello KeyInput
This program introduces KeyBindingManager, texture wrapping, and how to change TriMesh
data after it is assigned. You will learn how to bind keys to actions.
6) Hello Animation
This program introduces LightNode and using Controllers. The controller we will use is called
SpatialTransformer. You will learn how to do animation and lighting
7) Hello ModelLoading
This program introduces JmeBinaryReader, FileConverter, BinaryToXML, and LoggingSystem.
You will learn how to convert formats to a jME scene graph.
8) Hello MousePick
This program introduces AbsoluteMouse, AlphaState, InputSystem, Ra