Re: [info-performer] Questions from a pfNewb

Date view Thread view Subject view Author view

Simon.Mills++at++esa.int
Date: 06/18/2004 04:29:07


Yes, you should call it for each file type you will load. The usual Performer
demo way is to call pfdInitConverter with each file to load as the argument.
This is easy if the files to load are on the command line and can be seen in
many of the examples. For my applications often the files to load are in
configuration files so you can do a couple of things - check when a new file
type is encountered and init the conveter then or provide a command line
option to initialise all the file types you know you are going to load. I
took the latter approach mostly.

I would not advise doing a pfdInitConverter explicitly for every file type
Performe will load. I can imagine this would be a waste of time and memory
resources.

Regards, Simon
_______________________________________________________________________

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

|---------+------------------------------------------->
| | Alan Gifford |
| | <agifford++at++houston.rr.com> |
| | Sent by: |
| | owner-info-performer++at++performer.e|
| | ngr.sgi.com |
| | |
| | |
| | 10/06/2004 20:27 |
| | |
|---------+------------------------------------------->
>---------------------------------------------------------------------------------------------------------|
  | |
  | To: info-performer++at++sgi.com |
  | cc: |
  | Subject: [info-performer] Questions from a pfNewb |
>---------------------------------------------------------------------------------------------------------|

Hi everyone. I'm new to Performer. I have a really basic question here
about the pfdInitConverter() call. I am writing a program and it's
possible that it will be called on to load model files of every type
that Performer can handle. So, do I have to make one of these calls for
every single file type before calling pfConfig()? Is there a call that
will just load all the DSO's initially, or is this not the way it should
be done?

Thanks,
Alan

-----------------------------------------------------------------------
   List Archives, Info, FAQ: http://www.sgi.com/software/performer/
   Open Development Project: http://oss.sgi.com/projects/performer/
                Submissions: info-performer++at++sgi.com
            Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------

-----------------------------------------------------------------------
   List Archives, Info, FAQ: http://www.sgi.com/software/performer/
   Open Development Project: http://oss.sgi.com/projects/performer/
                Submissions: info-performer++at++sgi.com
            Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jun 18 2004 - 04:30:24 PDT