Eyeon:Script/Reference/Applications/Fuse/Classes/Pixel

From VFXPedia

< Eyeon:Script | Reference | Applications | Fuse | Classes
Revision as of 00:54, 19 March 2008 by Daniel (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Parent Class: None

Pixel.

Contents

Methods:

ClearZeroes all pixel values to black

Members:

RRed
GGreen
BBlue
AAlpha
ZDepth
UU texture co-ordinate
VV texture co-ordinate
CoverageFraction of pixel covered by foreground object
ObjectIDUnique integer identifier for the pixel's object
MaterialIDUnique integer identifier for the pixel's material
NXX component of pixel's surface normal vector
NYY component of pixel's surface normal vector
NZZ component of pixel's surface normal vector
BgRRed component of background pixel fragment
BgGGreen component of background pixel fragment
BgBBlue component of background pixel fragment
BgAAlpha component of background pixel fragment
VectXX component of pixel's motion vector
VectYY component of pixel's motion vector
BackVectXX component of pixel's reverse motion vector
BackVectYY component of pixel's reverse motion vector

Other:

No attributes.


Tips for Pixel (edit)

  • The shortest way to create a Pixel instance is by providing the values for each channel in the constructor call:
p = Pixel({R = 0.1, G = 0.2, B = 0.3, A = 1})
  • PositionX, PositionY, and PositionZ are the position members. Fusion 6.31 added DisparityX and DisparityY. The member names are the same as in the ChannelOpOf method. They are slightly different from the values for the IMG_Channel attribute when constructing image objects though.