Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Floating Point Textures and Texture Encoding

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2004
    Posts
    4

    Floating Point Textures and Texture Encoding

    Hi All,

    I wish to create a texture containing floating point values. How is this done ?
    I "guess" that I could do something like this

    glTexImage2D(GL_TEXTURE_RECTANGLE_EXT, 0,
    GL_ATI_texture_float
    IMAGE_WIDTH,
    IMAGE_HEIGHT,
    0,
    GL_RGBA,
    GL_FLOAT,
    bImage);

    But I am abit confused, could my bImage then be composed 4 channels each with 32 bit precision ?

  2. #2
    Guest

    Re: Floating Point Textures and Texture Encoding

    opengl extensions are clearly documented in sgi's registry:
    http://oss.sgi.com/projects/ogl-samp...ture_float.txt

    among other things, the extansions that make it to the core can be found in the spec:
    http://www.opengl.org/documentation/spec.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •