r3imflar

r3imflar

Class

real/raytr/r3imflar.h

Library

r3raytr

Description:

Image brightness based lens flare rendering class.

See Also

real/raytr/r3postpr.h

Super Class

r3Postprocessor

R3CLID_POSTPROCESSOR

JavaScript

r3Imageflarerender

Class Identifier

R3CLID_IMAGEFLARERENDER - 710

Attributes

BrightnessLimit, MaxFlareCnt, Channel,

Registration

int R3RegisterImageFlareRenderClass(R3APP *app);

BrightnessLimit

Attribute

BrightnessLimit

Identifier

R3IMFLA_BrightnessLimit

JavaScript type

Number

C type

R3FLOAT

Description

min r+g+b that creates a flare

Syntax


jsobj.SetBrightnessLimit(value);


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

MaxFlareCnt

Attribute

MaxFlareCnt

Identifier

R3IMFLA_MaxFlareCnt

JavaScript type

Integer

C type

R3INT

Description

max number of generated flares

Syntax


jsobj.SetMaxFlareCnt(value);


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

Channel

Attribute

Channel

Identifier

R3IMFLA_Channel

JavaScript type

String

C type

char*

Description

channel to be examined

Syntax


jsobj.SetChannel(value);


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