pouët.net

Attention Radeon users

category: general [glöplog]
wrong...
Radeon can render to texture and FAST, IF you use glTexImage2D.
glCopySubTexImage2D or whatever, on the other hand, results the framerates above.
At least if you check our intros (Kräsh, Skrätzh, PG, APCU, etc.), they are ALL opengl, they all use some kinda postfiltering tricks, and they are all FAST on a radeon.

Anyway according to Vercy/ÜD, the very newest drivers should fix the problem.
added on the 2003-09-10 14:56:19 by Gargaj Gargaj
What?
Do you mean glTextImage() is faster than glCopyTexSubImage2D() on Radeons? That is opposite to all OpenGL manuals I have read.
added on the 2003-09-10 21:17:55 by mri mri
glCopyTexSubImage2D() should indeed be used instead of glTexImage2D(). Using glTexImage2D() to perform RTT doesn't make much sense to me.
I've never had problems with the first on radeons. The extremely low framerate makes me think it can be caused by a wrong/unsupported parameter of glCopyTexSubImage2D, forcing the driver to fall to software mode.

Which parameters do you use?
added on the 2003-09-10 22:16:45 by ithaqua ithaqua
s/which/what
added on the 2003-09-10 22:23:01 by ithaqua ithaqua
Hmm, I just use Direct3D.
added on the 2003-09-11 00:08:40 by sagacity sagacity
Dump OGL shite ;) RTT works fine on Radeons in D3D
added on the 2003-09-11 06:34:09 by mac mac
Ati had a bug in the 3.6 driver that affected glCopySubTexImage2d() when FSAA was active, thats fixed in 3.7 ( afaik ). the subimage is faster, or just as fast as a 'copyteximage' since it cant involve a reallocation of memory so the driver can disregard that test, but i think they often travel the same path,l except if the new dimensions differ from the previous ones.

the render to framebuffer and copy to texture is often calle d CTT (copy yo texture) not to confuse by RTT ( Render to texture) that actually change the rendertarget to the texture, and not involving any extra datacopy. Radeon is quite fast at RTT but its a real hell to use in Opengl ( its not vendor specific, but OS bound). we are looking forward to the new SuperBuffers which allows both render to texture in a simpley way, and Render to vertexbuffer, render to indexbuffer, and faster transfer from GPU to CPU. ATI hinted that this will be in their upcomming drivers ( 3.8 or 4.0 what ever they call it) and since they release a new driver each month we shouldnt need to wait that long :)
added on the 2003-09-11 10:54:51 by MazyNoc MazyNoc
Another reason to change to D3D :P
added on the 2003-09-11 14:11:16 by shash shash
In that case I use both CTT and RTT for the glow. (Note that the glow used in Legomania is not the same as in the test programs.)
I create a p-buffer with a texture as render target. For each frame I do something like:
1. Copy screen into a temp texture using glCopyTexSubImage2D() (CTT)
2. Render temp texture into p-buffer (RTT) using multitexturing, fog and some other stuff
3. Render p-buffer multiple times to screen using addtitive blending
added on the 2003-09-11 14:13:18 by mri mri
shash : i relly dont understand why i should change? was it becourse RTT functions is OS specific? or that we soon have teh render to vertexbuffer features? :)
added on the 2003-09-11 15:57:33 by MazyNoc MazyNoc

login