formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Manager

# fz_rads_parm_enum

Description

Radiosity options parameters. This enum identifies which option is wanted to retrieve or change. This is used with the fz_rads_get_parm, radiosity functions.

enum fz_rads_parm_enum {

FZ_RADS_PARM_PATCHES,

FZ_RADS_PARM_POLYGONS,

FZ_RADS_PARM_LITE_MENU,

FZ_RADS_PARM_SHADOWS_OBSOLETE,

FZ_RADS_PARM_DIRECT_ILLUM_OBSOLETE,

FZ_RADS_PARM_AREA_LN_LITE,

FZ_RADS_PARM_VIEW_DEP,

FZ_RADS_PARM_RESOLVE_ISECT,

FZ_RADS_PARM_IGNORE_MESH_ATTR,

FZ_RADS_PARM_SAMP_MIN,

FZ_RADS_PARM_SAMP_MAX,

FZ_RADS_PARM_SAMP_AT_VERT,

FZ_RADS_PARM_SAMP_AT_CTR,

FZ_RADS_PARM_SAMP_QUALITY,

FZ_RADS_PARM_ADAPTIVE_MESH,

FZ_RADS_PARM_DENSITY,

FZ_RADS_PARM_THRESHOLD,

FZ_RADS_PARM_CUTOFF,

FZ_RADS_PARM_MESH_STOP,

FZ_RADS_PARM_MESH_STOP_ITER,

FZ_RADS_PARM_TERM,

FZ_RADS_PARM_TERM_LITE_ABS,

FZ_RADS_PARM_TERM_ITER,

FZ_RADS_PARM_APPLY_REFL_AMBT,

FZ_RADS_PARM_PVIEW_UPDATE,

FZ_RADS_PARM_PVIEW_TYPE,

FZ_RADS_PARM_PVIEW_SECS,

FZ_RADS_PARM_PVIEW_ITER,

FZ_RADS_PARM_PVIEW_PERCENT,

FZ_RADS_PARM_PVIEW_EACH_LITE,

FZ_RADS_PARM_MODE,

FZ_RADS_PARM_SIMPLE_QUALITY,

FZ_RADS_PARM_ADAPT_QUALITY,

FZ_RADS_PARM_USE_BBOX,

FZ_RADS_PARM_TERM_TIME };

Members

FZ_RADS_PARM_PATCHES

Percentage of patches.

Type: double

Default Value: 60.0

Range: 0.0 <= value <= 100.0

FZ_RADS_PARM_POLYGONS

Number of polygons per patch.

Type: float

Default Value: 3.0

Range: 1.0 <= value <= 1000.0

FZ_RADS_PARM_LITE_MENU

How to deal with light intensities.

Type: fz_rads_lite_intens_enum

Default Value: FZ_RADS_LITE_INTENS_LITE

FZ_RADS_PARM_SHADOWS_OBSOLETE

Whether or not to calculate shadows. Obsolete: 6.5.0.0. Now shadows are always calculated.

Type: fzrt_boolean

Default Value: TRUE

FZ_RADS_PARM_DIRECT_ILLUM_OBSOLETE

Whether or not to render direct illumination. Obsolete: 6.5.0.0. This parameter has been replaced by the FZ_RADS_PARM_MODE option, which includes this as the FZ_RADS_PARM_MODE_DIRECT_ILLUM option.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_AREA_LN_LITE

Whether or not to include area/line lights in direct illumination.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_VIEW_DEP

Whether or not to make solution view dependent.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_RESOLVE_ISECT

Whether or not to resolve intersections.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_IGNORE_MESH_ATTR

Whether or not to ignore object/face meshing attributes.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_SAMP_MIN

Minimum number of samples.

Type: short

Default Value: 3

Range: 1 <= value <= 32767

FZ_RADS_PARM_SAMP_MAX

Maximum number of samples.

Type: short

Default Value: 6

Range: 1 <= value <= 32767

FZ_RADS_PARM_SAMP_AT_VERT

Whether or not to sample at vertices.

Type: fzrt_boolean

Default Value: TRUE

FZ_RADS_PARM_SAMP_AT_CTR

