Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 2.22 KB

README_ORIGINAL.md

File metadata and controls

76 lines (47 loc) · 2.22 KB
                  jGL 3D Graphics Library for Java 2.4

               Copyright (C) 1996-2002 Robin Bing-Yu Chen

                           Red Book Examples

INTRODUCTION

These examples are all in the OpenGL Programming Guide (the red book), published by the Addison-Wesley Professional; ISBN 0-201-60458-2.

HOW TO COMPILE THE EXAMPLE SOURCE CODES

Before compiling the source codes, please make sure that Sun Java2 SDK has been installed in the machine and acceptable. Since jGL has been developed on Java2 platform, Sun Java2 SDK, Standard Edition is recommended, and the official web site is:

http://java.sun.com/j2se/

Before making the example source codes, don't forget to download jgl.jar, the pre-compiled byte-code jar-ball. The newest version will be at

http://nis-lab.is.s.u-tokyo.ac.jp/~robin/jGL/pub/jgl.jar or http://www.cmlab.csie.ntu.edu.tw/~robin/jGL/pub/jgl.jar

To compile all the example source codes, please edit Make-config as necessary to make sure that the path of Java2 SDK in the local file system are set right. Then, just make the codes by

make.

It will make all the example source codes, and generate Java Plug-in HTML files.

HOW TO COMPILE THE SOURCE CODES ON MICROSOFT WINDOWS SYSTEM

Please edit make.bat to make sure that the path of Java2 SDK in the local file system are set right. Then, just make the codes by

make.

It will make all the example source codes, and generate Java Plug-in HTML files.

RUN THE EXAMPLES

To run the examples, please edit the booktest script (or booktest.bat) file to make sure that the path of Java is correct. Don't forget to put the jgl.jar in the same directory as these examples. Then, type

booktest hello (for example)

OTHER INFORMATIONS

If you have any problem, please mail to [email protected] or [email protected]

If you want to get the newest information, please refer to Http://nis-lab.is.s.u-tokyo.ac.jp/~robin/jGL or Http://www.cmlab.csie.ntu.edu.tw/~robin/jGL


Nov. 25, 2002 by Robin Bing-Yu Chen at NIS-Lab......