Oops, that was osgtexture2D, not 3D.
Sorry for my and iPhone's typo. :-p

Let's pass the ball among us a bit more.

Enclosed is a Fix-it-for-Mac-with-GeForce-7300GT-only kinda patch for 
OpenSceneGraph/src/osg/Texture.cpp.
This is just to disable hardware mipmapping when Renderer is "NVIDIA GeForce 
7300 GT OpenGL Engine."

A better way is to use OSG_GL_EXTENSION_DISABLE for disabling hardware 
mipmapping but it doesn't work in this case,
so this patch can be a very easy workaround for this issue.  Plus, I don't 
think the environment variable driven GL extension 
disabling works as expected at all, so it should be also fixed. 

Tat

>>>
>> I had a chance to test this issue on an iMac with GeForce 7300GT.
>> osgtexture3D works fine on zooming in and out. No segtault happens.
>
> I was talking about osgtexture2D not 3D. The former specifically does
> mipmapping, the latter doesn't.
> If you managed to reproduce the crash with the osgtexture2D we could
> pass the ball to the osg folks :)

Attachment: osgNVIDIA-fix.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to