-
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
-
Junior Member
Regular Contributor
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
-
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
-
Member
Regular Contributor
Re: ATI and render to texture rectangle
P-Buffers, perhaps? (Though I've never used them. . .)
-
Advanced Member
Frequent Contributor
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.
-
Senior Member
OpenGL Guru
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
-
Forum Rules