Re: droping frames again

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid)
Tue, 29 Oct 1996 13:56:56 -0800


On Oct 29, 7:01pm, Duvideo wrote:
> Subject: Re: droping frames again
> > Are you trying to save "real-time" 15 fps to disk? That clocks
> > at about 15 MB/s which is a bit steep unless you have two or
> > three striped drives.
>
> Thank for you answer to my problem. But perhaps I wasn't quite clear in
> expressing my situation.
>
> I run my "fly-by" application two times:
> - the first is run at 10 fps (locked) and the only thing I do
each frame
> is writing a line in a text file stating my coordinates (position and
> orientation) at the given frame.
> - the second time I run it I read the text file and position
myself in
> the first coordinate, save the resulting image and then read the next
> line... In this case I don't need to maintain any given frame rate,
> because my path coordinates are already stated in the file.
>
> The problem is that my coordinates are saved irregularly in the file,
> which prevents the resulting animation from beeing smooth.
>
> Things vary quite a bit when I change the PFPHASE option, but
no
> combination of FREE_RUN or LOCK has yet worked fine.
>
> Thank you very much
> Duvideo
>

This could be related to the pfMultiprocess mode you're in. If you have
seperate APP and DRAW then the APP could be updating your position before the
draw finishes saving a frame, then the next time you go to DRAW and hence
snapshot the screen you may have moved more than one update - a screen save can
be time consuming. For your second 'screen saving pass' try pfMultiProcess
PFMP_APPCULLDRAW:

               All stages are combined into a single process. A pfDispList is
               not used. pfDraw both culls and renders the scene.

Then the screen save would be bound to finish before the next APP position
update.

Cheers
Rob

-- 
________________________________________________________________
Rob Jenkins robj++at++csd.sgi.com
Silicon Graphics, Mtn View, California, USA
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

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:53:50 PDT

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