r3gradientr

r3gradientr

Class

plugins/postproc/gradient/r3gradientr.h

Library

r3gradient

Description:

Gradient rendering class.

See Also

real/raytr/r3postpr.h

Super Class

r3Postprocessor

R3CLID_POSTPROCESSOR

JavaScript

r3Gradientrender

Class Identifier

R3CLID_GRADIENTRENDER - 1573

Attributes

Brightness, InChannel, OutChannel, Monochrome,

Registration

int R3RegisterGradientRenderClass(R3APP *app);

Brightness

Attribute

Brightness

Identifier

R3GRADA_Brightness

JavaScript type

Number

C type

R3FLOAT

Description

edge threshold

Syntax


jsobj.SetBrightness(value);


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

InChannel

Attribute

InChannel

Identifier

R3GRADA_InChannel

JavaScript type

String

C type

char*

Description

name of examined channel

Syntax


jsobj.SetInChannel(value);


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

OutChannel

Attribute

OutChannel

Identifier

R3GRADA_OutChannel

JavaScript type

String

C type

char*

Description

name of output channel

Syntax


jsobj.SetOutChannel(value);


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

Monochrome

Attribute

Monochrome

Identifier

R3GRADA_Monochrome

JavaScript type

Boolean

C type

R3BOOL

Description

if true lenght of gradient vectors is outputted

Syntax


jsobj.SetMonochrome(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3GRADA_Monochrome, value, R3TAG_END);