From: Alexandre Naaman (naaman++at++laplace.engr.sgi.com)
Date: 03/11/2003 17:33:16
On Wed, 12 Mar 2003, Chee Tzuon wrote:
>
> Hi all,
>
> Thanks for the previous help given on rain creation and DOF access.
>
> Currently, using Visual C++ and Performer 3.0 on NT. I need to access a
> certain texture file from the slave HDD( D: ) and Performer is installed
> in the master HDD (C:) How do i specify the file path to load the file
> from? I have tried using pfFilePath but does not seems to work.
>
> Thanks
> Regards
> Jason
>
Hi Jason,
On NT the path delimiter is a semi-colon, not a colon. So you can call
pfFilePath as follows:
pfFilePath("C:\data;D:\data");
or ... use pfFilePathv() as follows:
pfFilePathv("D:\data",
"C:\data",
NULL);
et voila! you're all done. See the man page for pfFilePath() for more
info.
You may want to run your application and set the PFNYLEVEL to 7 to see
where Performer is looking for the data files if this still doesn't work
for you. (in your cmd shell type: set PFNFYLEVEL=7)
Hope this helps.
A+,
Alex.
This archive was generated by hypermail 2b29 : Tue Mar 11 2003 - 17:33:25 PST