Whether or not to sample at centers.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_SAMP_QUALITY

Quality of sampling.

Type: fz_rads_squality_enum

Default Value: FZ_RADS_SQUALITY_BETTER

FZ_RADS_PARM_ADAPTIVE_MESH

Whether or not to do adaptive meshing.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_DENSITY

Mesh density.

Type: double

Default Value: 65.0

Range: 0.0 <= value <= 100.0

FZ_RADS_PARM_THRESHOLD

Mesh threshold.

Type: double

Default Value: 25.0

Range: 0.0 <= value <= 100.0

FZ_RADS_PARM_CUTOFF

Mesh cutoff.

Type: float

Default Value: 0.0

Range: 0.0 <= value <= 100.0

FZ_RADS_PARM_MESH_STOP

How to stop meshing.

Type: fz_rads_mesh_stop_enum

Default Value: FZ_RADS_MESH_STOP_AFTER_LITES

FZ_RADS_PARM_MESH_STOP_ITER

Number of iterations at which to stop meshing.

Type: fzrt_int

Default Value: 100

Range: 1 <= value <= 1000000000

FZ_RADS_PARM_TERM

How to stop radiosity solution.

Type: fz_rads_term_enum

Default Value: FZ_RADS_TERM_LITE_ABSORB

FZ_RADS_PARM_TERM_LITE_ABS

Terminate radiosity solution after this percentage of light is absorbed.

Type: double

Default Value: 60.0

Range: 0.001 <= value <= 99.999

FZ_RADS_PARM_TERM_ITER

Terminate radiosity solution after this number of iterations has occurred.

Type: fzrt_int

Default Value: 500

Range: 1 <= value <= 1000000000

FZ_RADS_PARM_APPLY_REFL_AMBT

Apply reflected light as ambient.

Type: fzrt_boolean

Default Value: TRUE

FZ_RADS_PARM_PVIEW_UPDATE

Whether or not to update a preview display during Radiosity.

Type: fzrt_boolean

Default Value: TRUE

FZ_RADS_PARM_PVIEW_TYPE

How to update the preview Radiosity display.

Type: fz_rads_pview_update_enum

Default Value: FZ_RADS_PVIEW_UPDATE_SECS

FZ_RADS_PARM_PVIEW_SECS

Number of seconds to wait until update of preview display.

Type: fzrt_int

Default Value: 20

Range: 1 <= value <= 1000000000

FZ_RADS_PARM_PVIEW_ITER

Number of iterations to wait until update of preview display.

Type: fzrt_int

Default Value: 10

Range: 1 <= value <= 1000000000

FZ_RADS_PARM_PVIEW_PERCENT

Percentage of completion to wait until update of preview display.

Type: float

Default Value: 5.0

Range: 0.001 <= value <= 99.999

FZ_RADS_PARM_PVIEW_EACH_LITE

Whether or not to update preview display after each primary light source.

Type: fzrt_boolean

Default Value: FALSE

FZ_RADS_PARM_MODE

This affects the general algorithms employed to compute Radiosity solution, which also affects what other parameters are available for changing.

Type: fz_rads_mode_enum

Default Value: FZ_RADS_MODE_FG_SUPPORT

Availability: 6.5.0.0

FZ_RADS_PARM_SIMPLE_QUALITY

Simple slider to control Radiosity solution's quality.

Type: float

Range: 0 <= value <= 1

Availability: 6.5.0.0

FZ_RADS_PARM_ADAPT_QUALITY

Simple slider to control Radiosity solution's adaptive meshing quality for the 'Render Direct Illumination' mode only.

Type: float

Range: 0 <= value <= 1

Availability: 6.5.0.0

FZ_RADS_PARM_USE_BBOX

Whether or not to use bounding box for Radiosity solution.

Type: fzrt_boolean

Default Value: FALSE

Availability: 6.5.0.0

FZ_RADS_PARM_TERM_TIME

Terminate radiosity solution after this length of time (in seconds).

Type: float

Default Value: 120

Range: value >= 0

Availability: 6.5.0.0

Availability

5.0.0.0

See Also

fz_rads_get_parm,

Defined in

fz_rads_api.h