nehegl_jogl
所属分类:OpenGL
开发工具:Java
文件大小:53KB
下载次数:19
上传日期:2008-12-05 11:27:36
上 传 者:
llxllx
说明: 使用 JAVA 编写 OpenGL 程序
(OpenGL procedures for the preparation of the use of JAVA)
文件列表:
nehe\jogl\COPYING.txt (18321, 2004-06-18)
nehe\jogl\data\Font.bmp (196662, 2004-06-18)
nehe\jogl\lib\GLPrinter.class (3078, 2004-06-18)
nehe\jogl\lib\GLPrinter.java (4881, 2004-06-18)
nehe\jogl\lib\LoadBMPImages.class (6593, 2004-06-18)
nehe\jogl\lib\LoadBMPImages.java (12373, 2004-06-18)
nehe\jogl\lib\LoadPNGImages.class (2998, 2004-06-18)
nehe\jogl\lib\LoadPNGImages.java (2290, 2004-06-18)
nehe\jogl\lib\Options$1.class (2514, 2004-06-18)
nehe\jogl\lib\Options.class (4272, 2004-06-18)
nehe\jogl\lib\Options.java (10162, 2004-06-18)
nehe\jogl\lib\Renderer$1.class (641, 2004-06-18)
nehe\jogl\lib\Renderer.class (6297, 2004-06-18)
nehe\jogl\lib\Renderer.java (9437, 2004-06-18)
nehe\jogl\lib\TextureLoader.class (4017, 2004-06-18)
nehe\jogl\lib\TextureLoader.java (7845, 2004-06-18)
nehe\jogl\sample\SampleJOGL.class (1194, 2004-06-18)
nehe\jogl\sample\SampleJOGL.java (2262, 2004-06-18)
LICENSE:
--------
As said on top of each files this code is provided in GPL (Look in COPYING.txt for more informations).
DISCLAIMER:
-----------
This code is provided as is.
I cannot be considered responsible for anything happening when using this code.
I does not guaranteed that this code is bug free or tested in all sorts of environment.
GENERALS:
---------
To create this OpenGL framework for JOGL, i gathered what can be found on different lesson ports on nehe.gamedev.net.
So i thanks all the people spending time to port those lessons to JOGL.
I develloped this code with :
- Eclipse 3.0M8 (A really nice free Java IDE)
- Java SDK 1.4.2_04
- JOGL 1.1b03
USAGE:
------
To use this you must first install JOGL. For that go to JOGL site (https://jogl.dev.java.net/) and download :
- jogl.jar (the base JOGL framework) (1)
- jogl-natives-[your architecture].jar (2)
Copy (1) to $JAVA_HOME$/jre/lib/ext
Extract (2) to $JAVA_HOME$/jre/lib/i386/
please look in nehe.jogl.sample.SampleJOGL.java to see how to use my framework
USEFULL CLASSES:
---------------
nehe.jogl.lib.Renderer --> This class must only be extended to create a new OpenGL enabled frame
See SampleJOGL
nehe.jogl.lib.TextureLoader --> This class is usefull to load textures from .bmp or .png files
sample from GLPrinter.java:
TextureLoader myText = new TextureLoader(gLDrawable,fileName);
int texture = myText.getTexture();
nehe.jogl.lib.GLPrinter --> This class is usefull to print text on screen use it as : myRenderer.getPrinter().glPrint(...)
FINAL NOTE:
-----------
As i am french speaker i really apologize for my spelling i try to do my best ;)
@author konik (konik0001@msn.com)
近期下载者:
相关文件:
收藏者: