50 likes | 202 Views
Intro to Java Monkey Engine. JME Web Site. http:// www.jmonkeyengine.com/ Access to wiki, docs, tutorials, forums, etc. The Tutorials: http://www.jmonkeyengine.com/wiki/doku.php?id=the_tutorials_-_ jme_2 Set-up Eclipse for JME2.0 (optional: NetBeans )
E N D
JME Web Site • http://www.jmonkeyengine.com/ • Access to wiki, docs, tutorials, forums, etc. • The Tutorials: http://www.jmonkeyengine.com/wiki/doku.php?id=the_tutorials_-_jme_2 • Set-up Eclipse for JME2.0 (optional: NetBeans) • Examine sample code: http://www.jmonkeyengine.com/wiki/doku.php?id=starter:jme_wiki
Game Types • BaseGame – Provides only main game loop (no DisplaySystem or Renderer or set-up) • SimpleGame – Most commonly used. Provides hooks for set-up, tear-down, initialization, updating, and rendering.
The Scene Graph • A grouping of Nodes in a tree hierarchy according (most of the time) to spatial location. • Spatially because … • Game objects are typically located by location • Allows for fast culling • Tree structure natural for many game objects • Easy to express, create tools for this data structure • Nodes are most commonly of two types • Node (internal): e.g., CameraNode, LightNode, Spatial • Geometry (leaf).