Java_Tour3D

所属分类:Java编程
开发工具:Java
文件大小:556KB
下载次数:292
上传日期:2007-01-05 11:30:21
上 传 者stlees
说明:  Reilly Killer Game Programming in Java书的源代码,键盘控制的java三维机器战士,对学习Java 3D开发很有帮助。运行需java media api支持。
(Reilly Killer Game Programming in Java book source code, keyboard control of the machine java 3D fighters, to learn Java 3D development helpful. Operation for java media api support.)

文件列表:
Tour3D (0, 2007-01-05)
Tour3D\AlienSprite.class (1927, 2005-10-04)
Tour3D\AlienSprite.java (4325, 2005-04-16)
Tour3D\CheckerFloor.class (2692, 2005-10-04)
Tour3D\CheckerFloor.java (3767, 2005-04-16)
Tour3D\ColouredTiles.class (1280, 2005-10-04)
Tour3D\ColouredTiles.java (1397, 2005-04-16)
Tour3D\compileTour.bat (103, 2005-10-04)
Tour3D\models (0, 2005-10-04)
Tour3D\models\bigSky.jpg (6751, 2003-02-10)
Tour3D\models\CASTLE.COB (74934, 1997-04-19)
Tour3D\models\CastleCoords.txt (67, 2003-02-09)
Tour3D\models\COOLROBO.3DS (134343, 1996-07-23)
Tour3D\models\CoolroboCoords.txt (38, 2003-02-09)
Tour3D\models\ctour.txt (47, 2003-02-10)
Tour3D\models\hand1.obj (15789, 1999-03-03)
Tour3D\models\hand1Coords.txt (44, 2003-02-09)
Tour3D\models\otour.txt (48, 2002-11-09)
Tour3D\models\Palm.dxf (342815, 2001-02-03)
Tour3D\models\PalmCoords.txt (45, 2003-02-10)
Tour3D\ncsa (0, 2005-10-04)
Tour3D\ncsa\portfolio.jar (469236, 2005-10-04)
Tour3D\Obstacles.class (3954, 2005-10-04)
Tour3D\Obstacles.java (5540, 2005-04-16)
Tour3D\PropManager.class (9072, 2005-10-04)
Tour3D\PropManager.java (18086, 2005-04-16)
Tour3D\Sprite3D.class (3375, 2005-10-04)
Tour3D\Sprite3D.java (5059, 2005-04-16)
Tour3D\TimeBehavior.class (690, 2005-10-04)
Tour3D\TimeBehavior.java (786, 2005-04-16)
Tour3D\Tour3D.bat (191, 2007-01-05)
Tour3D\Tour3D.class (1107, 2005-10-04)
Tour3D\Tour3D.java (1655, 2005-04-16)
Tour3D\TouristControls.class (4072, 2005-10-04)
Tour3D\TouristControls.java (5457, 2005-04-16)
Tour3D\TourSprite.class (778, 2005-10-04)
Tour3D\TourSprite.java (928, 2005-04-16)
Tour3D\WrapTour3D$1.class (727, 2005-10-04)
Tour3D\WrapTour3D.class (5480, 2005-10-04)
... ...

Chapter 18. 3D Sprites From: Killer Game Programming in Java Andrew Davison O'Reilly, May 2005 ISBN: 0-596-00730-2 http://www.oreilly.com/catalog/killergame/ Web Site for the book: http://fivedots.coe.psu.ac.th/~ad/jg Contact Address: Dr. Andrew Davison Dept. of Computer Engineering Prince of Songkla University Hat Yai, Songkhla 90112, Thailand E-mail: ad@fivedots.coe.psu.ac.th If you use this code, please mention my name, and include a link to the book's Web site. Thanks, Andrew ============================ Tour3D.java This application requires the NCSA Portfolio JAR file (portfolio.jar), which can be downloaded from http://fivedots.coe.psu.ac.th/~ad/jg/portfolio.jar ----- Compilation: Use the compileTour.bat batch file. It assumes that the NCSA Portfolio JAR is in the subdirectory ncsa/ $ compileTour // you must have Java 3D installed for the compilation to succeed; // if you get "Warning" messages, please see the note below Java 3D is available from http://java.sun.com/products/java-media/3D/ ----- Execution: Use the Tour3D.bat batch file. It assumes that the NCSA Portfolio JAR is in the subdirectory ncsa/ It is called with a tour filename argument e.g. $ Tour3D ctour The ctour filename should be in the subdirectory /models as the text file ctour.txt ----------- Note on "unchecked or unsafe operation" Warnings As explained in chapter 3, I have not used J2SE 5.0's type-safe collections, so that this code will compile in early versions of J2SE (e.g. version 1.4). The warning messages are always related to my use of collections (e.g. ArrayList) without specifying a type for the objects they will contain at run time. No. of Warnings generated in J2SE 5.0 for the examples: /Tour3D: 15 warnings --------- Last updated: 16th April 2005

近期下载者

相关文件


收藏者