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.

    if (rendererString.find("Radeon")!=std::string::npos ||
rendererString.find("RADEON")!=std::string::npos)
    {
        _isNonPowerOfTwoTextureMipMappedSupported = false;
        osg::notify(osg::INFO)<<"Disabling
_isNonPowerOfTwoTextureMipMappedSupported for ATI
hardware."<<std::endl;
    }

Similarly, for GeForce FX cards (but is the 7300 an FX?)

    if (rendererString.find("GeForce FX")!=std::string::npos)
    {
        _isNonPowerOfTwoTextureMipMappedSupported = false;
        osg::notify(osg::INFO)<<"Disabling
_isNonPowerOfTwoTextureMipMappedSupported for GeForce FX
hardware."<<std::endl;
    }

-- 
Csaba/Jester

-------------------------------------------------------------------------
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

Reply via email to