120 likes | 305 Views
3D Development In Java. CCNY Capstone Project By: Peter Giang. Introduction. Java APIs Java 3D What is Java3D ? SceneGraph JOGL Wrapper for OpenGL. Java 3D. Java3D is a low level 3D scene-graph based graphics programming API for the java language.
E N D
3D Development In Java CCNY Capstone Project By: Peter Giang
Introduction • Java APIs • Java 3D • What is Java3D ? • SceneGraph • JOGL • Wrapper for OpenGL
Java 3D • Java3D is a low level 3D scene-graph based graphics programming API for the java language. • J3D provides a 3D rendering API for the Java language, but at the same time it may use OpenGL to do the interface to the hardware
Java 3D • Java 3D available for Direct 3D and OpenGL • High level language using OpenGL and Direct 3D to render 3D graphics
Java 3D • Intro Into API Design • SceneGraphs
Java3D • Computation and Design using SceneGraph concept • Use Hardware Accelerated libraries to render
JOGL • First There Was OpenGL • Low Level API interface with Hardware Acceleration • Can’t do anything without a window to store your graphics • Introduction of GLUT to make window creation simpler • OOP with OpenGL ? JOGL
JOGL • provide full access to OpenGL through a friendly Java API • Sun and Silicon Graphics (SGI) supported • Support full access to OpenGL methods through JNI • Requires Java2 Standard Edition 1.4 and above
JOGL • Different API Structure • hardware-supported 3D graphics to applications written in Java
Java3D and JOGL • Java3D natively supports import of VRML, 3DS through Loaders • Use of Java Media Framework to allow streaming videos • Planar Texture Mapping
Resources • http://www.cs.brown.edu/exploratories/freeSoftware/catalogs/repositoryApplets.html (Texture Mappings for 2D Maps) • https://jogl-demos.dev.java.net/