r3blur

r3blur

Class

plugins/postproc/blur/r3blur.h

Library

r3blur

Description:

Blur rendering class.

See Also

real/raytr/r3postpr.h

Super Class

r3Postprocessor

R3CLID_POSTPROCESSOR

JavaScript

r3Blurrender

Class Identifier

R3CLID_BLURRENDER - 1532

Attributes

Size, Channel, TriggerChannel, TriggerLevel, GWeight, Iterations, Operation, NormalChannel, DistanceChannel,

Registration

int R3RegisterBlurRenderClass(R3APP *app);

Size

Attribute

Size

Identifier

R3BLURA_Size

JavaScript type

Integer

C type

R3INT

Description

blur width

Syntax


jsobj.SetSize(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3BLURA_Size, value, R3TAG_END);

Channel

Attribute

Channel

Identifier

R3BLURA_Channel

JavaScript type

String

C type

char*

Description

name of channel to be blurred

Syntax


jsobj.SetChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3BLURA_Channel, value, R3TAG_END);

TriggerChannel

Attribute

TriggerChannel

Identifier

R3BLURA_TriggerChannel

JavaScript type

String

C type

char*

Description

name of channel triggering the blur (or NULL)

Syntax


jsobj.SetTriggerChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3BLURA_TriggerChannel, value, R3TAG_END);

TriggerLevel

Attribute

TriggerLevel

Identifier

R3BLURA_TriggerLevel

JavaScript type

Number

C type

R3FLOAT

Description

unused

Syntax


jsobj.SetTriggerLevel(value);


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3BLURA_TriggerLevel, value, R3TAG_END);

GWeight

Attribute

GWeight

Identifier

R3BLURA_GWeight

JavaScript type

Number

C type

R3FLOAT

Description

amount of blur weighting by geom. continuity

Syntax


jsobj.SetGWeight(value);


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3BLURA_GWeight, value, R3TAG_END);

Iterations

Attribute

Iterations

Identifier

R3BLURA_Iterations

JavaScript type

Integer

C type

R3INT

Description

number of reps

Syntax


jsobj.SetIterations(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3BLURA_Iterations, value, R3TAG_END);

Operation

Attribute

Operation

Identifier

R3BLURA_Operation

JavaScript type

Integer

C type

R3INT

Description

blur operation , see operation codes below

Syntax


jsobj.SetOperation(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3BLURA_Operation, value, R3TAG_END);

NormalChannel

Attribute

NormalChannel

Identifier

R3BLURA_NormalChannel

JavaScript type

String

C type

char*

Description

name of normal channel for geom. weight

Syntax


jsobj.SetNormalChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3BLURA_NormalChannel, value, R3TAG_END);

DistanceChannel

Attribute

DistanceChannel

Identifier

R3BLURA_DistanceChannel

JavaScript type

String

C type

char*

Description

name of distance channel for geom. weight

Syntax


jsobj.SetDistanceChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3BLURA_DistanceChannel, value, R3TAG_END);

R3BLUROP_AVERAGE
R3BLUROP_MAX
R3BLUROP_MIN