PDA

View Full Version : WARNING! An extremely advanced question



glfreak
02-10-2008, 03:20 AM
What could be the reason that when enabling 2d texture for tmu0, the rendering becomes very slow, obviously in software?

ATI Radeon X1600 with latest drivers.

How can I debug the program?

Thanks!

sqrt[-1]
02-10-2008, 04:36 AM
Pardon my ignorance - what is tmu0?

Are you using a shader? What is the format of the texture?

Jan
02-10-2008, 05:08 AM
One would think that after 171 posts people should know the basics (http://www.catb.org/~esr/faqs/smart-questions.html).

dletozeun
02-10-2008, 10:12 AM
Maybe he is speaking about TrackMania United or in my opinion, about the Texture Mapping Unit 0.

glfreak
02-10-2008, 04:17 PM
Sorry.....found it! i forgot that my textures are non power of 2.

glfreak
02-10-2008, 04:17 PM
TMU is Texture Mapping Unit, from the day of 3Dfx Glide.

knackered
02-10-2008, 04:45 PM
you're trying to use glide with a radeon?
how quaint.
but remember, this is an opengl forum.

arekkusu
02-11-2008, 12:27 AM
The OpenGL answer:

Radeon X1600 can not sample from NPOT textures if any of the following are true:

a) mipmapped
b) repeat or mirror wrap mode
c) 3D or CUBE target

in other words, it only supports the RECT subset of NPOT.