From: Radomir Mech (rmech++at++engr.sgi.com)
Date: 04/07/2003 09:40:45
Chee Tzuon wrote:
Hi Jason,
>
> Hi,
>
> Thanks to all for the help given for previous problems encountered. The solutions given are very useful.
>
> Currently, I'm running Performer 3.0 for Windows on a Pentium IV- 1GHz.
> 1) When i load performer town_ogl_pfi.pfb, a earthsky model and two esprit.flt (car) model. I still able get 60Hz of frame rate.
> But when i add in the VolFog model, the frame rate drastically drops to only 30Hz cutting down to only half. Is that possible?
> What could be the possible problem of this large cut of the frame rate?
>
>From the pfVolFog man page:
"Expect the draw time to increase because the scene is drawn twice
(three times if both patchy and layered fog are specified). In case of
a patchy fog there may also be several full-screen polygons being
drawn. "
> 2) From the Statistics, the APP=0.2, CULL=0.1, DRAW=8.8, Latency=2.2, it does not add up to the used 33.33ms for a 30Hz frame rate.
> Is there anything else i need to consider?
>
Draw times are measured after the last OpenGL command has been issued.
pfVolFog has this problem because of the full-screen polygons rendered
at the end of each frame. To get better times, set
pfVolFog:setVal(0x0a, 1) to force glFinish() after each frame (yes,
this switch is undocumented).
Radomir
This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 09:40:50 PDT