section of routines in glfunc.i

functions in glfunc.i -

 
 
 
always_show_obj3d


             gl_always_show_obj(flag)  
 
    Draw objects while rotating if flag is non-zero.  
 
 
 
cage_style3d


             cage_style3d(style)  
 
    If style is zero, the limits for the "cage" surrounding the  
    "interesting" data volume will be the bounds of all  
    objects in the scene.  
    See also: cage_limits3d, getcage_limits3d  
 
 
 
ClearList3d


             ClearList3d  
 
    Clear both 3D display lists.  
SEE ALSO: DrawList3d,   ClearDirectList3d,  
ClearCachedList3d  
 
 
 
Draw3d


             Draw3d  
 
    Draw both 3D display lists, handling all preparation and clean-up.  
SEE ALSO: ClearList3d,   ClearDirectList3d,  
ClearCachedList3d  
 
 
 
endtex3d


             endtex3d(void)  
 
    finish using a 3D texture.  
 
 
 
get_currwin3d


             get_currwin3d()  
 
	Return the number of the current 3D window.  
 
 
 
get_fov3d


             get_fov3d  
 
    Returns the field of view (in degrees) for the current 3D window.  
 
 
 
get_hite3d


             get_hite3d(void)  
 
    return the height of the current OpenGL window in pixels.  
 
 
 
get_width3d


             get_width3d(void)  
 
    return the width of the current OpenGL window in pixels.  
 
 
 
GetBounds3d


             GetBounds3d  
 
    Compute the bounding box for all 3D objects.  
    Function returns non-zero if there is at least one object.  
SEE ALSO: DrawList3d,   ClearList3d,  
GetBoundsDirectList3d,   GetBoundsCachedList3d  
 
 
 
getGLvers


             getGLvers  
 
    Get the version number for OpenGL.  
 
 
 
has_tex3d


             has_tex3d()  
 
    result is non-zero if 3D textures are supported.  
 
 
 
has_texcube3d


             has_texcube3d()  
 
    result is non-zero if cube map textures are supported.  
 
 
 
inc_seq3d


             inc_seq3d(void)  
 
    increment the OpenGL sequence number. Not a user routine.  
 
 
 
line_width3d


             line_width3d(void)  
 
    Set the width in pixels for a polyline in OpenGL.  
 
 
 
mousefunc3d


             mousefunc3d(val)  
 
    controls the efect of mouse motion in an OpenGL window.  
    val==1 means rotate, val==2 means zoom, and val==3 means pan.  
 
 
 
msmov_val3d


             msmov_val3d(void)  
 
    set the number of pixels the mouse must move before  
    the model should be rotated.  
 
 
 
out_ccw3d


             out_ccw3d(dir_flag)  
 
    set the direction (zero for clockwise, else CCW) for the  
    front face of polygons.  
 
 
 
preptex3d


             preptex3d(void)  
 
    prepare an OpenGL state suitable for the use of 3D textures.  
 
 
 
set_fov3d


             set_fov3d(fov)  
 
    Set the field of view (in degrees) for the current 3D window.  
 
 
 
update_list3d


             update_list3d(void)  
 
    update an existing OpenGL display list.  
 
 
 
use_array3d


             use_array3d(flag)  
 
    Use OpenGL arrays if flag is non-zero.  
 
 
 
use_list3d


             use_list3d(flag)  
 
    Use an OpenGL display list if flag is non-zero.  
 
 
 
win3d


             win3d(num, width, height)  
 
    Create OpenGL output window number num.  
    Window will have specified width and height (in pixels).  
 
 
 
winkill3d


             winkill3d(num)  
 
    Close OpenGL output window number num.