
M3G Chapter 2. An Animated Model

From:
  Java Programming Techniques for 2D, 2.5D, 3D, and Network Games

  Dr. Andrew Davison
  Dept. of Computer Engineering
  Prince of Songkla University
  Hat yai, Songkhla 90112, Thailand
  E-mail: dandrew@ratree.psu.ac.th

  Web Site for the book: http://fivedots.coe.psu.ac.th/~ad/jg


If you use this code, please mention my name, and include a link
to the book's Web site.

Thanks,
  Andrew


============================
AnimM3G

AnimM3G requires the Mobile 3D Graphics API which
is available in version 2.2. of the J2ME Wirelss Toolkit (WTK22).
It can be downloaded from 
http://java.sun.com/products/j2mewtoolkit/

AnimM3G consists of 4 Java files:
   AnimM3G.java, AnimCanvas.java, AnimModel.java, Floor.java
and 5 image files:
   model.gif, floor.png, clouds.gif, bigGrid.gif, grass.gif


------
Compilation and Execution (using WTK22's KToolbar)

Create a new project called AnimM3G, with the MIDlet
class name AnimM3G.

Make sure to use the CLDC 1.1 configuration (so floats can be 
manipulated) and the Mobile 3D Graphics for J2ME (JSR 184) API.

Copy the 4 Java files to WTK22\apps\AnimM3G\src\ 

Copy the 5 image files to WTK22\apps\AnimM3G\res\

Build and run.

---------
Last updated: 26th October 2004
