On Nov 7, 2008, at 9:49 AM, Syd wrote: >> Dont know if this is related , but the shader trees have the same edge > problem , though not as noticeable with a ground texture behind it. > Unfortunately , I dont know enough about the code to help out . > On another note , was / is it possible to disable mipmapping with OSG ?
I don't think you can disable it even you specify OSG_GL_EXTENSION_DISABLE="GL_SGIS_generate_mipmap;GL_EXT_framebuffer_object". To disable mipmapping, you need to change osg/Texture.cpp. I think that disabling such extensions is not (yet properly) implemented. osg/Texture.cpp just enables hardware extensions if (GL driver version is grater than a certain value OR its supported by hardware considering environment variable). so it enables an extension if GL driver version >= 2.0, regardless of OSG_GL_EXTENSION_DISABLE. I'm not sure if this is what it's meant to be. Anyway, enclosed is a patch (for osg/svn as of yesterday) to make texture related hardware extensions disabled by the environment variable. WIth that patch, you can disable hardware mipmapping with OSG_GL_EXTENSION_DISABLE="GL_SGIS_generate_mipmap;GL_EXT_framebuffer_object" You can see if it is actually disabled by specifying OSG_NOTIFY_LEVEL=INFO. FYI, My eyes didn't catch any noticeable differences on this issue with or without hardware mipmapping. but you can try this anyway. Best, Tat
Texture_disable_extensions.diff
Description: Binary data
------------------------------------------------------------------------- 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