Ai Image

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

The 'Image' node is a color shader which performs texture mapping using a specified image file. You can control the position, size, and rotation of this frame on the surface. You can control how the texture is tiled within the frame using the Scale UV, Flip, Wrap and Swap attributes.

Image Name

The image filename. udim token functionality is supported. For efficiency reasons, UDIM substitution is not supported if image.filename is linked.

Filter

Texel interpolation method used to filter the rendered image file. Cubic is slower but smoother, closest is faster but looks blocky when magnified.

Mipmap Bias

Mip-Mapping Bias offsets the computed Mip-Map level from which the image is sampled. A negative value will force a larger Mip-Map level (clearer image); a positive value will force a smaller Mip-Map level (blurrier image).

An example of mipmap image storage. The first image on the left is shown with filtered copies reduced in size.

Multiply

Multiplies the image by a constant.

Offset

Uniformly darkens or lightens the texture.

Swrap

Controls how a texture repeats on a large surface. Choose between periodic, black, clamp, mirror and file. The default wrap mode is 'periodic'. The default wrap mode for tiles (UDIM, etc) is 'mirror'. See below.

Twrap

Controls how a texture repeats on a large surface. Choose between periodic, black, clamp, mirror and file. The default wrap mode is 'periodic'. The default wrap mode for tiles (UDIM, etc) is 'mirror'.

'File' wrap mode uses the wrap setting encoded in the file itself (only applies to OpenEXR files). This is useful to preserve information about how a texture should wrap without manual correction afterwors. In certain cases, 'file' mode can prevent edges. For that to work you will need to make the correct choice when you generate mipmaps with 'maketx'. 


The example below shows an OpenEXR file used as a latlong skydome that has the file wrap modes set to 'periodic, clamp'. Generating mip maps with this mode prevents artifacts at the sphere poles. When you leave wrap modes with their default values (periodic, periodic) you can see a dot at the top of the sphere. However, if you set wrap modes to 'file' (and use a file that has the correct wrap modes in the metadata), the dot will no longer be visible.

Sscale

Scales the image.

Tscale

Scales the image.

Sflip

Flip (mirror) the image in the horizontal direction.

Tflip

Flip (mirror) the image in the vertical direction.

Single Channel

Read and outputs only the first channel of the image (which is usually R). You can force other channels by defining Start Channel.

  • No labels