Click or drag to resize
SoTexture3filenames Property

Names of file(s) from which to read texture image(s).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SoMFFilePathString filenames { get; }

Property Value

Type: SoMFFilePathString
Remarks

The standard image file formats are supported. See OIV.Inventor.Image.SoRasterImageRW for the list. If the filename is not an absolute path name, the list of directories maintained by OIV.Inventor.SoInput is searched. If the texture is not found in any of those directories, then the file is searched for relative to the directory from which the OIV.Inventor.Nodes.SoTexture3 node was read. For example, if an OIV.Inventor.Nodes.SoTexture3 node with a filename of "../tofu.rgb" is read from /usr/people/bob/models/food.iv, then /usr/people/bob/tofu.rgb will be read (assuming tofu.rgb isn't found in the directories maintained by OIV.Inventor.SoInput).

All images must have the same dimensions and number of components. Depth (number of slices) is determined by the number of file names.

Note that only 2D image file formats are currently supported. A 3D texture image can be read as a series of 2D image files.

See Also