What performance do you get when running the osglightpoint example? With vsync off I get 560Hz with the osglightpoint example.
As for getting the best peformance, you'll certainly get best peformance by balancing the database, grouping the light point into local groups. One LightPoint per LightPointNode certainly won't be efficient though, perhaps 10-100 would be fine. You could experiment with the size of batch that gets the best peformance.
W.r.t storage of data, I wouldn't have though loading from an .osga would make any difference.
Robert.
On 9/15/06, Brad Colbert <
[EMAIL PROTECTED]> wrote:
Hi folks,
I have a small pageable database (osga) and I'm populating it with light
points. I'm running into a performance issue, which may be totally
understandable, but I just want to make sure it makes sense. There are
790 lights, maybe I shouldn't go any further ;)... anyway they increase
my frame time by 20ms when they are in view.
I added all of the LightPoints to one LightPointNode. Should I create a
LightPoint per LPNode? I would think that dividing it may help the cull
but this is in the draw so I'm starting to think that this is some hard
limit.
Well, any insight would be great. Thanks.
-Brad
---
Renaissance Sciences Corporation
O/M: 480 290-3997
F: 425 675-8044
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
