Hi, On Oct 28, 2008, at 9:30 AM, "Csaba Halász" <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 27, 2008 at 11:28 PM, James Turner <[EMAIL PROTECTED]> > wrote: >> >> I'm still mystified by the bug - all the OSG examples work for me. > > Does that include the osgtexture2D example? Tat's call stack has the > mipmap generation in it, that's why I am wondering ... > Make sure you zoom in/out. 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 also built a debug version of fgfs/osg and tried on that machine. it 100% crashes when making a mipmap on loading one of wxradar.rgb, cirrus.png, or water.rgb depending on aircraft/airport options, which tells me this is not caused by and image format related thing. I tried disabling mipmapping GL extension but no clue. So I changed osg/texture.cpp to force disable hardware mipmapping and gave it a try.... And i found.... it working!! This is a good sign, but I'm still not clear what wxactly caussd this issue. Since osgtexture3D works, it is not only mipmapping problem but more complicated. It could be a memory bug as James assumed, or might be a thread related thing. I also tried OpenGL profiler to see if some thread errors occur but found none. Anyway, force disabling hardware mipmapping works on this issue. I'll make a patch for a temporal workaround. I hope someone can help us finding a real cause of this. > > > -- > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

