Bernard Leclerc (bleclerc++at++cae.ca)
Mon, 10 Mar 1997 17:36:20 -0500
> I used pfdStoreFile in an attempt to create a .pfb file of a terrain
> model build in MultiGen. Well, it did speed up load time by a factor of
> 20, but the textures were not included. Any suggestions?
Richard, very often textures are stored with a full pathname, this allow
them to be located easily by the pfLoader. However, once converted to a
.pfb format by pfdStoreFile(), pathnames are stripped off from all texture
names. You should then use either PFPATH or pfFilePath() to indicate where
are the textures. Try
setenv PFPATH path1:path2:path3:...
or
pfFilePath("path1:path2:path3:...");
--
Bernard Leclerc CAE Electronics Ltd., 8585 Cote De Liesse
Technical Leader Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
bleclerc++at++cae.ca fax: +1 514 340 5496
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:52 PDT