[osg-users] pulsating cull time with lightpoints
Robert Balfour
bob at BAL4.com
Thu Jan 17 03:47:38 PST 2008
I have a model of hundreds of lightpoints on the ground, each lightpoint
with an associated small light model (taxiway lights at an airport).
Looking at this .osg model in osgviewer, the CULL time has a 2Hz pulse,
where it jumps from approx 6ms up to 12ms about twice a second.
Sometimes it will even get "stuck" up at 12+ms for a few seconds before
dropping back down to a 2Hz pulse.
What could potentially cause this pulsating cull time? I have other
sets of lightpoints/model (runway lights) that don't exhibit any
pulsating.
Also, even a 6ms cull time seems a bit expensive (the draw time is a
reasonable <1ms). Each of the hundreds of lightpoints and models were
positioned with a STATIC matrix transform (which would be flattened and
optimized out on load?), with a top DYNAMIC matrix transform over the
whole group (to position it in real-world airport coordinates). Can this
be re-organized to reduce the cull time?
Thanks.
Bob.
--
Robert E. Balfour, Ph.D.
Exec. V.P. & CTO, BALFOUR Technologies LLC
960 South Broadway, Suite 108, Hicksville NY 11801
Phone: (516)513-0030 Fax: (516)513-0027 email: bob at BAL4.com
More information about the osg-users
mailing list