Revision 4.0, Apr 1999
Operating System(s): IRIX 6.5
Release Status: MR
Contents
Release/System |
Indy |
Indigo2 |
O2 |
Octane |
ONYX2 |
Origin200 |
Origin2000 |
CHALLENGE |
IRIX 5.3 |
|
|
|
|
|
|
|
|
IRIX 6.2 |
|
X |
|
|
|
|
|
|
IRIX 6.3 |
|
|
|
|
|
|
|
|
IRIX 6.4 |
|
|
|
|
|
|
|
|
IRIX 6.5 |
X |
|
X |
X |
X |
|
|
|
IRIX 7.0 |
|
|
|
|
|
|
|
|
- NT Workstation
- Other Requirements
- IRIX
-
Should run on all platforms that support OpenGL and run IRIX 6.5. All
programs have been tested under IRIX 6.5 on Onyx2, Octane, O2, and
Indy.
-
Windows NT
-
Should run on all PCs with Windows NT 4.0 and OpenGL hardware support.
-
Silicon Graphics 320 or 540 workstations are suggested. The course can
be taught on other PCs with similar configurations, but they require
graphics cards with hardware support for OpenGL, or several of the
programs will run very slowly.
Return to top
- Graphics Genre
- Other Requirements
-
Note: This class may be taught on all IRIX, all NT, or mixed
IRIX-NT. If you're only using one operating system, skip the part of
the instructions that doesn't apply.
-
Software setup requirements are listed below separately for IRIX and NT.
IRIX
All machines (student and instructor, except where noted) require the
following software:
-
IRIX 6.5 or later.
-
6.5 base software
plus the Graphics
Genre software (Josh Paley created this list).
-
glut_dev package (version 3.6 or later). The installable
images can be found at dist.engr:/sgi/hacks/glut_dev.
-
Netscape version 4.0.6 or later.
-
If the course is being taught in a mixed NT/IRIX environment, all IRIX
systems will need Samba (version 1.9 or later).
-
opengl_student, the student package, should be installed on
both instructor and student machines.
-
The class software is installed in /usr/people/opengl.
If an account name 'opengl' does not already exist, an account is set
up in /etc/passwd with /usr/people/opengl as its home.
-
opengl_instructor, the instructor package, should be
installed only on the instructor machine.
-
It contains the HTML the instructor notes, datasheet, and a
presentation for the course. The files will be put in /usr/people/opengl/{instructor_notes,public_html/presentation}.
-
It also contains release notes and README files, which will be put in /usr/people/opengl.
-
Note: The opengl_student and opengl_instructor idbs were created using
version 1.3 of inst_dev from IRIX 6.2.
Initially, everything needs to be compiled. To build everything, go to
the top level and make everything by typing
% cd ~opengl
% make
Windows NT
All machines (student and instructor, except where noted) require the
following software:
-
Windows NT 4.0 (Typical installation)
-
Netscape Communicator version 4.04 or later, or Internet
Explorer 4.0
-
Visual C++ version 6.0 (Typical installation). Use
the Professional Edition, which comes with multiple
licenses.
-
GLUT for Windows (version 3.6 or later) is needed in order
to run and compile the examples and demos. GLUT for Windows can be
installed from the OpenGL Developer Tools CD (April 1998 or later,
available from SGI Advanced Graphics marketing) or downloaded from http://reality.sgi.com/opengl/glut3/glut3.html#windows.
Follow the directions and install all three files: glut32.dll,
glut32.lib, and glut.h.
-
Note: Either the instructor machine should be set up as a
Web server and the presentation installed in a public Web directory, or
the instructor package be installed on an IRIX machine so that OutBox
can be used if the students want to follow along with the presentation.
Detailed instructions follow, explaining how to set up the opengl
account, install the software, and build the programs under Windows NT.
NT Account Setup
-
Log in as Administrator and do the following:
-
run Start->Programs->Administrative tools->User
manager
-
it is recommended you give the Administrator account a password if it
doesn't have one:
-
double-click on Administrator to open the User
Properties window
-
enter the password in the Password and Confirm
Password fields
-
click OK
-
create a new user:
-
select User->New User
-
set the Username to opengl
-
set the description to "OpenGL Programming student"
-
set no password, and no permission to change password
-
turn on User Cannot Change Password and Password
Never Expires
-
click Groups button:
-
set the Member of panel to contain only Users
-
under no conditions add the group Guests!
-
click OK
-
click OK to close the User Properties window
NT Software Installation
-
Log in as opengl and do the following for both
student and instructor machines:
-
install Visual C++ (typical installation)
-
VC++ will restart the system as part of installation
-
leave the CD in place when the system restarts
-
log back in as opengl
-
install MSDN (custom installation - just VC++ docs)
-
insert the OGL_4.0_6.5 Student CD and copy the entire opengl
directory into c:\opengl
-
if you don't have the CD, you can copy the ~opengl directory
from an IRIX system that has only the student package
installed. First do a `make clobber' to ensure that
IRIX object and executable files aren't copied onto the
NT system.
-
On the instructor machine only, if it is set up as a Web server,
insert the OGL_4.0_6.5 Instructor CD and copy the entire presentation
into a Web directory.
-
if you don't have the CD, you can copy the
~opengl/public_html/presentation directory and the
release and instructor notes
from an IRIX system that has the instructor package
installed.
NT Environment Variables
NT Setup
-
Initially, everything needs to be compiled. To build everything:
-
Open an MSDos Command Prompt (Start->Programs->Command Prompt)
-
In the MSDos Command Prompt window, type:
> cd c:\opengl
> setupNT
> nmake /f Makefile.win
-
The programs will be built and nmake should finish without error.
-
Note: The setupNT script must be run every time a new
Command Prompt is opened before compiling.
Return to top
IRIX
The following is a list of tests you can use to help verify that the
installation of the opengl student package was successful. For the most
part, they should be performed in the order shown. If a particular test
fails, you will generally need to resolve the problem before going on
to the next test.
% ls -l /usr/people/opengl
Check that owner is opengl, group is guest.
% versions c_dev
Must have c_dev.hdr and c_dev.sw installed.
% versions x_dev
Must have x_dev.sw.dev installed.
% versions motif_dev
Must have motif_dev.sw.dev installed.
% versions gl_dev
Check that gl_dev.sw.gldev, gl_dev.sw.samples, gl_dev.sw.ogldebug, and
gl_dev.sw.widget are installed, with the associated man pages from
gl_dev.man. Check also that gl_dev.books is installed.
% versions glut_dev
Should be version 3.6 or later.
% su opengl
% cd /usr/people/opengl
% make clobber
% make
This will compile all of the lab programs; it will take a while but
should complete without errors.
% cd answers
% solar14
The solar14 program should run.
% insight
Check to see that the following books are installed:
-
OpenGL Programming Guide
-
OpenGL Reference Manual
-
OpenGL on Silicon Graphics Systems
-
OpenGL Porting Guide (optional)
If you want to be able to run the example programs from buttonfly:
% versions demos
Make sure demos.sw.demos is installed.
% RUN_DEMOS
buttonfly should come up, and you should be able to run all the
examples and demos from it.
Windows NT
Open an MSDos Command Prompt (Start->Programs->Command Prompt).
In the MSDos Command Prompt window, type:
> cd c:\opengl
> setupNT
> nmake /f Makefile.win clean clobber
> nmake /f Makefile.win
This will compile all of the lab programs; it will take a while but
should complete without errors.
> opengl.fnd
The script opengl.fnd locates all the executables in the c:\opengl
directory. You can use it to launch programs (in place of IRIX's
buttonfly).
In the Find: Files named *.exe window, double-click on the solar14.exe
icon.
The solar14 program should run without error.
Return to top
CDs will be available from Global Customer Education for installing the
course materials on NT machines. If
they are not yet available, the materials can be copied across the network
from an IRIX system. See the Software Requirements section on Windows NT
for more detail.
Contact BJ Wishinsky (bj@sgi.com) to request CDs.
Programs compiled under IRIX 6.5 or 6.4 (Octane) may not run on earlier
OS versions without recompiling. In particular, the polygon offset and
vertex array examples use features only supported in OpenGL 1.1.
The IDBs do not install the program executables, so a full build
must be done after installation. The intern and instructor should
decide whether this will be done by the intern as part of the software
verification, or by the students as part of the first lab.
Return to top
- Only two low priority bugs were known at the time of release.
-
For a list of currently open bugs, click
here or select OpenGL Programming from the GCE Bug Query
form.
-
To submit bugs, select OpenGL Programming from the GCE Bug Entry
form. Start the summary line with OGL_4.0_6.5 (the course
code).
Return to top
Description |
Part Number or Name |
Student Workbook |
OGL-4.0-6.5-S-SD-W |
Lab Manual |
|
Instructor Guide |
|
Self-Study Guide |
|
Videotape & Documentation |
|
Instructor IDB Package |
opengl_instructor
opengl_instructor.doc
opengl_instructor.idb
opengl_instructor.sw |
Student IDB Package |
opengl_student
opengl_student.doc
opengl_student.idb
opengl_student.sw |
Instructor Notes |
OGL_instructor.html |
Release Notes |
OGL_relnotes.html |
Datasheet |
OGL_datasheet.html |
Misc. Instructions |
Courtesy of Advanced Graphics Marketing,
OpenGL Developer Tools CD and t-shirt will
be shrink-wrapped with the student manual
for U.S. classes. Students also get a
copy of the red book (OpenGL Programmer's
Guide).
|
Other |
|
Return to top
Current contacts for this course:
{BJ Wishinsky, 933-2355, bj@sgi.com}
{Julie Cece, 933-5546, juliec@csd.sgi.com}
Return to top
This course can be taught on any IRIX system which supports OpenGL. It
can also be taught on any Windows NT system that supports OpenGL.
Return to top
Last updated on Thu Apr 1 19:41:51 1999.