home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / ViewKit_dev.idb / usr / share / src / ViewKit / Applications / GLX / README.z / README
Encoding:
Text File  |  1996-09-20  |  700 b   |  18 lines

  1. This directory builds Rotate, a sample application that uses GLX to do
  2. GL rendering in an X window.
  3.  
  4. VkGLX is a ViewKit component which creates a GlxMDraw widget for GL
  5. rendering.  Virtual methods provide hooks for the application for
  6. graphics initialization (ginit), exposure of the component (expose),
  7. resize of the component (resize), and keyboard/pointer events (input).
  8.  
  9. Box is a subclass of VkGLX which draws a 3D box and rotates it when
  10. the user presses one of the three mouse buttons.
  11.  
  12. The GL source to draw the box and rotate it were taken from the
  13. GlxMDraw widget demo installed as:
  14.  
  15.   /usr/people/4Dgifts/examples/GLX/glxwidget/demos/mscrn_rotate.c
  16.  
  17. from the 4Dgifts/src/basicw subsystem.
  18.