From: Tatsuhiro N. <tat...@gm...> - 2008-10-30 18:56:53
|
On Oct 31, 2008, at 1:32 AM, Csaba Halász wrote: > On Thu, Oct 30, 2008 at 5:18 PM, Tatsuhiro Nishioka > <tat...@gm...> 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; > } > |