The option data structure pointed to by state->options has the following format, split here over three tables due to its size. The option structure may never be written to by shaders.
type | name | content |
---|---|---|
int | min_samples | minimum sampling level |
int | max_samples | maximum sampling level |
miColor | contrast | sampling contrast |
miColor | time_contrast | temporal sampling contrast |
miBoolean | samplelock | noise animation locking on/off |
char | render_space | coordinate space: 'c' for camera space, 'o' for object space |
int | task_size | rendered image rectangle size |
miCBoolean | pixel_preview | selective pixel sampling mode |
miCBoolean | task_preview | selective task sampling mode |
miCBoolean | visible_lights | have visible area lights in the scene |
miBoolean | strips | tessellation to strips and fans |
miCBoolean | no_lens | disable lens shaders |
miCBoolean | no_volume | disable volume shaders |
miCBoolean | no_geometry | disable geometry shaders |
miCBoolean | no_displace | disable displace shaders |
miUint1 | no_output | disable output shaders |
miCBoolean | no_merge | disable edge merging |
miCBoolean | no_hair | disable hair rendering |
miCBoolean | no_pass | disable sample passes |
miCBoolean | no_predisplace | disable displacement shader pre-sampling |
miTag | userdata | optional user data blocks |
miApprox | approx | approximation override |
miApprox | approx_displace | displacement approximation override |
miTag | contour_contrast | contour contrast shader |
miTag | contour_store | contour store shader |
miTag | inh_funcdecl | inheritance/traversal declaration |
miUint1 | diagnostic_mode | miSCENE_DIAG_ flag bitmap |
float | diag_photon_density | density for diagnostic photon mode |
float | diag_grid_size | grid size for diagnostic grid mode |
miBoolean | desaturate | fade to white, no clipping |
miBoolean | dither | enable frame buffer dithering |
miBoolean | nopremult | disable premultiplication |
int | colorclip | color clipping modes |
float | gamma | frame buffer gamma value, 1 for none |
miColor | luminance_weight | weights to calculate luminance |
int | no_images | highest frame buffer index plus 1 |
miTag | images_info | frame buffer information |
miTag | fb_dir | frame buffer directory |
Rendering algorithm options:
type | name | content |
---|---|---|
miBoolean | trace | ray tracing turned on? |
miBoolean | scanline | scanline mode turned on? |
miBoolean | motion | motion blur turned on? |
float | shutter_delay | shutter open time for motion blur |
float | shutter | shutter close time for motion blur |
miCBoolean | autovolume | automatic volume management |
char | filter | nonlocal sampling filter: 'b' - box, 't' - triangle, 'g' - Gauss, 'm' - Mitchell, or 'l' - Lanczos |
float | filter_size_x | filter size in x |
float | filter_size_y | filter size in y |
int | reflection_depth | max reflection trace depth |
int | refraction_depth | max refraction trace depth |
int | trace_depth | max combined trace depth |
char | face | 'f' - front, 'b' - back, or 'a' - both faces |
char | field | 'o' - odd or 'e' - even fields, 0 - frames |
float | jitter | sample jittering: 0 - off, 1 - on |
char | shadow | 0 - off, 1 - normal, 's' - segmented, 'l' - sorted |
char | use_shadow_maps | use shadow maps for rendering |
miCBoolean | rendering_shadow_maps | currently working on a shadow map rectangle |
char | recompute_shadow_maps | 'n' for reuse, 'y' for rebuild |
miCBoolean | shadow_map_motion | motion blurred shadowmaps |
char | acceleration | ray tracing algorithm: 'b' - BSP, 'n' - BSP2, 'g' - grid |
short | grid_res[3] | grid resolution in world space: X, Y, Z |
short | grid_max_depth | maximum grid nesting |
short | grid_max_size | maximum grid leaf size |
float | grid_max_size | grid resolution correction |
int | space_max_size | maximum BSP leaf size |
int | space_max_depth | maximum BSP nesting |
int | space_max_mem | maximum bsp memory in MB, 0 for unlimited |
Global illumination options:
type | name | content |
---|---|---|
int | photon_reflection_depth | max photon reflection trace depth |
int | photon_refraction_depth | max photon refraction trace depth |
int | photon_trace_depth | max combined photon trace depth |
miTag | photonmap_file | photon map file name |
miTag | finalgather_file | finalgather map file name |
miBoolean | photonmap_rebuild | rebuild photon map, don't reuse |
miCBoolean | finalgather_rebuild | rebuild final gather map |
miBoolean | caustic | caustics on/off |
int | caustic_accuracy | number of caustic photons in estimate |
float | caustic_radius | maximum distance for caustic photons in estimate |
float | caustic_filter_const | filter constant for caustics |
char | caustic_filter | caustic filter type: 'b' - box, 'c' - cone, 'g' - Gauss |
miUint1 | caustic_flag | default caustic flag for objects |
miBoolean | globillum | global illumination on/off |
int | globillum_accuracy | number of globillum photons in estimate |
float | globillum_radius | maximum distance for globillum photons in estimate |
miUint1 | globillum_flag | default globillum flag for objects |
int | photonvol_accuracy | number of volume photons in estimate |
float | photonvol_radius | maximum distance for volume photons in estimate |
int | finalgather | final gathering: 0 - off, 1 - on, or 'f' - fastlookup |
int | finalgather_rays | number of rays per final gather point |
float | finalgather_maxradius | maximum distance between final gather points |
float | finalgather_minradius | minimum distance between final gather points |
miCBoolean | finalgather_view | final gather radii are specified in raster pixels |
miUint1 | n_motion_vectors | motion transformation path length |
min_samples
max_samples
contrast
time_contrast
samplelock
render_space
task_size
pixel_preview
task_preview
visible_lights
strips
no_lens
no_volume
no_geometry
no_displace
no_output
no_merge
no_hair
no_pass
no_predisplace
userdata
approx
approx_displace
contour_contrast
contour_store
inh_funcdecl
diagnostic_mode
diag_photon_density
diag_grid_size
desaturate
dither
nopremult
colorclip
gamma
luminance_weight
no_images
images_info
Rendering algorithm options in the state→options structure:
trace
scanline
motion
shutter
shutter_delay
autovolume
filter
filter_size_x
filter_size_y
reflection_depth
refraction_depth
trace_depth
face
field
jitter
shadow
use_shadow_maps
rendering_shadow_maps
recompute_shadow_maps
shadow_map_motion
acceleration
grid_max_depth
grid_max_size
space_max_depth
space_max_size
space_max_mem
Global illumination options in the state→options structure:
photon_reflection_depth
photon_refraction_depth
photon_trace_depth
photonmap_file
finalgather_file
photonmap_rebuild
finalgather_rebuild
caustic
caustic_accuracy
caustic_radius
caustic_filter_const
caustic_filter
caustic_flag
globillum
globillum_accuracy
globillum_radius
globillum_flag
photonvol_accuracy
photonvol_radius
finalgather
finalgather_rays
finalgather_maxradius
finalgather_minradius
finalgather_view
n_motion_vectors
Copyright © 1986-2010 by mental images GmbH