El Monday 21 January 2008 18:12:50 Michele Bosi escribió: > I have a strange problem with my marching cube algorithm when the mesh > generated is bigger than 3700 polygons more or less (I am using > indexed polygons). > The problem seems to be the Linux MESA driver (Ubuntu 7.04) since > under WinXP everything works well. > I also tried to disable the display lists and VBOs to see if the > driver reacted in anyway but with no result. > > Did anyone experienced a similar problem? > Is there any OSG/OpenGL limit (maybe platform or driver dependent) to > the polygons one can insert in an osg::DrawElementsUInt? > Cutting the mesh into 3500 polygon chunks could be a temporary (and > poor) solution... any other suggestion? > > Thanks, > Michele
There were some problems belonging to the versions of mesa-glx package that Ubuntu 7.04 and 7.10 shipped (I think it is solved on 7.10 now). I had crashes on 7.04 while editing meshes in Blender related to and out-of-bounds error with VBOs. I read somewhere that new versions of Mesa try to use VBOs under the hood in the most situations it can, so maybe this explains why activating/deactivating VBOs and display lists doesn't make a difference. Here is the bug error I posted time ago: https://bugs.launchpad.net/mesa/+bug/109405 With 7.04, you can either roll back to the 6.5.1 version or try to update the package in order to get a fix. You can also compile from source. Alberto _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

