XSI_Image

Stores information about a specific image used in the scene. All crop parameters are animatable. The fcurve names are:

• CROP-MIN-X

• CROP-MAX-X

• CROP-MIN-Y

• CROP-MAX-Y

 

This template is not available in SI|3D.

 

This template corresponds to the CSLImage class.

Introduced

3.6

Template

XSI_Image <name> {
   // Source Info
   <filename>,
   <imageX>,
   <imageY>,
   <channel_count>, 
   <bitsPerPixels>, 
   // Crop
   <Minimun X>,
   <Maximum X>,
   <Minimun Y>,
   <Maximum Y>,
   // Sequence section
   <frame_rate>,     // 0 -> Scene Frame Rate, otherwise 
                     // this is the value
   <frame_count>,
   <first>,
   <last>

   XSI_ImageFX // contains the main set of customization parameters for image clip effects
   XSI_ImageFX2 // contains the extended set of parameters

   XSI_UserKeyword
} 

Members

Member name

Description

filename

Name of source file.

imageX

Image size in X.

imageY

Image size in Y.

channel_count

Number of channels. Possible values are:

• 3 = RGB

• 4 = RGBA

bitsPerPixels

Number of bits per pixel. Possible values:

• 24

• 32

minX

Leftmost X of the cropping rectangle.

maxX

Rightmost X of the cropping rectangle.

minY

Leftmost Y of the cropping rectangle.

maxY

Rightmost Y of the cropping rectangle.

frame_rate

Specifies frame rate to use. If this value is 0, the scene frame rate is assumed; otherwise, this value is the new frame rate.

frame_count

Number of frames for sequence.

first

Specifies frame number for first frame in sequence.

last

Specifies frame number for last frame in sequence.

Example

XSI_ImageLibrary { 
   1, 
   XSI_Image Geny_3_5_pic { 
       "\\mount_point\database\Pictures\Geny_3.5.pic", 
       262, 
       312, 
       4, 
       4, 
       0.232000, 
       0.741000, 
       0.127000, 
       0.736000, 
       29.970030, 
       0, 
       0, 
       0, 
       SI_FCurve { 
          "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
          "CROP-MIN-X", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,0.232000,0.000000,0.000000,3.000000,0.000000,
          10.000000,0.000000,-3.000000,0.000000,0.000000,0.000000,
       }

       SI_FCurve { 
          "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
          "CROP-MAX-X", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,0.741000,0.000000,0.000000,3.000000,0.000000,
          10.000000,1.000000,-3.000000,0.000000,0.000000,0.000000,
       }

       SI_FCurve { 
          "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
          "CROP-MIN-Y", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,0.127000,0.000000,0.000000,3.000000,0.000000,
          10.000000,0.000000,-3.000000,0.000000,0.000000,0.000000,
       }

       SI_FCurve { 
          "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
          "CROP-MAX-Y", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,0.736000,0.000000,0.000000,3.000000,0.000000,
          10.000000,1.000000,-3.000000,0.000000,0.000000,0.000000,
       }

       XSI_ImageFX { 
          15.262000, 
          91.521004, 
          93.016998, 
          13.217000, 
          0.848000, 
          0.940000, 
          0, 
          1, 
          128, 
          128, 
          0, 
          0, 
          0, 
          0, 
          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "HUE", 
              "CUBIC", 
              1, 
              5, 
              2, 
              1.000000,15.262000,0.000000,0.000000,3.000000,0.000000,
              10.000000,0.000000,-3.000000,0.000000,0.000000,0.000000,
          }

          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "GAIN", 
              "CUBIC", 
              1, 
              5, 
              2, 
              1.000000,91.521004,0.000000,0.000000,3.000000,0.000000,
              10.000000,100.000000,-3.000000,0.000000,0.000000,0.000000,
          }

          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "SATURATION", 
              "CUBIC", 
              1, 
              5, 
              2, 
              1.000000,93.016998,0.000000,0.000000,3.000000,0.000000,
              10.000000,150.000000,-3.000000,0.000000,0.000000,0.000000,
          }

          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "BRIGHTNESS", 
              "CUBIC", 
              1, 
              5, 
              2, 
              1.000000,13.217000,0.000000,0.000000,3.000000,0.000000,
              10.000000,-5.237000,-3.000000,0.000000,0.000000,0.000000,
          }

          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "BLUR_RADIUS", 
              "CUBIC", 
              1, 
              5, 
              2, 
              1.000000,0.848000,0.000000,0.000000,3.000000,0.000000,
              10.000000,13.965000,-3.000000,0.000000,0.000000,0.000000,
          }

          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "BLUR_AMOUNT", 
              "CUBIC", 
              1, 
              5, 
              2, 
              1.000000,0.940000,0.000000,0.000000,3.000000,0.000000,
              10.000000,0.150000,-3.000000,0.000000,0.000000,0.000000,
          }

          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "FLIP-X", 
              "CONSTANT", 
              1, 
              1, 
              2, 
              1.000000,0.000000,
              10.000000,0.000000,
          }

          SI_FCurve { 
              "cube.Material.Phong.diffuse_blend.Image.Geny_3_5_pic", 
              "FLIP-Y", 
              "CONSTANT", 
              1, 
              1, 
              2, 
              1.000000,0.000000,
              10.000000,0.000000,
          }

       }

   }

}


Autodesk Crosswalk v3.2