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 6 of 6

Thread: ATI and render to texture rectangle

  1. #1
    Intern Newbie
    Join Date
    Nov 2002
    Location
    Denmark
    Posts
    48

    ATI and render to texture rectangle

    Is it possible to render to a texture rectangle with ATI hardware?

    NVidia has NV_render_texture_rectangle, but there seems to be no similar things from ATI(or EXT, ARB).

    Can this be true?

    Jonas

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2001
    Posts
    204

    Re: ATI and render to texture rectangle

    There is GL_EXT_texture_rectangle. Have a look at Tom's page http://www.delphi3d.net/hardware/ext...ture_rectangle

    kon

  3. #3
    Intern Newbie
    Join Date
    Nov 2002
    Location
    Denmark
    Posts
    48

    Re: ATI and render to texture rectangle

    Yes, ext_texture_rectangle lets us make rectangular textures, but
    how do we render to them?
    Can it be done at all?

    Jonas

  4. #4
    Member Regular Contributor
    Join Date
    Jan 2003
    Location
    Edmonton, Alberta, Canada
    Posts
    322

    Re: ATI and render to texture rectangle

    P-Buffers, perhaps? (Though I've never used them. . .)

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    May 2001
    Location
    Beloit, Wisconsin
    Posts
    562

    Re: ATI and render to texture rectangle

    You would have to use CopyTex[Sub]Image2D to copy a pbuffer to a rectangle texture. The RTT rectangle extension is nVidia proprietary.

  6. #6
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,768

    Re: ATI and render to texture rectangle

    ARB_render_texture, perhaps?

    Though the spec says to throw an error if the size of the texture is non-power-of-two, it also says that "This restriction can be relaxed later by the exension that allows non-power of 2 texture." EXT_texture_rectangle would, quite likely, be such an extension. Try it out and see what happens.

Posting Permissions

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