back  Return to list

GL_SGIX_depth_texture
homeprevnext Name
  
    SGIX_depth_texture  
  
homeprevnext Name Strings
  
    GL_SGIX_depth_texture  
  
homeprevnext Version
  
    $Date: 1997/02/26 03:36:29 $ $Revision: 1.5 $  
    $Id: //sw/main/docs/OpenGL/specs/GL_SGIX_depth_texture.txt#3 $  
  
homeprevnext Number
  
    63  
  
homeprevnext Dependencies
  
    EXT_texture is required  
    EXT_subtexture affects the definition of this extension  
    EXT_copy_texture affects the definition of this extension  
  
homeprevnext Overview
  
    This extension defines a new depth texture format.  An important  
    application of depth texture images is shadow casting, but separating  
    this from the shadow extension allows for the potential use of  
    depth textures in other applications such as image-based rendering  
    or displacement mapping.  This extension does not define new  
    depth-texture environment functions, such as filtering or applying  
    the depth values computed from a texture, but leaves this to other  
    extensions, such as the shadow extension.  
          
homeprevnext New Procedures and Functions
  
    None  
  
homeprevnext New Tokens
  
    Accepted by the <components> parameters of TexImage1D and  
    TexImage2D, and by the <internalformat> parameters of TexImage3DEXT,  
    CopyTexImage1DEXT, and CopyTexImage2DEXT:  
  
    DEPTH_COMPONENT16_SGIX              0x81A5  
    DEPTH_COMPONENT24_SGIX              0x81A6  
    DEPTH_COMPONENT32_SGIX              0x81A7  
  
  
homeprevnext Additions to Chapter 2 of the 1.0 Specification (OpenGL Operation)
  
    None  
  
homeprevnext Additions to Chapter 3 of the 1.0 Specification (Rasterization)
  
    XXX - lots  
  
    Notes:  
  
    *   Defines DEPTH_COMPONENT as a new base internal format for  
        textures.  Defines 16, 24, and 32 bit specific internal formats  
        for texture.  Just as for the specific color internal formats,  
        an implementation can choose whether to implement them or not.  
  
    *   Texture commands that accept images from memory now allow the  
        internal format to be DEPTH_COMPONENT or DEPTH_COMPONENT*_SGIX  
        when the format of the image data is DEPTH_COMPONENT.  Depth,  
        not color pixel transfer operations are applied to depth images.  
  
    *   Texture commands that accept images from the framebuffer now  
        take their data from the depth buffer when the internal format is  
        DEPTH_COMPONENT or DEPTH_COMPONENT*_SGIX, or when no internal  
        format is specified, and the internal format of the target  
        texture is DEPTH_COMPONENT or DEPTH_COMPONENT*_SGIX.  
  
homeprevnext Additions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations and the Frame Buffer)
  
    None  
  
homeprevnext Additions to Chapter 5 of the 1.0 Specification (Special Functions)
  
    None  
  
homeprevnext Additions to Chapter 6 of the 1.0 Specification (State and State Requests)
  
    None  
  
homeprevnext Additions to the GLX Specification
  
    None  
  
homeprevnext Dependencies on EXT_texture
  
    EXT_texture is required.  
  
homeprevnext Dependencies on EXT_texture3D
  
    EXT_texture3D is not required, but if it is not supported, the  
    implementation must compute the R texture coordinate as if it were.  
    If EXT_texture3D is not supported, references to TexImage3DEXT and  
    TexSubImage3DEXT in this document are invalid and should be ignored.  
  
homeprevnext Dependencies on EXT_subtexture
  
    If EXT_subtexture is not supported, references to TexSubImage1DEXT,  
    TexSubImage2DEXT, and TexSubImage3DEXT in this document are invalid  
    and should be ignored.  If EXT_subtexture is supported, the operations  
    of these three commands are affected by this extension.  
  
homeprevnext Dependencies on EXT_copy_texture
  
    If EXT_copy_texture is not supported, references to CopyTexImage1DEXT  
    and CopyTexImage2DEXT in this document are invalid and should be  
    ignored.  If EXT_copy_texture is supported, the operations of these  
    two commands, and of CopyTexSubImage1DEXT, CopyTexSubImage2DEXT,  
    and CopyTexSubImage3DEXT are affected by this extension.  
  
homeprevnext Errors
  
    INVALID_OPERATION is generated if TexImage1D or TexImage2D parameter  
    <format> is DEPTH_COMPONENT and parameter <components> is not  
    DEPTH_COMPONENT, DEPTH_COMPONENT16_SGI, DEPTH_COMPONENT24_SGI,  
    or DEPTH_COMPONENT32_SGI.  
  
    INVALID_OPERATION is generated if TexImage3DEXT parameter  
    <format> is DEPTH_COMPONENT and parameter <internalformat> is not  
    DEPTH_COMPONENT, DEPTH_COMPONENT16_SGI, DEPTH_COMPONENT24_SGI,  
    or DEPTH_COMPONENT32_SGI.  
  
    INVALID_OPERATION is generated if CopyTexImage1DEXT  
    or CopyTexImage2DEXT parameter <internalformat> is  
    DEPTH_COMPONENT, DEPTH_COMPONENT16_SGI, DEPTH_COMPONENT24_SGI,  
    or DEPTH_COMPONENT32_SGI, and there is no depth buffer.  
  
homeprevnext New State
  
    None  
  
homeprevnext New Implementation Dependent State
  
    None  
  
  
Valid XHTML 1.1! Valid CSS! Last update: November 14, 2006.
Cette page doit être lue avec un navigateur récent respectant le standard XHTML 1.1.