View Full Version : Oblong textures
05-03-2004, 11:37 PM
Hello,is it possible to use oblong textures in OpenGL??Must I use only 64x64,128x128,...
Thanks for answers.Mage
Yep, no problem, but dimensions must still be powers of two. For example, you can have:
05-04-2004, 01:55 AM
05-04-2004, 02:07 AM
By using extensions like NV_texture rectangle or ARB_texture_non_power_of_two, you can also specify textures with non power of 2 dimensions.
Be careful when using these extensions though, because they might differ in the way texture lookup is performed (NV_texture rectangle uses the range [0..w]x[0..h] instead of the standard [0..1]x[0..1] range ) based on the incoming texture coordinates, mipmapping is not supported until the next generation of GPUs and not all clamping parameters are permitted.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.