Re: Time spent during Culling

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Tue, 10 Oct 95 9:46:59 PDT


>
> Hello,
>
> Because of a typo I made on the commandline my program got in the
> PFMP_APPCULLDRAW mode instead of what I usually have PFMP_APP_CULL_DRAW.
> When I looked at the stats, how I discovered the typo, I saw that
> culling only needed 0.8-0.9 ms for the very complex terrain
> database. But when I use separate processors for app cull and draw then
> cull needs about 9 ms to cull the database.
> My question: what is culling doing those extra 8 ms?
> Is it needed to copy the databse?
> Is there one of the PFMP_APPxxxx versions that is better for some
> applications or is it just try and look which is faster?
>
> Thanks in advance.
> Mario
>
>

When CULL and DRAW are in the same process they are "combined" so that
objects are drawn as they are culled. This avoids the overhead of
making a display list but the CULL will not show up in the stats -
it is mixed with the DRAW timing. If CULL and DRAW are in different processes,
the CULL builds a display list for the DRAW. You should experiment to
see which mode is best for you. If you have enough CPUs then CULL_DRAW
is probably best.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:57 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.