r3rmpbm

r3rmpbm

Class

real/raytr/r3rmpbm.h

Library

r3raytr

Description:

Bitmap property in rendering.

See Also

real/raytr/r3rmprop.h

Super Class

r3Rmatprop

R3CLID_RMATPROP

JavaScript

r3Rmpbitmap

Class Identifier

R3CLID_RMPBITMAP - 428

Methods

Attributes

Bitmap, TileX, TileY, XFlags, YFlags, Width, Height, PixelReader, PixelReaderContext, OutputAddr, BitmapName, CurrentFrame, BleedX, BleedY, SmoothRadius, Silent, SkipLink, UseDefaultBindings, MipMapAA,

Registration

int R3RegisterRMatPropBitmapClass(R3APP *app);

Bitmap

Attribute

Bitmap

Identifier

R3RMPBMA_Bitmap

JavaScript type

Object

C type

R3OBJ*

Description

'R3RMPBMA_Bitmap' not documented

Syntax


value = jsobj.GetBitmap();


R3OBJ* value;
R3GetAttrs(r3obj, R3RMPBMA_Bitmap, &value, R3TAG_END);

TileX

Attribute

TileX

Identifier

R3RMPBMA_TileX

JavaScript type

Integer

C type

R3INT

Description

'R3RMPBMA_TileX' not documented

Syntax


jsobj.SetTileX(value);
value = jsobj.GetTileX();


R3INT value = ...;
R3SetAttrs(r3obj, R3RMPBMA_TileX, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_TileX, &value, R3TAG_END);

TileY

Attribute

TileY

Identifier

R3RMPBMA_TileY

JavaScript type

Integer

C type

R3INT

Description

'R3RMPBMA_TileY' not documented

Syntax


jsobj.SetTileY(value);
value = jsobj.GetTileY();


R3INT value = ...;
R3SetAttrs(r3obj, R3RMPBMA_TileY, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_TileY, &value, R3TAG_END);

XFlags

Attribute

XFlags

Identifier

R3RMPBMA_XFlags

JavaScript type

Integer

C type

R3INT

Description

all together

Syntax


value = jsobj.GetXFlags();


R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_XFlags, &value, R3TAG_END);

YFlags

Attribute

YFlags

Identifier

R3RMPBMA_YFlags

JavaScript type

Integer

C type

R3INT

Description

'R3RMPBMA_YFlags' not documented

Syntax


value = jsobj.GetYFlags();


R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_YFlags, &value, R3TAG_END);

Width

Attribute

Width

Identifier

R3RMPBMA_Width

JavaScript type

Integer

C type

R3INT

Description

'R3RMPBMA_Width' not documented

Syntax


value = jsobj.GetWidth();


R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_Width, &value, R3TAG_END);

Height

Attribute

Height

Identifier

R3RMPBMA_Height

JavaScript type

Integer

C type

R3INT

Description

'R3RMPBMA_Height' not documented

Syntax


value = jsobj.GetHeight();


R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_Height, &value, R3TAG_END);

PixelReader

Attribute

PixelReader

Identifier

R3RMPBMA_PixelReader

JavaScript type

String

C type

void*

Description

address of function void ReadPixel(void *context, int x, int y) (read-only)

Syntax


value = jsobj.GetPixelReader();


void* value;
R3GetAttrs(r3obj, R3RMPBMA_PixelReader, &value, R3TAG_END);

PixelReaderContext

Attribute

PixelReaderContext

Identifier

R3RMPBMA_PixelReaderContext

JavaScript type

String

C type

void*

Description

address of context data for ReadPixel (read-only)

Syntax


value = jsobj.GetPixelReaderContext();


void* value;
R3GetAttrs(r3obj, R3RMPBMA_PixelReaderContext, &value, R3TAG_END);

OutputAddr

Attribute

OutputAddr

Identifier

R3RMPBMA_OutputAddr

JavaScript type

String

C type

void*

Description

address where the result is after ReadPixel (read-only)

Syntax


value = jsobj.GetOutputAddr();


void* value;
R3GetAttrs(r3obj, R3RMPBMA_OutputAddr, &value, R3TAG_END);

