java3dexampleAndcode
所属分类:3D图形编程
开发工具:Java
文件大小:11166KB
下载次数:87
上传日期:2006-03-15 22:44:22
上 传 者:
baiheqiang
说明: 一个完整的讲授java3d的网站,里面有很多源码,实例。
(a complete teaching java3d website, which contains many source code examples.)
文件列表:
java3d\examples\A3DApplet.java (6192, 1998-11-16)
java3d\examples\AnnotationArrow.java (6410, 1998-11-16)
java3d\examples\AnnotationArrowFan.java (1531, 1998-11-16)
java3d\examples\AnnotationArrowGroup.java (1352, 1998-11-16)
java3d\examples\AnnotationAxes.java (3612, 1998-11-16)
java3d\examples\AnnotationLine.java (4529, 1998-11-16)
java3d\examples\apimage.jpg (55346, 1998-11-16)
java3d\examples\Arch.java (6306, 1998-11-16)
java3d\examples\blueprint.jpg (36656, 1998-11-16)
java3d\examples\brick.jpg (4407, 1998-11-16)
java3d\examples\brtsky.jpg (11164, 1998-11-16)
java3d\examples\canon.wav (824698, 1998-11-16)
java3d\examples\CheckboxMenu.java (2494, 1998-11-16)
java3d\examples\CheckboxMenuListener.java (441, 1998-11-16)
java3d\examples\clouds.jpg (26052, 1998-11-16)
java3d\examples\ColumnScene.java (9127, 1998-11-16)
java3d\examples\Corners.java (9471, 1998-11-16)
java3d\examples\CraterGrid.java (3277, 1998-11-16)
java3d\examples\Cube.java (4572, 1998-11-16)
java3d\examples\Drag.java (7356, 1998-11-16)
java3d\examples\earth.jpg (13411, 1998-11-16)
java3d\examples\earthmap.jpg (62755, 1998-11-16)
java3d\examples\ElevationGrid.java (8219, 1998-11-16)
java3d\examples\ExAmbientLight.java (3979, 1998-11-16)
java3d\examples\ExamineViewerBehavior.java (11270, 1998-11-16)
java3d\examples\Example.java (22543, 1998-11-16)
java3d\examples\ExAppearance.java (9460, 1998-11-16)
java3d\examples\ExBackgroundColor.java (3336, 1998-11-16)
java3d\examples\ExBackgroundImage.java (4109, 1998-11-16)
java3d\examples\ExBluePrint.java (11225, 1998-11-16)
java3d\examples\exclamation.obj (14066, 1998-11-16)
java3d\examples\ExClip.java (9949, 1998-11-16)
java3d\examples\ExDepthCue.java (10202, 1998-11-16)
java3d\examples\ExDirectionalLight.java (8525, 1998-11-16)
java3d\examples\ExExponentialFog.java (6624, 1998-11-16)
java3d\examples\ExHenge.java (18082, 1998-11-16)
java3d\examples\ExLightBounds.java (8033, 1998-11-16)
java3d\examples\ExLightScope.java (6086, 1998-11-16)
java3d\examples\ExLinearFog.java (7434, 1998-11-16)
java3d\examples\ExPointLight.java (8117, 1998-11-16)
... ...
Introduction to Programming with Java 3D
Application Examples
--------------------------------------------------------
Applications
The following .java files are each applications and applets that,
when executed, bring up a window into which they render 3D shapes
using Java 3D.
A3DApplet.java
Drag.java
ExAmbientLight.java
ExAppearance.java
ExBackgroundColor.java
ExBackgroundImage.java
ExBluePrint.java
ExClip.java
ExDepthCue.java
ExDirectionalLight.java
ExExponentialFog.java
ExHenge.java
ExLightBounds.java
ExLightScope.java
ExLinearFog.java
ExPointLight.java
ExRaster.java
ExSound.java
ExSpotLight.java
ExSwitch.java
ExText.java
ExTexture.java
ExTransform.java
GearBox.java
HelloWorld.java
PickWorld.java
SphereMotion.java
Most applications provide a menu bar with a options with which
to enable or disable example features.
Most applications respond to mouse drags within the window, which
rotate, translate, or scale the 3D content. From the "View" menu,
select "Examine" to manipulate the content as if it is a shape held
at arm's length. Select "Walk" to manipulate the content as if you
are walking through a scene.
All source code is commented to highlight features of interest and
explain tricks and techniques.
Execution
To execute a Java application from the command-line (DOS or UNIX),
use the Sun JDK execution tool "java". Type "java", followed by
the Java application class name (without the ".java"). For example:
java ExHenge
runs the "ExHenge.java" application using the JDK "java" tool.
The application brings up a window with a menubar and Java 3D canvas.
Most applications accept a "-d" command-line option to print status
messages as the application starts up. For example:
java ExHenge -d
Caveats
For notes on Java 3D support issues with this release of the
tutorial examples, please see the file "caveat.htm" in the
"notes" folder, up one folder from this one.
近期下载者:
相关文件:
收藏者: