home *** CD-ROM | disk | FTP | other *** search
-
-
- The following is a list mapping IrisGL commands to similar OpenGL commands.
- Note in many cases the OpenGL commands listed function somewhat differently
- from the IrisGL commands, and the format of the parameters may be different
- as well. See the OpenGL man pages for detailed descriptions of the
- functions of the these commands and the parameters they take.
-
- --------------------------------------------------------------------------
- IrisGL OpenGL
- --------------------------------------------------------------------------
- acbuf( op, val ) --> glAccum( op, val )
- acsize( planes ) --> glxChooseVisual( *dpy, screen, *attribList )
- addtopup( pup, str, arg ) --> not supported
- afunction( ref, func ) --> glAlphaFunc( ref, func )
- arc( x, y, rad, startang, endang )
- --> gluPartialDisk( *qobj, innerRad, outerRad,
- slices, loops, startAng, endAng )
- backbuffer( b ) --> glDrawBuffer( buf )
- backface( b ) --> glCullFace( mode )
- bbox2( xmin, ymin, x1, y1, x2, y2 )
- --> not supported
- bgnclosedline( void ) --> glBegin( mode )
- bgncurve( void ) --> gluBeginCurve( *nobj )
- bgnline( void ) --> glBegin( mode )
- bgnpoint( void ) --> glBegin( mode )
- bgnpolygon( void ) --> glBegin( mode )
- bgnqstrip( void ) --> glBegin( mode )
- bgnsurface( void ) --> gluBeginSurface( *nobj )
- bgntmesh( void ) --> glBegin( mode )
- bgntrim( void ) --> gluBeginTrim( *nobj )
- blankscreen( b ) --> not supported
- blanktime( ) --> not supported
- blendfunction( long, long )--> glBlendFunc( sfactor, dfactor )
- blink( ) --> not supported
- blkqread( ) --> not supported
- c( cv ) --> glColor( v )
- callfunc( ) --> not supported
- callobj( obj ) --> glCallList( list )
- charstr( str ) --> glCallLists( list )
- chunksize( long ) --> not supported
- circ( x, y, radius ) --> gluDisk( *qobj, innerRad, outerRad, slices,
- loops )
- clear( void ) --> glClear( mask )
- clearhitcode( void ) --> not supported
- clipplane( index, mode, params )
- --> glClipPlane( plane, *equation )
- clkon( void ) --> not supported
- clkoff( void ) --> not supported
- closeobj( void ) --> glEndList( void )
- cmode( void ) --> glxChooseVisual( *dpy, screen, *attribList )
- cmov( x, y, z ) --> glRasterPos( x, y, z, w )
- color( c ) --> glIndex( c )
- compactify( obj ) --> not supported
- concave( b ) --> gluBeginPolygon( tobj )
- cpack( pack ) --> glColor( red, green, blue )
- crv( points ) --> glEvalCoord()
- crvn( n, geom ) --> glEvalMesh()
- curorigin( n xorigin, yorigin )
- --> not supported
- cursoff( void ) --> not supported
- curson( void ) --> not supported
- curstype( typ ) --> not supported
- curvebasis( basis ) --> glMap1(), glMap2() and glMapGrid()
- curveit( iterationcount ) --> not supported
- curveprecision( nsegs ) --> glMap1(), glMap2() and glMapGrid()
- cyclemap( duration, map, nxtmap )
- --> not supported
- czclear( cval, zval ) --> glClear( mask )
- dbtext( str ) --> not supported
- defbasis( id, mat ) --> not supported
- defcursor( n, curs ) --> not supported
- deflfont( n, nc, chars, nr, raster )
- --> not supported
- deflinestyle( n, ls ) --> glLineStipple( factor, pattern )
- defpattern( n, size, mask ) --> glPolygonStipple( mask )
- defpup() --> not supported
- defrasterfont( n, ht, nc, chars[], nr, raster[] )
- --> glXUseXFont( font, first, count, listBase )
- delobj( obj ) --> glDeleteLists( list, range )
- deltag( t ) --> not supported
- depthcue( mode ) --> see glFog()
- dglclose( sid ) --> not supported
- dglopen( sid ) --> not supported
- dither( mode ) --> glEnable( mode )
- dopup( pup ) --> not supported
- doublebuffer( void ) --> glxChooseVisual( *dpy, screen, *attribList )
- draw( x, y, z ) --> not supported
- drawmode( mode ) --> glxChooseVisual( *dpy, screen, *attribList )
- editobj( obj ) --> not supported
- endclosedline( void ) --> glEnd( void )
- endcurve( void ) --> gluEndCurve( *nobj )
- endfeedback( void ) --> glRenderMode( mode )
- endfullscreen( void ) --> not supported
- endline( void ) --> glEnd( void )
- endpick( buffer[] ) --> glRenderMode(GL_RENDER)
- --> glPopMatrix()?
- endpoint( void ) --> glEnd( void )
- endpolygon( void ) --> glEnd( void )
- endpupmode( void ) --> not supported
- endqstrip( void ) --> glEnd( void )
- endselect( short[] ) --> glRenderMode( mode )
- endsurface( void ) --> gluEndSurface( *nobj )
- endtmesh( void ) --> glEnd( void )
- endtrim( void ) --> gluEndTrim( *nobj )
- feedback( buffer, size --> glFeedbackBuffer( size, type, *buffer )
- finish( void ) --> glFinish( void )
- fogvertex( mode, params[] ) --> glFog( pname, param )
- font( fntnum ) --> see glListBase( base )
- foreground( void ) --> not supported
- freepup( pup ) --> not supported
- frontbuffer( b ) --> glDrawBuffer( buf )
- frontface( b ) --> see glCullFace()
- fudge( xfudge, yfudge ) --> not supported
- fullscrn( void ) --> not supported
- gammaramp( r, g, b ) --> not supported
- gbegin( void ) --> not supported, see winopen()
- gconfig( void ) --> not supported
- genobj( void ) --> glGenLists( range )
- gentag( void ) --> not supported
- getbackface( void ) --> glGet( pname, *params )
- getbuffer( void ) --> glGet( pname, *params )
- getbutton( num ) --> not supported
- getcmmode( void ) --> glGet( pname, *params )
- getcolor( void ) --> glGet( pname, *params )
- getcpos( ix, iy ) --> glGet( pname, *params )
- getcursor( index, color, wtm, b )
- --> not supported
- getdcm( void ) --> glIsEnabled( GL_FOG )
- getdepth( near, far ) --> glGet( pname, *params )
- getdescender( void ) --> not supported
- getdev( n, devs, vals ) --> not supported
- getdisplaymode( void ) --> glGet( pname, *params )
- getdrawmode( void ) --> glxGetCurrentContext( void )
- getfont( void ) --> not supported
- getgdesc( inquiry ) --> glGet( pname, *params )
- --> glxGetConfig( *dpy, *vis, attrib, *value )
- --> glxGetCurrentContext( void )
- --> glxGetCurrentDrawable( void )
- getgpos( fx, fy, fz, fw ) --> not supported
- getheight( void ) --> not supported
- gethitcode( void ) --> not supported
- getlsbackup( void ) --> not supported
- getlsrepeat( void ) --> glGet( pname, *params )
- getlstyle( void ) --> glGet( pname, *params )
- getlwidth( void ) --> glGet( pname, *params )
- getmap( void ) --> not supported
- getmatrix( m ) --> glGet( pname, *params )
- getmcolor( i, r, g, b ) --> not supported
- getmmode( void ) --> glGet( pname, *params )
- getmoniter( void ) --> not supported
- getnurbsproperty( property, value )
- --> gluGetNurbsProperty( *nobj, property, *val )
- getopenobj( void ) --> not supported
- getorigin( x, y ) --> not supported
- getpattern( void ) --> glGetPolygonStipple( *mask )
- getplanes( void ) --> glGet( pname, *params )
- getport( name ) --> not supported, see winopen()
- getresetls( void ) --> not supported
- getscrbox( left, right, bottom, top )
- --> not supported
- getscrmask( left, right, bottom, top )
- --> glGet( pname, *params )
- getshade( void ) --> not supported, see getcolor()
- getsize( x, y ) --> not supported
- getsm( void ) --> glGet( pname, *params )
- getvaluator( dev ) --> not supported
- getvideo( reg, value ) --> not supported
- getviewport( left, right, bottom, top )
- --> glGet( pname, *params )
- getwritemask( void ) --> glGet( pname, *params )
- getwscrn( void ) --> not supported
- getzbuffer( void ) --> glGet( pname, *params )
- gexit( void ) --> ??
- gflush( void ) --> glFlush( void )
- ginit( void ) --> not supported, see winopen()
- glcompat( mode, value ) --> not supported
- greset( void ) --> not supported
- gRGBcolor( r, g, b ) --> glGet( pname, *params )
- gRGBcursor( ... ) --> not supported, see getcursor()
- gRGBmask( redm, greenm, bluem )
- --> glGet( pname, *params )
- gselect( buffer[], numnames )
- --> glSelectBuffer( size, *buffer )
- gsync( void ) --> not supported
- gversion( v ) --> not supported
- iconsize( x, y ) --> not supported
- icontitle( name ) --> not supported
- imakebackground( void ) --> not supported
- initnames( void ) --> glInitNames( void )
- ismex( void ) --> not supported
- isobj( obj ) --> glIsList( list )
- isqueued( dev ) --> not supported
- istag( t ) --> not supported
- keepaspect( x, y ) --> not supported
- lampoff( lamps ) --> not supported
- lampon( lamps ) --> not supported
- lcharstr( str ) --> glCallLists( list )
- linesmooth( mode ) --> glEnable( cap )
- linewidth( n ) --> glLineWidth( n )
- linewidthf( n ) --> glLineWidth( n )
- lmbind( short, short ) --> glEnable( cap )
- lmcolor( mode ) --> glColorMaterial( face, mode )
- lmdef( deftype, index, np, props )
- --> glMaterial( face, pname, param )
- --> glLight( light, pname, *params )
- --> glLightModel( pname, param )
- loadmatrix( m ) --> glLoadMatrix( m )
- loadname( name ) --> glLoadName( name )
- logicop( opcode ) --> glLogicOp( opcode )
- lookat( vx, vy, vz, px, py, pz, twist )
- --> gluLookat( eyex, y, z, centerx, y, z, upx, y, z )
- lrectread( x1, y1, x2, y2, parray[] )
- --> glReadPixels( x, y, wid, hgt, format,
- type, *pixels )
- lrectwrite( x1, y1, x2, y2, parray[] )
- --> glDrawPixels( width, height, format,
- type, *pixels );
- lRGBrange( ... ) --> not supported, see glFog()
- lsbackup( b ) --> not supported
- lsetdepth( near, far ) --> glDepthRange( near, far )
- lshaderange( lowin, highin, znear, zfar )
- --> not supported
- lsrepeat( factor ) --> glLineStipple( factor, pattern )
- makeobj( obj ) --> glNewList( list, mode )
- maketag( t ) --> not supported
- mapcolor( i, r, g, b ) --> not supported
- mapw( ... ) --> gluProject( objx, y, z, modelMatrix[],
- projectMatrix[], viewport[], winx, y, z )
- maxsize( x, y ) --> not supported
- minsize( x, y ) --> not supported
- mmode( mode ) --> glMatrixMode( mode )
- move( x, y, z ) --> not supported, see glBegin() and glVertex()
- mswapbuffers( fbuf ) --> not supported
- multimap( void ) --> not supported
- multmatrix( m ) --> glMultMatrix( m )
- n3f( nv ) --> glNormal3fv( v )
- newpup( void ) --> not supported
- newtag( newtg, oldtg, offset )
- --> not supported
- nmode( mode ) --> glEnable( cap )
- noborder( void ) --> not supported
- noise( v, delta ) --> not supported
- noport( void ) --> glxCreateGLXPixmap( *dpy, *vis, pixmap )
- normal( nv ) --> glNormal3fv( v )
- nurbscurve( ) --> gluNurbsCurve( *nobj, nknots, *knot,
- stride, *ctlarray, order, type )
- nurbssurface( ) --> gluNurbsSurface( *nobj, sknot_count, *sknot,
- tknot_count, *tknot, s_stride, t_stride,
- *ctlarray, sorder, torder, type )
- objdelete( tag2, tag2 ) --> glDeleteLists( list, range )
- objinsert( t ) --> not supported
- objreplace( t ) --> not supported
- onemap( void ) --> not supported
- ortho( l, r, b, t, n, f ) --> glOrtho( l, r, b, t, n, f )
- ortho2( l, r, b, t ) --> gluOrtho2D( l, r, b, t )
- overlay( planes ) --> glxChooseVisual( *dpy, screen, *attribList )
- pagecolor( pcolor ) --> not supported
- passthrough( token ) --> glPassThrough( token )
- patch( ) --> not supported, see GLU
- patchbasis( ) --> not supported, see GLU
- patchcurves( ) --> not supported, see GLU
- patchprecision( ) --> not supported, see GLU
- pclos( void ) --> not supported, see glEnd()
- pdr( x, y, z ) --> not supported, see glVertex()
- perspective( ) --> gluPerspective( fovy, aspect, zNear, zFar )
- pick( buffer[], namnames ) --> see gluPickMatrix()
- picksize( deltax, deltay ) --> gluPickMatrix( x, y, wid, height, viewport[] )
- pixmode( mode, value ) --> glPixelTransfer( pname, param )
- pmv( x, y, z ) --> not supported, see glBegin() and glVertex()
- pnt( x, y, z ) --> glBegin( mode )
- pntsize( n ) --> glPointSize( n )
- pntsizef( n ) --> glPointSize( n )
- pntsmooth( mode ) --> glEnable( cap )
- polarview( ) --> not supported, see glRotate() and glTranslate()
- polf( ) --> not supported
- poly( ) --> not supported
- polymode( mode ) --> glPolygonMode( face, mode )
- polysmooth( mode ) --> glEnable( cap )
- popattributes( void ) --> glPopAttrib( void )
- popmatrix( void ) --> glPopMatrix( void )
- popname( void ) --> glPopName( void )
- popviewport( void ) --> glPopAttrib( void )
- prefposition( x1, y1, x2, y2 )
- --> not supported, see Window Manager
- prefsize( x, y ) --> not supported, see Window Manager
- pupmode( void ) --> not supported
- pushattributes( void ) --> glPushAttrib( mask )
- pushmatrix( void ) --> glPushMatrix( void )
- pushname( name ) --> glPushName( name )
- pushviewport( void ) --> glPushAttrib( mask )
- pwlcurve( ... ) --> gluPwlCurve( *nobj, count, *array, stride, type )
- qcontrol( ... ) --> not supported, see Events
- qdevice( dev ) --> not supported, see Events
- qenter( dev, val ) --> not supported, see Events
- qgetfd( void ) --> not supported, see Events
- qread( date ) --> not supported, see Events
- qreset( void ) --> not supported, see Events
- qtest( void ) --> not supported, see Events
- rcrv( geom ) --> not supported
- rcrvn( n, geom ) --> not supported
- rdr( dx, dy, dz ) --> not supported
- readdisplay( x1, y1, x2, y2, parray, hints )
- --> glReadPixels( x, y, width, height, format,
- type, *pixels )
- readRGB( n, red[], green[], blue[] )
- --> not supported
- readsource( src ) --> glReadBuffer( mode )
- rect( x1, y1, x2, y2 ) --> see glRect and glPolygonMode
- rectf( x1, y1, x2, y2 ) --> glRect
- rectcopy( x1, y1, x2, y2, newx, newy )
- --> glCopyPixels( x, y, width, height, type )
- rectread( x1, y1, x2, y2, parray[] )
- --> glReadPixels( x, y, width, height, format,
- type, *pixels )
- rectwrite( x1, y1, x2, y2, parray[] )
- --> glDrawPixels( width, height, format,
- type, *pixels );
- lrectwrite( x1, y1, x2, y2, parray[] )
- --> glDrawPixels( width, height, format,
- type, *pixels );
- rectzoom( xfact, yfact ) --> glPixelZoom( xfactor, yfactor )
- resetls( b ) --> not supported
- reshapeviewport( void ) --> not supported
- RGBcolor( r, g, b ) --> glColor()
- RGBcursor( ... ) --> not supported, see setcursor()
- RGBmode( void ) --> glxChooseVisual( *dpy, screen, *attribList )
- RGBrange( ... ) --> not supported, see lRGBrange
- RGBwritemask( r, g, b ) --> glColorMask( r, g, b, a )
- ringbell( void ) --> not supported
- rmv( dx, dy, dz ) --> not supported
- rot( a, axis ) --> glRotate( angle, x, y, z )
- rotate( a, axis ) --> glRotate( angle, x, y, z )
- rpatch( ... ) --> not supported
- rpdr( dx, dy, dz ) --> not supported
- rpmv( dx, dy, dz ) --> not supported
- sbox( x1, y1, x2, y2 ) --> see glRect()
- scale( x, y, z ) --> glScale( x, y, z )
- sclear( sval ) --> glClear( mask )
- scrbox( arg ) --> not supported
- screenspace( void ) --> not supported
- scrmask( left, right, bottom, top )
- --> glScissor( left, right, bottom, top )
- scrnattach( gsnr ) --> not supported, see Window Manager
- scrnselect( gsnr ) --> not supported, see Window Manager
- scrsubdivide( mode, params ) --> not supported
- setbell( durat ) --> not supported
- setcursor( ind, color, wtm) --> not supported, see Window Manager
- setdblights( mask ) --> not supported
- setdepth( near, far ) --> not supported, see lsetdepth()
- setlinestyle( index ) --> glLineStipple( factor, pattern )
- setmap( mapnum ) --> not supported, see Colormap
- setmoniter( ... ) --> not supported
- setnurbsproperty( ) --> gluNurbsProperty( *nobj, prop, val )
- setpattern( index ) --> glPolygonStipple( *mask )
- setpup( pup, entry, mode ) --> not supported, see Window Manager
- setvaluator( ... ) --> not supported, see Events
- setvideo( reg, value ) --> not supported
- shademodel( model ) --> glShadeModel()
- shaderange( lowin, highin, z1, z2 )
- --> not supported
- singlebuffer( void ) --> glxChooseVisual( *dpy, screen, *attribList )
- smoothline( mode ) --> glEnable( cap )
- spclos( void ) --> not supported
- splf( n, parray, iarray ) --> not supported, see glBegin( mode )
- stencil( ) --> glStencilFunc( )
- --> glStencilOp( )
- stensize( planes ) --> glStencilMask( mask )
- stepunit( xunit, yunit ) --> not supported, see Window Manager
- strwidth( str ) --> not supported, see Fonts
- subpixel( b ) --> not supported
- swapbuffers( void ) --> glXSwapBuffers( *dpy, window )
- swapinterval( i ) --> not supported, see MBX
- swaptmesh( void ) --> not supported, glBegin(GL_TRIANGLE_FAN)
- swinopen( parent ) --> not supported, see Window Manager
- swritemask( mask ) --> glStencilMask( mask )
- t2( vector ) --> glTexCoord2( s, t )
- tevbind( target, index ) --> glTexEnv( ... )
- tevdef( index, np, props ) --> glTexEnv( ... )
- texbind() --> glTexImage2D
- --> glTexParameter
- --> gluBuild2DMipmaps
- texdef2d( index, nc, width, height, image, np, props )
- --> glTexImage2D
- --> glTexParameter
- --> gluBuild2DMipmaps
- texgen() --> glTexGen
- textcolor( tcolor ) --> not supported, see Fonts
- textinit( void ) --> not supported
- textport( l, r, b, t ) --> not supported
- tie( b, v1, v2 ) --> not supported, see Events
- tpoff( void ) --> not supported
- tpon( void ) --> not supported
- translate() --> glTranslate()
- underlay() --> glxChooseVisual( *dpy, screen, *attribList )
- unqdevice( dev ) --> not supported, see Events
- v( vector ) --> glVertex( v )
- videocmd( cmd ) --> not supported
- viewport( l, r, b, t ) --> glViewport( x, y, width, height )
- winattach( void ) --> not supported, see Window Manager
- winclose( gwid ) --> not supported, see Window Manager
- winconstraints( void ) --> not supported, see Window Manager
- windepth( gwid ) --> not supported, see Window Manager
- window( left, right, bottom, top, near, far )
- --> glFrustum( left, right, bottom, top, near, far )
- winget( void ) --> not supported, see Window Manager
- winmove( orgx, orgy ) --> not supported, see Window Manager
- winopen( name ) --> not supported, see Window Manager
- winpop( void ) --> not supported, see Window Manager
- winposition( x1, x2, y1, y2 )
- --> not supported, see Window Manager
- winpush( void ) --> not supported, see Window Manager
- winset( gwid ) --> not supported, see Window Manager
- wintitle( name ) --> not supported, see Window Manager
- wmpack( pack ) --> glColorMask( red, green, blue, alpha )
- writemask( wtm ) --> glIndexMask( mask )
- writepixels( n, colors[] ) --> glDrawPixels(...)
- writeRGB( n, r[], g[], b[] ) --> glDrawPixels(...)
- xfpt( x, y, z ) --> not supported
- zbuffer( bool ) --> glEnable( cap )
- zclear( void ) --> glClear( mask )
- zdraw( b ) --> not supported
- zfunction( func ) --> glDepthFunc( func )
- zsource( src ) --> not supported
- zwritemask( mask ) --> glDepthMask( boolean )
-