BitmapName

Attribute

BitmapName

Identifier

R3RMPBMA_BitmapName

JavaScript type

String

C type

char*

Description

'R3RMPBMA_BitmapName' not documented

Syntax


jsobj.SetBitmapName(value);
value = jsobj.GetBitmapName();


char* value = ...;
R3SetAttrs(r3obj, R3RMPBMA_BitmapName, value, R3TAG_END);
char* value;
R3GetAttrs(r3obj, R3RMPBMA_BitmapName, &value, R3TAG_END);

CurrentFrame

Attribute

CurrentFrame

Identifier

R3RMPBMA_CurrentFrame

JavaScript type

Integer

C type

R3INT

Description

current animation frame

Syntax


jsobj.SetCurrentFrame(value);


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

BleedX

Attribute

BleedX

Identifier

R3RMPBMA_BleedX

JavaScript type

Integer

C type

R3INT

Description

'R3RMPBMA_BleedX' not documented

Syntax


jsobj.SetBleedX(value);
value = jsobj.GetBleedX();


R3INT value = ...;
R3SetAttrs(r3obj, R3RMPBMA_BleedX, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_BleedX, &value, R3TAG_END);

BleedY

Attribute

BleedY

Identifier

R3RMPBMA_BleedY

JavaScript type

Integer

C type

R3INT

Description

'R3RMPBMA_BleedY' not documented

Syntax


jsobj.SetBleedY(value);
value = jsobj.GetBleedY();


R3INT value = ...;
R3SetAttrs(r3obj, R3RMPBMA_BleedY, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3RMPBMA_BleedY, &value, R3TAG_END);

SmoothRadius

Attribute

SmoothRadius

Identifier

R3RMPBMA_SmoothRadius

JavaScript type

Number

C type

R3FLOAT

Description

smoothing filter size (0-0.5)

Syntax


jsobj.SetSmoothRadius(value);
value = jsobj.GetSmoothRadius();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3RMPBMA_SmoothRadius, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3RMPBMA_SmoothRadius, &value, R3TAG_END);

Silent

Attribute

Silent

Identifier

R3RMPBMA_Silent

JavaScript type

Boolean

C type

R3BOOL

Description

No error messages of missing files

Syntax


jsobj.SetSilent(value);
value = jsobj.GetSilent();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3RMPBMA_Silent, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3RMPBMA_Silent, &value, R3TAG_END);

SkipLink

Attribute

SkipLink

Identifier

R3RMPBMA_SkipLink

JavaScript type

Boolean

C type

R3BOOL

Description

if TRUE do not try linking the image

Syntax


jsobj.SetSkipLink(value);


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

UseDefaultBindings

Attribute

UseDefaultBindings

Identifier

R3RMPBMA_UseDefaultBindings

JavaScript type

Boolean

C type

R3BOOL

Description

overrules binding list

Syntax


jsobj.SetUseDefaultBindings(value);


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

MipMapAA

Attribute

MipMapAA

Identifier

R3RMPBMA_MipMapAA

JavaScript type

Number

C type

R3FLOAT

Description

mipmap antialias factor 0...1...

Syntax


jsobj.SetMipMapAA(value);
value = jsobj.GetMipMapAA();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3RMPBMA_MipMapAA, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3RMPBMA_MipMapAA, &value, R3TAG_END);

flags

R3BMF_TILE
R3BMF_FLIP
R3BMF_GRADE
R3BMF_EDGE
R3BMF_BLEED

<sect6> <title>r3rmpbum</title>

r3rmpbum

Class

real/raytr/r3rmpbum.h

Library

r3raytr

Description:

Bumpmap property in rendering.

See Also

real/raytr/r3rmpbm.h

Super Class

r3Rmpbitmap

R3CLID_RMPBITMAP

JavaScript

r3Rmpbumpmap

Class Identifier

R3CLID_RMPBUMPMAP - 471

Methods

Attributes

ComputeHeight,

Registration

int R3RegisterRMatPropBumpmapClass(R3APP *app);

parent class

ComputeHeight

Attribute

ComputeHeight

Identifier

R3RMPBUA_ComputeHeight

JavaScript type

