Hi J.P.,
J.P. Delport schrieb:
Hi Peter,
thanks for looking into this.
Peter Hrenka wrote:
First you must call dirty() on vertices_
and normals_ (otherwise the VBO will not
be updated at all).
Will do this too. I'll have to do some more reading on VBOs, because I'm
not sure if there is a VBO per geometry, one per vertex/normal array or
one for the combination.
Generally there is one VBO per geometry (but you could share them
between several Geometries). The Geometry will put all Arrays
(e.g. vertices, normals, colors) into "its" VBO. This only works when
you are on the fast path, i.e. all bindings are per vertex.
Cheers,
Peter
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier,
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Michel Lepert
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org