Image Layer

2D Generator  -  This generator loads a still image and displays it.

ImageFileTextureGenerator ImageFileTextureGenerator ImageFileTextureGenerator ImageFileTextureGenerator

Smode supports the following image formats: .jpg , .png (with alpha), .psd (each layer can be imported separately), .tga , .tiff and .dds (BC1 and BC3 codec)

The most simple way to import a still image in a compo is to drag it from the file tree to the ElementTreeWorkspaceComponent Icon Element Tree :

ImageDragAndDrop ImageDragAndDrop

When selecting the image layer, you can move or resize it from the ViewportWorkspaceComponent Icon Viewport , like any other TextureLayer Icon 2D Layer .

Learn more about 2D compositing by reading: Basics of 2D Compositing .


Variables:

  • File: The image file
  • Sampling Parameters: Details on how the image is filtered and how it is displayed beyond the layer’s borders

Python

    Oil.createObject("ImageFileTextureGenerator")