Re: Saving rgb files (pfuSaveImage)

New Message Reply Date view Thread view Subject view Author view

Simon Mills (simon++at++wgs.estec.esa.nl)
Mon, 22 Feb 1999 11:42:44 +0100


Colin Bannister wrote:
>
> Hello,
> I am attempting to save a series of images from a fly-through
> of a performer scene. To do this, I am using the routine pfuSaveImage
> alongside pfFrame in the part of the program that does the scene drawing.
> The image files are created with the correct resolution, but are all
> solid black. I suspect this is due to performer continuing to update buffers
> as pfuSaveImage attempts to save them. Could anyone suggest whether this
> analysis is correct? Can I force the program to wait on the save file
> completing before moving on? I have the frame rate set to 25 at present.

Make sure you are calling pfuSaveImage in the DRAW process. I put it
just before pfDraw() in the channel draw callback function.

> My goal is to acheive a series of rgb files which can be converted into a
> movie (mpeg etc.). Is my approach flawed, or will a simple modification
> to the program get it going?

I have done this and it works. The disadvantage is that the frame rate
really slows down and so interactive control can become difficult. I
have also used the 'mediarecorder' facility on an Octane to capture a
movie from the screen directly.

> Any help much appreciated.
>
> Colin
>
> --
>
> Dr. Colin Bannister
> Academic Computing Services
> Cripps Computing Centre Tel: 0115 9513326
> The University of Nottingham Fax: 0115 9513358
> Nottingham NG7 2RD
> www: http://www.nottingham.ac.uk/~cczcb/
> email: Colin.Bannister++at++nottingham.ac.uk

-- 
Regards, Simon
________________________________________________________________________

Simon C. Mills Modelling & Simulation Section (TOS-EMM) Tel: +31 (0)71 565 3725 European Space Agency (ESA/ESTEC) Fax: +31 (0)71 565 5419 Postbus 299, 2200AG Noordwijk e-mail: simon++at++wgs.estec.esa.nl The Netherlands http://www.estec.esa.nl/wmwww/EMM ________________________________________________________________________


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Feb 22 1999 - 02:43:03 PST

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