Boolean

C type

R3BOOL

Description

compute height field instead of direction field

Syntax


jsobj.SetComputeHeight(value);


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

R3BUMPDEGREE_0
R3BUMPDEGREE_1
R3BUMPDEGREE_2
R3BUMPDEGREE_3

</sect6>
<sect6> <title>r3rmpsm</title>

r3rmpsm

Class

real/raytr/r3rmpsm.h

Library

r3raytr

Description:

Shadow map property in rendering.

See Also

real/raytr/r3rmpbm.h

Super Class

r3Rmpbitmap

R3CLID_RMPBITMAP

JavaScript

r3Rmpshadowmap

Class Identifier

R3CLID_RMPSHADOWMAP - 1540

Methods

Attributes

TransparencyName, DistanceName, Size, MapAngle, IdName,

Registration

int R3RegisterRMatPropShadowmapClass(R3APP *app);

parent class

TransparencyName

Attribute

TransparencyName

Identifier

R3RMPSMA_TransparencyName

JavaScript type

String

C type

char*

Description

name of the channel that defines transparency (default 'Transparency')

Syntax


jsobj.SetTransparencyName(value);


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

DistanceName

Attribute

DistanceName

Identifier

R3RMPSMA_DistanceName

JavaScript type

String

C type

char*

Description

name of the channel that defines distance (default 'Distance')

Syntax


jsobj.SetDistanceName(value);


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

Size

Attribute

Size

Identifier

R3RMPSMA_Size

JavaScript type

Number

C type

R3FLOAT

Description

optional light source radius information

Syntax


jsobj.SetSize(value);


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

MapAngle

Attribute

MapAngle

Identifier

R3RMPSMA_MapAngle

JavaScript type

Number

C type

R3FLOAT

Description

optional tan(mapping angle/2) information of the coverage of shadow map

Syntax


jsobj.SetMapAngle(value);


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

IdName

Attribute

IdName

Identifier

R3RMPSMA_IdName

JavaScript type

String

C type

char*

Description

name of object identified channel

Syntax


jsobj.SetIdName(value);


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

</sect6>
<sect6> <title>r3rmpsig</title>

r3rmpsig

Class

real/raytr/r3rmpsig.h

Library

r3raytr

Description:

Signal trapper object

See Also

real/raytr/r3rmpbm.h

Super Class

r3Rmpbitmap

R3CLID_RMPBITMAP

JavaScript

r3Rmpsignaltrap

Class Identifier

R3CLID_RMPSIGNALTRAP - 1556

Attributes

Width, Height, RGB, Capture,

Registration

int R3RegisterRMatPropSignalTrapperClass(R3APP *app);

parent class

Width

Attribute

Width

Identifier

R3RMPSIA_Width

JavaScript type

Integer

C type

R3INT

Description

Syntax


jsobj.SetWidth(value);
value = jsobj.GetWidth();


R3INT value = ...;
R3SetAttrs(r3obj, R3RMPSIA_Width, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3RMPSIA_Width, &value, R3TAG_END);

Height

Attribute

Height

Identifier

R3RMPSIA_Height

JavaScript type

Integer

C type

R3INT

Description

Syntax


jsobj.SetHeight(value);
value = jsobj.GetHeight();


R3INT value = ...;
R3SetAttrs(r3obj, R3RMPSIA_Height, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3RMPSIA_Height, &value, R3TAG_END);

RGB

Attribute

RGB

Identifier

R3RMPSIA_RGB

JavaScript type

String

C type

void*

Description

R3FLOATCOLOR3 *. Note: set does not deallocate previous pool!

Syntax


jsobj.SetRGB(value);
value = jsobj.GetRGB();


void* value = ...;
R3SetAttrs(r3obj, R3RMPSIA_RGB, value, R3TAG_END);
void* value;
R3GetAttrs(r3obj, R3RMPSIA_RGB, &value, R3TAG_END);

Capture

Attribute

Capture

Identifier

R3RMPSIA_Capture

JavaScript type

Boolean

C type

R3BOOL

Description

if true signal capturing is enabled

Syntax


jsobj.SetCapture(value);


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

</sect6>