Re: [info-performer] Pf on linux can not load textures with windows style slashes

Date view Thread view Subject view Author view

From: Allan Schaffer (allan++at++sgi.com)
Date: 06/19/2003 08:45:17


Hi Devrim,

Devrim Erdem wrote:
> Am I correct that performer on linux can not load a texture which
> contains windows style slashes ? To my understanding this needs to be
> possible because according to my experiments pfTexture::loadFile also
> corrects the slashes in a OS dependent way and changes the originally
> user provided texture file name. Therefore when the scenegraph is saved
> on windows, it contains texture filenames with windows style slashes.
>
> This makes it impossible for us to create a pfb/pfa with textures on
> windows and load them on linux/irix.

Yikes. Will add this into our bug queue (it's #893651).

Possible workarounds --

  - tweak the PFB loader to deal with \ and /
  - embed the textures directly into the PFB
      pfdConverterMode_pfb(PFPFB_SAVE_TEXTURE_IMAGE, PF_ON);

Allan

-- 
Allan Schaffer                                            allan++at++sgi.com
Engr. Manager, Core Rendering                            1-650-933-2160
Silicon Graphics                                     http://www.sgi.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jun 19 2003 - 08:43:04 PDT