Hi Robert, That looks fine now. I notice that you have left in the code that sets the local variable 'base'. As far as I could see that was redundant, maybe I missed something.
The use of indices in the code is probably down to me. The model generating code is part of VTP. I vaguely recollect that I did the update to the vtp code when OSG went from geosets to geodes at 0.8 (or something like that cannot remember the classes involved) and used indices for simplicity as it fitted with the vtp mesh abstraction. Quite coincidently I was chatting to Ben last week and suggested that the indices could be removed and might improve performance! I guess I will have to look at it now! Roger > > I have just checked in the offseting of indices, the optimizer looks > ok when running across your test file. Could you check out the CVS > version and see how you get on? > > Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
