IRIX 6.5 » Books » Developer »
OpenGL Optimizer Programmer's Guide: An Open API for Large-Model Visualization
(document number: 007-2852-002 / published: 1998-06-09)
table of contents | additional info | download find in page
Appendix C. opviewer Sample Application
The opviewer application illustrates the basic structure of an OpenGL Optimizer opViewer application. It is a working application that allows you to use OpenGL Optimizer rendering tools to manipulate complex models. Figure C-1 shows a model rendered by opviewer.
This appendix presents comments and lines of code essentially the same as that of /usr/share/Optimizer/src/sample/opviewer/main.cxx, briefly highlights OpenGL Optimizer features, and refers to detailed discussions that appear in this guide.
 | Note: The code presented here may not be exactly the same as the code that ships with OpenGL Optimizer, because of late changes.
|
The rest of this chapter is a running commentary on the code in main.cxx.
The following features are not implemented in opviewer:
 | Note: The opoptimize sample applications contains many of these features.
|
Use the versions command to verify that you have installed the following software:
optimizer_eoe
optimizer_dev
cosmo3D_eoe
cosmo3D_dev
For example, to verify optimizer_dev is installed, use the following command:
% versions | grep optimizer_dev
|
Install any of these packages if they are missing.
Compiling and Running opviewer
To compile opviewer, enter the command make while in the directory /usr/share/Optimizer/src/sample/opviewer. To list command-line options, invoke the application without options.
To print a list of interactive program controls into your command shell while you run opviewer, place the mouse cursor in the rendering window and enter the h key.
OpenGL Optimizer Programmer's Guide: An Open API for Large-Model Visualization
(document number: 007-2852-002 / published: 1998-06-09)
table of contents | additional info | download
Front Matter
About This Guide
Part I. Getting Started
Part II. High-Level Strategic Tools for Fast Rendering
Part III. Specific Tools for Fast Rendering
Part IV. Managing and Rendering Higher-Order Geometric Primitives
Part V. Traversers, Low-Level Geometry Processing, and Multiprocessing
Part VI. Utilities and Troubleshooting
Part VII. Appendices
Glossary
Index
home/search |
what's new |
help
|