3 D Development In Java CCNY Capstone Project By: Peter Giang
Introduction ØJava APIs ØJava 3 D ØWhat is Java 3 D ? ØScene. Graph ØJOGL ØWrapper for Open. GL 2
Java 3 D Ø Java 3 D is a low level 3 D scenegraph based graphics programming API for the java language. Ø J 3 D provides a 3 D rendering API for the Java language, but at the same time it may use Open. GL to do the interface to the hardware 3
Java 3 D ØJava 3 D available for Direct 3 D and Open. GL ØHigh level language using Open. GL and Direct 3 D to render 3 D graphics 4
Java 3 D >Intro Into API Design Scene. Graphs 5
6
Java 3 D > Computation and Design using Scene. Graph concept > Use Hardware Accelerated libraries to render 7
JOGL Ø First There Was Open. GL Ø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 Open. GL ? JOGL 8
JOGL > provide full access to Open. GL through a friendly Java API > Sun and Silicon Graphics (SGI) supported > Support full access to Open. GL methods through JNI > Requires Java 2 Standard Edition 1. 4 and above 9
JOGL > Different API Structure > hardware-supported 3 D graphics to applications written in Java 10
Java 3 D and JOGL Ø Java 3 D natively supports import of VRML, 3 DS through Loaders Ø Use of Java Media Framework to allow streaming videos Ø Planar Texture Mapping 11
Resources > http: //www. cs. brown. edu/exploratorie s/free. Software/catalogs/repository. App lets. html (Texture Mappings for 2 D Maps) > https: //jogl-demos. dev. java. net/ 12