On Oct 31, 2008, at 1:32 AM, Csaba Halász wrote: > On Thu, Oct 30, 2008 at 5:18 PM, Tatsuhiro Nishioka > <[EMAIL PROTECTED]> wrote: >> >> I also tested A6M2 with resized panel.rgb (500x500) and it worked properly. >> The log file showed: >> >> Scaling image '<snip>/data/Aircraft/A6M2/Models/panel.rgb' from (500,500) to >> (512,512). >> >> Now I can tell that OSG properly rescales the image on Mac OS X (at least on >> my MacBook Pro with ATI Radeon X1600). > > No, that's actually the software fallback method. OSG disables > non-power-of-two for Radeon.
Yes, the hardware extension is disabled on Radeon, but it doesn't negate the fact that OSG rescales the image on Mac OS X properly, does it? :-p > > Similarly, for GeForce FX cards (but is the 7300 an FX?) > IIRC, iMac/7300GT uses FX driver, but this doesn't match on Mac with 7300GT since its renderer name is "NVIDIA GeForce 7300 GT OpenGL Engine." I don't know if the hardware extension properly works on iMac/nVidia, though. I'm also curious if this extension actually works with Radeon on my MacBook Pro. Will try it later. > > if (rendererString.find("GeForce FX")!=std::string::npos) > { > _isNonPowerOfTwoTextureMipMappedSupported = false; > osg::notify(osg::INFO)<<"Disabling > _isNonPowerOfTwoTextureMipMappedSupported for GeForce FX > hardware."<<std::endl; > } > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel