Re: [Plib-users] ssgMakeMipMaps
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-04-23 03:57:56
|
Wolfram Kuss wrote: >>i would like to avoid having to resize my image to something like 256X256. > > > You should DEFINITELY resize it. Computer graphics hardware needs > power of two. The only ways for a program to allow non-.power-of-two > are > a) don't use hardware accelaration Well, even without hardware accelleration, you still need a power-of-two map if you are using software-only OpenGL. The only way out would be not to use OpenGL and rasterize the image yourself - but that's a ridiculous choice. > b) resize it yourself, during each session > Both obviously bad. Well, (b) may be less than optimal - but it's not *that* bad. Actually, there is an OpenGL extension that allows you to use non-power-of-two textures on nVidia hardware - but there are a lot of really weird restrictions. Trust me - you NEED powers of two map dimensions. > Resizing it once "offline" with a good program, that can use a good > algorithm since it can take a second, is a much better idea. Yep. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |