[Plib-users] ssgMakeMipMaps
Brought to you by:
sjbaker
From: jnilson_99 <jni...@ya...> - 2004-04-22 00:44:07
|
from ssgMakeMipMaps : if ( ! ((xsize & (xsize-1))=3D=3D0) || ! ((ysize & (ysize-1))=3D=3D0) ) { ulSetError ( UL_WARNING, "Map is not a power-of-two in size!" ) ; return false ; } i've used 3dstudio to build a model, but one of the textures' size is = not a multiple of 2 so ssgMakeMipMaps won't create a mipmap out of it. = this isn't a big deal because i don't need to create a mipmap out of = this particular image, just the default resolution of the image is all i = need. question: is there a way to have ssg load an image without automatically = trying to create a mipmap as well?=20 i would like to avoid having to resize my image to something like = 256X256. thanks john |