View Full Version : glTexGen vs. Texture Coordinate Array
02-04-2003, 08:29 AM
i have option of both use of
Automatic Texture Generation option
of opengl or classsically passing it
to Texture Coordinate Array ?
Does someone know which one may work faster?
this depends on the driver you're using so a test would be needed for a certain answer.My bet would be with the second though.
02-04-2003, 02:29 PM
i think it also depends on how you render your geometry. if u use display lists then passing texture coordinates epxlicitly is faster. for vertex arrays i can't tell, but i think zen is right.
02-04-2003, 02:45 PM
If you're geometry throughput bound (say, bus bandwidth limited) then texgen will be faster on cards with hardware transform and lighting. Especially object linear texgen, because the card can often bypass eye space and go straight to projected space.
Anyway, if you have a specific situation you're concerned about, then benchmark it both ways.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.