Marcus Barnes (marcus++at++multigen.com)
Fri, 10 Nov 1995 11:00:30 -0800
[munch]
> When I try to load the database it can't resolve the external references.
> I have set the environment variable PFPATH to point to the right
> location.
I suspect that the "missing" external references are in a different location
than the path(s) you are setting. If PFPATH or FLTEXTERNPATH truly point to
the right directory(s) then the external references will be found.
> A collegue of mine used the method with the pfFilePath() function.
> This method works.
>
> Q: Is there a 'bug' in the flight 14 loader of Performer 1.2 that it
> doesn't look at the environment variable PFPATH when it can't find
> the file it's looking for?
No. I use PFPATH all the time myself. In fact, the loader is unaware of
PFPATH directly. It is implicitly referenced by pfFindFile(), which the loader
calls to find and open all databases. In addition, the loader temporarily
_appends_ the following directories to pfFilePath() the each time it is
invoked:
"." the current directory
"/usr/mg/Flt/Txt" the old MultiGen standard texture directory
$TXTPATH the current texture directory(s)
$FLTEXTERNPATH the current external reference directory(s)
The original pfFilePath() is restored each time the loader exits.
> Mario
> --
> Mario Veraart TNO Physics and Electronics Laboratory
> email: veraart++at++fel.tno.nl The Hague The Netherlands
> "We are human beings, not human doings.", Deepak Chopra
>-- End of excerpt from (Mario Veraart)
Regards.
--
__ ___ ____ _ ______ Marcus Barnes, Member Tech. Staff
/ |/ /_ __/ / /_( ) ____/__ ____ MultiGen Inc, 550 S. Winchester
/ /|_/ / / / / / __/ / / __/ _ \/ __ \ Blvd. STE 500, San Jose CA 95128
/ / / / /_/ / / / / / /_/ / __/ / / / PH:1-408-556-2654 FX:1-408-261-4102
/_/ /_/\__,_/_/\_\/_/\____/\___/_/ /_/ EMAIL: marcus++at++engr.multigen.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:02 PDT