Hello Antoine,
geometry->dirtyDisplayList();
Try calling
geometry->dirtyBound();
as well. If you don't, the bounds of the geometry are never updated. A
line with both endpoints at the same place will most certainly be culled
by small feature culling, and since you never update the bounds it will
always be culled for that same reason.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org