Hi Juan, This sounds very much like an OpenGL bug. Display lists have been a part of the OSG right the start and thoroughly tested out. ATI's linux drivers are very much less well ground in though...
Robert. On 11/23/06, Juan Hernando Vieites <[EMAIL PROTECTED]> wrote:
Hello everybody, I'm getting a very strange behaviour when using vertex attribute arrays. In short, no geometry is rendered when I set a vertex attribute array on a Geometry object. I'm using version 1.2.0 in Linux with an ATI FireGL X3. After making a lot of tests I've reduced the test case to the source attached. I'm using the cow model. If I run the code as is, there is no rendering at all, however, if I press 's' a count of 1 drawable is reported. Actually, I have to press s several undetermined times because the few first times the instrumentation doesn't appear. When I disable display lists, in the beginning nothing is rendered neither, but when at last the instrumentation appears, so does the cow. If use disable fast path and use inmediate mode, the cow is displayed from the beginning. The same happens if a attach a shader program that actually uses the vertex attribute (overall or per vertex, it't the same). If a put a sphere in a ShapeDrawable in another Geode contained int the cow Group, the sphere is rendered all the time, but if I put a new Geometry that shares vertices and primitives with the cow but nor state, neither uses vertex attribs, that geometry is rendered in the very first frame and then disappears (until the faulty geometry appears again). I've also tried with different vertex attrib numbers (is there anywhere where the minimum vertex attrib number you can use is specified because 0 seems to be reserved for the vertex themselves). I haven't seen this behaviour in this cases: OSG 0.9.9 nVidia card OSG 0.9.9 executing remotely through ssh -X with ATI FireGL in the local machine I can't test 1.2.0 in the nVidia because my compilation of Producer doesn't recognizes the right OpenGL version (?) (1.2 instead os 2.0) and there are no 1.2.0 precompiled binaries for the OS instaled. Is this a bug in my code, the ATI driver or OSG itself?. I'm not intereseted in display lists since I want to change vertex attributes dynamically so, if there is a way to hardcode the 's' key workaround I'd like to know it. Thank you very much, Best regards, Juan _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/