22467325Java_Tour3D

所属分类:Java编程
开发工具:Java
文件大小:557KB
下载次数:7
上传日期:2011-08-28 23:22:02
上 传 者ademaralves
说明:  Java Augmented Reality

文件列表:
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

近期下载者

相关文件


收藏者