Java实现的3D计算机图形类库与引擎.docx_第1页
Java实现的3D计算机图形类库与引擎.docx_第2页
Java实现的3D计算机图形类库与引擎.docx_第3页
Java实现的3D计算机图形类库与引擎.docx_第4页
Java实现的3D计算机图形类库与引擎.docx_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

跨平台三维图形开发工具包Java3D官方主页:/Java 3D严格遵循“建模绘制”泛型。场景图(scene graph)的 抽象模型被用来组织和维护虚拟场景中的可是对象及其行为。场景图包含了虚拟图形世界的全部信息,Java 3D绘 制引擎会对场景图进行自动绘制。Java 3D is a scene graph-based 3D application programming interface (API) for the Java platform. It runs on top of either OpenGL or Direct3D. Since version 1.2, Java 3D is developed under the Java Community Process. JSR 926 specifies Java 3D 1.4; as of 2007, the current version is 1.5.1 (released in June 2007).Compared to other solutions, Java 3D is not only a wrapper around these graphics APIs, but an interface that encapsulates the graphics programming using a real, object-oriented concept. Here a scene is constructed using a scene graph that is a representation of the objects that have to be shown. This scene graph is structured as a tree containing several elements that are necessary to display the objects. Additionally, Java 3D offers extensive spatialized sound support.Java 3D and its documentation are available for download separately. They are not part of the JDK 6. However,future versions of the JDK are expected to include an API package for Java 3D.Java 3D开源项目包含一组3D图形API, 它提供的一组面向对象接口支持简单、高级编程模型,你可以用于构建、展示和控制3D对象的行为与可 视化环境。Java3D项目包括j3d-core(Java3D API的核心)、vecmath(3D矢 量数学包)、j3d-core-utils(Java3D核 心utilitie)、Java3D VRML97 Loader等子项目。Java 3D是Sun公司开发的一种适用于Internet环 境的跨平台三维图形开发工具包,也是一个交互式三维图形应用编程接口(API),同时具有图像处 理、绘制2D图形、交互式用户界面设计等功能。Java 3D是对Java的一个用来显示三维图形的扩展,用Java 3D编写的程序可以运行在很多不同类型的计算机或互联网上。Java 3D类 库提供了比其它多数图形库更简单的接口,但仍有足够的能力制作不错的游戏和动画。Java 3D建 立在DirectX和OpenGL这些已有 的技术上,所以程序运行并不是你所想像的那样慢,并且Java 3D中也可以加入使用诸如TrueSpace和VRML这 些3D模型包创建的物件。Java 3D对底层的OpenGL和DirectX图 形库进行了封装。Java本身多具有的强大网络功能通过与OpenGL和DirectX强 大的图形、图像处理功能相结合,使得Java语言的三维图形可以通过浏览器在Internet上 显示。同时,Java 3D与Java一 样、一次编程便可跨平台运行。用Java 3D生成的代码具有可传输性,即从服务器端到客户端传输 的是生成三维图形的程序和数据(Applet),而不是图形本身。这样,就可以大大较少网络传输数 据量。客户端从服务器端下载相应的Applet,由Java 3D运 行环境解释执行,并在执行过程中不断从服务器端获取控制图形变换的数据,即可生成动态的三维图形。Java 3D能 够对场景的可视化进行并行计算与优化,能够自动应用计算机硬件的加速功能,并提高图形显示的效率,能够对场景进行预编译。在Eclipse 3.3.2中配置Java3D 1.5.2的基本方法:(1) 下载Java3D安装包dej3d-1_5_2-XXX.zipdede,并解压到当前目录,得到一个j3d-1_5_2-XXXde文 件夹,解压该文件夹下的j3d-jre.zip压缩包,得到两个bin和lib两 个子文件夹。(2)新建一 个Java3D的项目工程,然后将libext子目录下的j3dcore.jar、j3dutils.jar和vecmath.jar三个JAR包添加到当前项目的工作路径下。再将bin目录 下的四个DLL文件拷贝到当前项目文件夹下,即src文件夹所在的文件夹下。3.2开源JOGL官方主页:/The JOGL project hosts the development version of the Java? Binding for the OpenGL? API (JSR-231), and is designed to provide hardware-supported 3D graphics to applications written in Java. JOGL provides full access to the APIs in the OpenGL 2.0 specification as well as nearly all vendor extensions, and integrates with the AWT and Swing widget sets. It is part of a suite of open-source technologies initiated by the Game Technology Group at Sun Microsystems.3.3开源LWJGL官方主页:/LWJGL(Lightweight Java Game Library)是一套面向专业和业余程序员的具有商业级品质的Java程 序,为开发者提供简单易用的API来访问OpenGL和OpenAL(Open Audio Library),另外还支持游戏手柄(Gamepads, Steering wheel和操纵杆)的API。LWJGL并 不意味着编写游戏会更简单,LWJGL是想把一些游戏库整合到一起。3.4开源Java Monkey Engine(jME)及 其情景图编辑器Monkey World 3DjME官 方主页:/Monkey World 3D官方主页:/jME (jMonkey Engine) is a high performance scene graph based graphics API. Much of the inspiration for jME comes from David Eberlys book 3D Game Engine Design.jME was built to fulfill the lack of full featured graphics engines written in Java. Using a abstraction layer, it allows any rendering system to be plugged in. Currently, LWJGL is supported with plans for JOGL support in the near future.jME(jMonkey Engine)是一个基于场景图(scene graph)、高性能 的图形API。jME设计的思想主要来源于David Eberly所写的3D Game Engine Design 一书。jME是一个使用Java语言编写的 图形绘制引擎。通过使用一个抽象层,jME支持任意的绘制系统。jME当 前使用LWJGL作为底层绘制引擎,将来会增加对JOGL的 支持。MonkeyWorld3D是 一个用于Java 3D游戏引擎jMonkeyEngine(jME) 的情景图编辑器。可以利用MonkeyWorld3D编辑情景元素,地形,动画等。它的目标是成为 一个WYSIWYP(What you see is what you play)游戏编辑器。3.5开源Xith3D官方主页:/Xith3D是 一款基于JOGL (JSR-231)和LWJGL, 支持AWT、Swing、SWT和QT-Jambi, 其目的是提供一个创建三维交互环境的工具箱,可以用来进行游戏、数据可视化、三维环境原型开发。3.6开源Aviatrix3D Toolkit官方主页:/Aviatrix3D Toolkit.It is a pure retained-mode Java scene graph API over the top of Java OpenGL bindings (JSR 231) and OpenAL Java bindings (for spatialised audio support). It supports lightweight and heavyweight rendering in both AWT and SWT environments.3.7开源Java3d-eclipse插 件官方主页:/Java3d-eclipse project bundles java3d as a plugin for eclipse. The plugin can be used for developing other plugins and RCP applications. The idea is to have a convenient way of incorporating java3d into RCP application.Java3d-eclipse项 目将Java3D封装成一个Eclipse插 件,便于开发其它集成Java3D的插件和RCP应 用。3.8开源3D场 景编辑工具J3DWorkbench官方主页:/J3DWorkbench是 一个可扩展、实时、所见即所得3D可视化场景与游戏设计制作工具,集成了Java3D和Eclipse RCP框架,支持拖放编辑复杂Java3D场景图片,三维场景快速成 型。3.9免费非开源纹理贴图引擎jPCT(优 秀的贴图处理功能)官方主页:/index.phpjPCT is a texture mapping 3d engine/API for java featuring gouraud shading, filtering, environment mapping, bump mapping, support for openGL via LWJGL.支持3DS、OBJ、MD2、ASC and XML等格式文件的加载。3.10开源实时3D引 擎Espresso3D官方主页:/Espresso3D is a high performance real-time 3D engine for the Java programming language. E3D is not just a scene graph. It aims to be a complete solution for your application with OpenGL rendering, OpenAL audio, collision detection, input, and rendering support.3.11已不再更新的Java实 现的3DS文件加载类库(1)Java3D 3DS FileLoader网址:/projects/java3dsloaderJava3D 3DS FileLoader for platforms supporting JDK1.4 and Java 3D Highly functional, multiplatform 3DS File format loader Supports: Heirarchical animation Cameras Point Lights Directional Lights Textures Smooth Groups and other features.(2)Loader3DS扩 展类库XithLoader3DS网址:/download/inspector3ds.html下载主页:/java/3dsloader/Inspector3DS/Loader3DS is a port (with permission) of an excellent 3DS loader for Java3Dby Josh DeFord(Java3D 3DS FileLoader).利 用Loader3ds这个工具,可以把3DS里 面的模型导入到应用程序中。参考网址:/14734416/viewspace-446973(3)Hyperview3d网址:/projects/hyperview3d/Hyperview3d allows the visualization of hyperbolic geometry models. Specifical

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论