Re: saving an object in Performer

New Message Reply Date view Thread view Subject view Author view

Simon Mills (simon++at++hal.wgs.estec.esa.nl)
Mon, 27 Oct 1997 09:27:12 +0100


Ramya/Ryan,

Ramya D. wrote:
>
> On Sun, 26 Oct 1997, Ryan Mckinley wrote:
>
> >
> > Hi -
> >
> > I have an aplication where I load many .flt files and combine them in
> > many ways to produce a new object. I want to save this object, and have
> > it load the next time I run the program. I imagine there is a simple
> > way to do this, but don't see anything...
> >
>
> If U want to save the scene graph after editing - u can use the command
> line options "-w" of the sample perfly program!
> ie perfly -w outfile.ext infile.ext
>
> This however saves only in the "pfb" , "pfa", and "dwb" formats!
> U could also use the functions "pfdStoreFile_pfa", "pfdStoreFile_pfb", and
> "pfdStorFile_dwb" if u have ur application written on PErformer!
>
> Source code for these, is available in
> /usr/share/Performer/src/lib/libpfdb/libpfpfb/pfpb.c

You can also try the "pfconv" command that comes with Performer. This
program performs a pfdLoadFile_xxx and a pfdWriteFile_pfb to convert ANY
database Performer can load into a fast loading .pfb Performer binary
file WITHOUT displaying anything (and so is more convenient for batch
convertions).

-- 
Regards, Simon

====================================================================== Simon Mills Silicon Worlds S.A. c/o System Simulation Section (WAS) Automation & Informatics Department European Space Research And Technology Centre (ESTEC) Postbus 299 e-mail: simon++at++wgs.estec.esa.nl 2200AG Noordwijk phone: +31-(0)71-565-3725 The Netherlands fax: +31-(0)71-565-5419 ====================================================================== ======================================================================= 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:56:07 PDT

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