Linear blend emitter

Description

../../../_images/linearblend.jpg

AMOLED display modelled with linear blend emitters and distributions measured at several sub-pixel levels. Display emission measurements courtesy of ELDIM SA

Environment This emitter perform a linear blending of an arbitrary number of child emitters. The blending is controlled by a blend function (scalar shader) varying between 0 and 1.

For instance, if five children are defined, they will correspond to blend function values of 0, 0.25, 0.5, 0.75 and 1 respectively. Other blend function values interpolate linearly between the two nearest emitters.

This emitter allows controlling a surface emission which continuously depends on a parameter, by providing a set of intermediate emission properties.

Note

Using this feature requires an Advanced Edition license

Children Nodes

This node is an emitter list. It may have a variable number of emitter children.

Scalar shader blend The blend function
Emitter user-defined First emitter
Emitter user-defined Second emitter
Emitter user-defined ...

Parameters

none

Ocean XML 3.0 example

<emitter type="linearblend" name="green">
     <scalarshader type="texture" name="blend">
             <prm channel="G"/>
             <prm scale="1"/>
             <prm offset="0"/>
             <prm greypt="0.5"/>
             <prm uvscale="1"/>
             <image name="image" path="screenshot.exr"/>
     </scalarshader>
     <emitter type="hemispheremap" name="0" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_0.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="1" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_1.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="2" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_2.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="3" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_3.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="4" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_4.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="5" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_5.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="6" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_6.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="7" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_7.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
     <emitter type="hemispheremap" name="8" projection="equidistant" thetamax="90" photometry="radiance" multiplier="1">
             <image name="map" path="Green_8.exr"/>
             <spectrum type="uniform" name="base" value="1"/>
     </emitter>
</emitter>