Re: saving an object in Performer

New Message Reply Date view Thread view Subject view Author view

Ramya D. (ramya++at++giasbga.vsnl.net.in)
Mon, 27 Oct 1997 07:57:01 +0530 (IST)


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

----------------------------------------------
Madhavi D R
Project Manager
Aeronautical Developemtn Agency
Bangalore - 560 017
India

=======================================================================
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.