【转自岩屋】Java 3D 已经开源了

本文提到Java 3D的开源,虽然可能为时已晚,但展示了SUN试图振兴该产品的决心。Java 3D API提供复杂的3D图形和声音渲染能力,包括j3d-core和vecmath等子项目。尽管面临如PV3D等开源竞争对手的挑战,Java 3D仍通过GPLv2 with the Classpath exception许可授权开源,提供了一系列示例程序以展示其实力。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

【写在前面】Java3D的开源似乎昭示了SUN希望其产品继续崛起的决心,但是似乎早已是大势已去,这一步来的已经太晚了,PV3D已经在开源的世界左右逢源了。
但是换一个角度讲:JAVA3D的开源对于PV3D的开发人员又是一大喜讯,我想技术是共通的,也许JAVA3D里做的好的技术会被大家借鉴到PV3D里面,使得这个小规模团体的开源软件做的更好,更大。
Java 3D 已经开源了

Javae 3D API是作为复杂三维图形和声音渲染系统的接口的一系列层次的JAVA类的统称。开发员可以用Java3D开发创建和操纵3D图形对象的高端应用。
Java3D 项目由多个子项目组成主要包括:j3d-core(Java3D API的核心), vecmath(3D矢量数学包)与j3d-core-utils(Java3D核心utilitie),Java3D VRML97 Loader等,现在j3d-core和vecmath已经开源了,将采用GPLv2 with the Classpath exception许可授权。

官方网址:https://java3d.dev.java.net/

FourByFour is a three dimensional game of tic-tac-toe on a 4x4x4 cube.
A simple rotating cube HelloUniverse a simple rotating cube.

A program to test off-screen rendering and printingPrintCanvas3D a program to test off-screen rendering and printing.
Displays a list of 3D properties in a text panelQueryProperties displays a list of 3D properties in a text panel.

A simple moving sphereSphereMotion a simple moving sphere.

Advanced Texture Mapping Examples

The following examples use advanced texture mapping features. They should run on most graphics cards, although they may not run on some older cards:

A bump mapping exampleDOT3Demo a bump mapping example.
A non-power-of-two texture exampleTextureImageNPOT a non-power-of-two texture example.

Sound Examples using JOALMixer

The following examples use JOALMixer to render Java 3D Sound nodes. You will need a sound card and speakers or headphones in order to hear the sound for these examples. JOALMixer is supported on Windows, Linux, and Mac OS X.

BackgroundSoundTestBackgroundSoundTest a simple background sound test.
PointSoundTestPointSoundTest a simple point sound test.

Programmable Shader Examples

Programmable shader examples using OpenGL's GLSL shading language. Note that the following examples require a shader-capable graphics card (for example, an NVidia 6600 or ATI X200).

An environment mapping exampleEnvironmentMappingGLSL an environment mapping example.
An example that loads in a .obj file and applies a shaderObjLoadGLSL an example that loads in a .obj file and applies a shader.

A per-pixel lighting (Phong shading) examplePhongShadingGLSL a per-pixel lighting (Phong shading) example.
A program illustrating multiple shaders with shader attributesShaderTestGLSL a program illustrating multiple shaders

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值