Hi Terry,
are you sure about the lines 666 and 667? I can't see any reason why
this should lead to a crash. But I changed it to
if(getAnisotropy() > 1.0f &&
win->hasExtension(_extTextureFilterAnisotropic))
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT,
getAnisotropy());
ok the npot2 extension could lead to a driver crash because it is quite
new and perhaps buggy. But setting OSG_IGNORE_EXTENSIONS should fix the
problem that is really weird.
Andreas
This is a long shot, but I wanted to see if anyone else out there has
been having similar problems to mine. I'm getting mysterious
segfaults running an app with a very complex scenegraph.
Occasionally, my machine just reboots. I'm using FC4 with a GeForce
7800 (driver version1.0-7676).
Looking at stack traces were not helping me. So by comparing with
older OpenSG versions I found that I could fix my problems by
commenting out the following lines in OSGTextureChunk.cpp:
666 if(win->hasExtension(_extTextureFilterAnisotropic))
667 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT,
getAnisotropy());
971 !win->hasExtension(_arbTextureNonPowerOfTwo) &&
1297 || win->hasExtension(_arbTextureNonPowerOfTwo)
I also tried using
export
OSG_IGNORE_EXTENSIONS=GL_ARB_texture_non_power_of_two,GL_EXT_texture_filter_anisotropic
but that does not help.
Has anyone else had any problems like this lately?
--
Terry Welsh - mogumbo 'at' gmail.com
www.reallyslick.com | www.infiscape.com | www.vrsource.org
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users