Randy Stiles (stiles++at++aic.lockheed.com)
Wed, 24 Jan 1996 12:00:28 -0800
By doing
% cd /usr/lib/libpfdb
% nm -Bo *.so | grep -i store
you will find that there are two store functions for Performer
2.0, one for designer workbench and one for medit.
I compiled some code to try these. On my performer scene
pfdStoreFile with the medit extension died while saving.
The call to pfdStoreFile with the *.dwb extension did save
to a largish file, but reloading that same file into Performer
2.0 perfly died.
They both probably have a small bug or two.
I am thinking a performer 2.0 store function for inventor would
do the inverse of what happens in pfiv.C, i.e.
traverse the perforemr scene graph and build an Inventor 2.1
scene graph in memory, then use SoDb to output it an inventor
file. The reason for using Invnetor 2.1 would be a closer
match to the types of Performer nodes. SoLOD, SoSwitch, etc.
-Randy
Bernard Leclerc wrote:
>
> On Jan 23, 10:26am, Randy Stiles wrote:
>
> > I also would like to know the status of the pfdStoreFile_iv
> > utility for writing out Performer scenes to inventor format.
>
> Is there actually a single "loader" capable of storing a Performer scene graph
> into its own format? That is, is there a single implementation of the function
> pfdStoreFile(filename, node)? See the man page pfdConverter(3pf).
>
> I would be very interested in such functionality in order to implement a cheap
> and fast conversion utility.
-- // Randy Stiles stiles++at++aic.lockheed.com Orgn 9620 Bldg 255 // 415.354.5256 fax: 415.354.5235 3251 Hanover Street // Lockheed Martin Advanced Technology Center Palo Alto, CA 94304-1191 // http://vet.parl.com/~vet/people/stiles/
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:18 PDT