From: Stace Peterson (stacep++at++sgi.com)
Date: 07/06/2005 17:30:17
Sylvi,
The loadMultiFile is used primarily for specifying cube maps, so I don't
think that is what you want to use. If your 3d texture is completely in
a single image file which is loadable on that platform, then a single
loadFile call should be enough. Internally, Performer will determine
the texture is 3d based upon the dimensions of the image data.
However, I think the situation you may be in are several layers of the
texture in separate image files. In this case, you want to load each
layer into a separate texture, grab the image data from each of these
textures, and then combine the layers to create the set of data to load
via a single pfTexture::setImage().
Hope this helps.
Stace
-- ------------------------------------------------------------------ Stace Peterson stacep++at++sgi.com Silicon Graphics, Inc. (650) 933-2323
This archive was generated by hypermail 2b29 : Wed Jul 06 2005 - 17:30:18 PDT