If you want to generate 3D games, Java provides you an API, which best suits for creating 3D games. The Java 3D API is an interface to create application programs. They help you to create three dimensional graphics applications and applets. Developers can create and manipulate 3D geometry using high level constructs. They also assist in structuring the geometry as desired. The developers can render these words efficiently and describe very large virtual worlds using these constructs. Java 3D is platform independent. Just write the code once and it can run on any platform which helps in developing 3D graphics applications. Java Media provides Java 3D along with a suite of APIs. These APIs make it work in a wide range of platforms. It also works well with any Internet application. It includes 3D spatial sound also, which is not found in most of the graphics applications. It provides high performance, rich set of features for creating an interesting 3D world, support run time loaders and it enables to deploy sophisticated applications. There are plenty of graphical features supported by the JMonkeyEngine. Bezier curve models, music queuing, collision spots, efficient rendering and so on. The engine’s capability model can create animations on bones and skin and different graphic objects.
- Skill level:
Other People Are Reading
Things you need
- Java 3D API
- Non standard input devices for game playing
- JOGL (Java OpenGL) a wrapper library that allows open GL to be used in JAVA
- Jake 2 or JMonkeyEngine - Java 3D game engines
- Demos on how to use JOGL
- Thorough understanding of JAVA 3D API
- Supporting Operating Systems are LINUX, WINDOWS 2000/XP, MAC OS X
- Basic storyline of your game
Create a basic storyline for your game.
Decide on the number of levels in the game.
Devise a game strategy.
Decide on how the game should appear in the screen to the player.
Download the Java 3D API, JOGL and Jake 2 or JME.
To use the Jake 2 engine you need either the data files from the original game or from the demo version that is available.
Install the supporting OS in the system.
Check out if the Jake 2 provides full screen support and two different Open GL bindings (jogl and lwjgl).
Download other game related libraries such as JInput, JOAL, JMF and Ode Java.
The non standard input devices are mostly webcam, game pad and P5 data glove.
Mouse clicks in JMonkeyEngine are converted to regular Swing events.
Using the GUI available convert all the files to JME format, a scene and particle editor
Using the interactive icons design 3D objects that should appear in the game.
After developing run the game and check for bugs if any.
Correct the bugs.
Tips and warnings
- Using this software requires basic skill set on Java. They provide lots of books on how to use the software effectively. You can use JME in an AWT or Swing application. The quality of JME is extremely good and you can manage other projects with JME to create better games. You can also use java.net Games project (which is a nexus of gaming projects) or Java Games Middleware (which offers key gaming libraries) or Java Game Networking JGN2 ( to build server based MMO games) to develop 3D games based on Java. Many demos are present in the Internet indicating better usage of this software in the 3D gaming world.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for