rendering

Used for getting, setting, starting, and ending rendering.


xshade
scene
rendering

List of Methods

add_style Appends a rendering style
append_animation Appends a rendered image to an animation
custom_image_layer Returns a custom layer object
delete_custom_image_layer Deletes a custom layer
delete_image_layer Deletes the image layer with the specified ID
finish_animation Stops creating the animation
get_custom_image_layer_enable Returns the Custom Layer on/off value
get_effector_uuid Returns the uuid of the effector of the specified index
get_image_layer_enable Returns the Layer on/off value
image_layer The image layer of the specified ID
image_layer_by_index Returns a layer object specified by index
load Loads a render settings file
magnify_image Magnifies the Image Window display scale
number_of_image_layers Returns the number of layers
render Does rendering from the beginning
resume Resumes rendering
save Saves a render settings file
set_current_camera Sets the specified camera object as the current camera
set_custom_image_layer_enable Custom Layer on/off
set_effector_uuid Sets an effector by uuid to the specified index
set_image_layer_enable Layer on/off
shrink_image Shrinks the Image Window display scale
start Starts rendering
start_animation Begins creating an animation
start_area Renders the rectangular area
stop Stops rendering
unscale_image Resets the scale of the rendered image
update_image Updates the image display

List of Properties

always_solve_radiosity Always Solve Before Rendering on/off
antialiasing Antialiasing on/off
antialiasing_mode The antialiasing type
auto_maximum_distance Auto Z depth Maximum Distance on/off
can_resume Whether or not rendering can resume
can_use_rendering_server Whether or not ShadeGrid can be used
current_index The set number of the currently selected rendering style
fisheye_distortion The amount of fisheye lens distortion
global_illumination The global illumination type
has_effectors Whether or not effectors are set
has_renderer Whether or not it has the currently selected rendering method
image The rendered image object
image_dpi The resolution
image_size The rendered image size
irradiance_cache_tolerance The cache tolerance
irradiance_caching Irradiance caching on/off
irradiance_gradient The irradiance gradient
indirectenergy_factor The indirect energy factor
is_still_rendering Whether or not in the middle of rendering
keep_z_deprecated Keep Z on/off
maximum_distance Z value maximum distance
method The rendering method
method_name The name of the selected rendering method
method_uuid The rendering method uuid
minimum_samples The minimum number of samples for antialiasing adaptive sampling
multipass_rendering Keep MultiPass on/off
no_antialiasing_data_paths Disable Antialiasing in Data Paths on/off
number_of_effectors The number of effectors set
number_of_sets The number of rendering sets
number_of_threads The number of threads
oversampling Antialiasing oversampling
panorama_projection The panorama projection
photons_caustics_gathering_scale The caustics gathering scale
photons_gathering_adaptive_scale Gathering scale (adaptive value)
photons_gathering_scale_type The gathering scale type
photons_gathering_shape_comparison_scale Gathering scale
pixel_depth The pixel depth
pixel_ratio The pixel ratio
premultiplied_pixel Premultiplied Alpha on/off
ray_cast_level The Ray Cast level
ray_offset The ray offset
ray_offset_type The ray offset type
ray_tracing_delta The ray tracing delta
ray_tracing_quality The ray tracing quality
raytracing_adaptive_threshold Ray tracing spatial division threshold
raytracing_grid_threshold Ray tracing threshold to cancel inefficient spatial division
refinement_threshold The antialiasing refinement threshold
reflect_background Reflect Background on/off
reflection_factor The reflection factor
render_transparency_deprecated Draw transparency on/off
renderer_index The rendering method index
sampling_filter The sampling filter type
sampling_quality The sampling quality for antialiasing adaptive sampling
sampling_spread The sampling filter spread
scaled_image Rendered image after applying the Image Window display scale
script Script that runs when rendering is executed
shadow_map_bias The shadow map bias
shadow_map_blur The shadow map blur
shadow_map_sampling The shadow map sampling
shadow_map_size The shadow map size
shadow_type The shadow type
show_background Draw background on/off
show_shadow Draw shadows on/off
style The number of the rendering style to use
style_name The name of the rendering style to use
surface_division_level Curved surface subdivision
target_number_of_photons The number of photons
total_energy The energy
transparency_affects_alpha Transparency Affects Alpha on/off
uses_radiosity Whether or not to use radiosity
uses_refinement_threshold Antialiasing refinement threshold on/off
uses_rendering_servers Use ShadeGrid Servers on/off
uses_rendering_servers_only Use ShadeGrid Servers Only on/off




Method Details

add_style

Appends a rendering style.
Arguments :
  string

xshade.scene().rendering.add_style('sample')

append_animation

Appends a rendered image to an animation.
See also :
  start_animation
  finish_animation

#Create a 10-frame animation in which the object moves
xshade.scene().rendering.start_animation(None)
for i in range(10):
	xshade.scene().rendering.render()
	xshade.scene().rendering.append_animation()
	xshade.scene().move_object(None, None, None, [100.0, 0.0, 0.0])
xshade.scene().rendering.finish_animation()

custom_image_layer

A custom layer object.
Arguments :
  uuid : 128 bit value
Arguments :
  string : the layer ID
Return value :
  image_layer
See also :
  image_layer
  uuid
rendering.image_layer returns the standard Shade image layer.
rendering.custom_image_layer returns a custom image layer such as Toon Renderer.

#Get the Toon Renderer custom layer "ToonEdge" from the rendered image
xshade.scene().rendering.custom_image_layer("514FE711-7919-4d66-B9CA-048DC2AF5E2F", "ToonEdge")

delete_custom_image_layer

Deletes a custom layer.
Arguments :
  uuid : 128 bit value
Arguments :
  string : the layer ID
Return value :
  bool
See also :
  uuid
  delete_image_layer
delete_image_layer deletes the standard Shade layer.
delete_custom_image_layer deletes a custom layer such as Toon Renderer.

#Delete the Toon Renderer custom layer "ToonEdge" from the rendered image
xshade.scene().rendering.delete_custom_image_layer("514FE711-7919-4d66-B9CA-048DC2AF5E2F", "ToonEdge")

delete_image_layer

Deletes the image layer with the specified ID.
Arguments :
  string : the layer ID
Return value :
  bool
See also :
  delete_custom_image_layer
delete_image_layer deletes the standard Shade layer.
delete_custom_image_layer deletes a custom layer such as Toon Renderer.

#Delete "Glow" layer
xshade.scene().rendering.delete_image_layer('Glow')

finish_animation

Stops creating the animation.
See also :
  start_animation
  append_animation

#Create a 10-frame animation in which the object moves
xshade.scene().rendering.start_animation(None)
for i in range(10):
	xshade.scene().rendering.render()
	xshade.scene().rendering.append_animation()
	xshade.scene().move_object(None, None, None, [100.0, 0.0, 0.0])
xshade.scene().rendering.finish_animation()

get_custom_image_layer_enable

Returns the Custom Layer on/off value.
Arguments :
  uuid : 128 bit value
Arguments :
  string : the layer ID
Return value :
  bool
See also :
  uuid
  set_custom_image_layer_enable

#Return the MultiPass tab Toon Renderer "ToonEdge" on/off value 
print xshade.scene(). rendering.get_custom_image_layer_enable("514FE711-7919-4d66-B9CA-048DC2AF5E2F", "ToonEdge")

get_effector_uuid

Returns the uuid of the effector of the specified index
Arguments :
  int : the effector index
Return value :
  uuid : 128 bit value
See also :
  set_effector_uuid
  has_effectors Whether effectors are set
  number_of_effectors The number of effectors set
  uuid
Returns "00000000-0000-0000-0000-000000000000" if the specified index (a non-negative integer) does not exist.

#If effectors are set, output the uuid of the first effector
if xshade.scene().rendering.has_effectors:
	print xshade.scene().rendering.get_effector_uuid(0)

get_image_layer_enable

Returns the Layer on/off value
Arguments :
  string : the layer ID
Return value :
  bool
See also :
  set_image_layer_enable

#Output the Fog on/off value
print xshade.scene().rendering.get_image_layer_enable('fog')

image_layer

The image layer of the specified ID.
Arguments :
  string : the layer ID
Return value :
  image_layer
See also :
  image_layer
  custom_image_layer
rendering.image_layer returns the standard Shade image layer.
rendering.custom_image_layer returns a custom image layer such as Toon Renderer.

#Display the Diffuse layer image in a window
diffuse_layer = xshade.scene().rendering.image_layer('Diffuse')
diffuse_layer.image.create_window('layer')

image_layer_by_index

Returns a layer object specified by index.
Arguments :
  int : the index within a category
Arguments :
  int : The category number. -1 if omitted.

-1All layers
0Aggregate layer
1Color elements
2Data elements
3Object mask
4Surface attributes mask
5Plug-in generated layer
6Not used

Return value :
  image_layer

#Output the name of the 2nd index of all layers
print xshade.scene().rendering.image_layer_by_index(1).id_name
#Output the maximum value of the 1st index of the data elements (category 2)
print xshade.scene().rendering.image_layer_by_index(0, 2).maximum_value

load

Loads a render settings file.
Arguments :
  file_path

#Load a render settings file
dialog = xshade.create_dialog_with_uuid()
file_path = dialog.ask_path(True, '*.shdrst|shdrst')
xshade.scene().rendering.load(file_path)

magnify_image

Magnifies the Image Window display scale.
Arguments :
  int
See also :
  shrink_image

#Set the display scale to 200%
xshade.scene().rendering.magnify_image(2)

number_of_image_layers

Returns the number of layers.
Arguments :
  int : The category number. -1 if omitted.

-1All layers
0Aggregate layer
1Color elements
2Data elements
3Object mask
4Surface attributes mask
5Plug-in generated layer
6Not used

Return value :
  int

#Output the total number of layers
print xshade.scene().rendering.number_of_image_layers()

render

Does rendering from the beginning.
Return value :
  a number
render does not move to the next process until rendering is finished.
start moves to the next process after rendering starts.

xshade.scene().rendering.render()

resume

Resumes rendering.
Resumes rendering from partway through if rendering was stopped.
If rendering was not stopped, renders from the beginning.
Moves to the next process after rendering starts.

xshade.scene().rendering.resume()

save

Saves the render settings.
Arguments :
  file_path

#Save the render settings
dialog = xshade.create_dialog_with_uuid()
file_path = dialog.ask_path(False, '*.shdrst|shdrst')
xshade.scene().rendering.save(file_path)

set_current_camera

Sets the specified camera object as the current camera.
Arguments :
  camera object

#Set the selected camera object as the current camera
camera = xshade.scene().active_shape()
xshade.scene().rendering.set_current_camera(camera)

set_custom_image_layer_enable

Custom Layer on/off.
Arguments :
  uuid : 128 bit value : 514FE711-7919-4d66-B9CA-048DC2AF5E2F(ToonRendering)
Arguments :
  string : the layer ID
Arguments :
  bool
See also :
  uuid
  get_custom_image_layer_enable

#Enable ToonEdge custom layer
xshade.scene().rendering.set_custom_image_layer_enable("514FE711-7919-4d66-B9CA-048DC2AF5E2F", "ToonEdge", 1)

set_effector_uuid

Sets an effector specified by uuid to the specified index
Arguments :
  int : the effector index
Arguments :
  uuid : 128 bit value : the effector uuid

Add Noise 39b02e6f-d94c-4385-9116-f0121f1071d0
Extract Alpha Channel 674c006d-46b0-4033-8eaa-7284d6f008de
Extract Z-depth 93156148-62bd-483d-bec7-7f1dc3c09b0d
Invert Image 51055c47-7a0a-4ebd-a885-29e8cbabb4ba
BlurEffector f00f8f8b-bc6b-47f1-930f-5082dad30920
Burn Timecode 30210010-53b8-11d9-bcff-000a95baceb2
DepthPlus 34200100-53b8-11d9-bcff-000a95baceb2
FogPlus 44200202-53b8-11d9-bcff-000a95baceb2
GlowEffector 306f0000-53b8-11d9-bcff-000a95baceb2
Particle Physics 573b1570-f05f-40d1-9930-a6c7ce628c84
ParticleEffector 30100011-53b8-11d9-bcff-000a95baceb2
Stars 1ff00018-53b8-11d9-bcff-000a95baceb2

See also :
  get_effector_uuid
  uuid

#Set 1st effector to Invert Image
xshade.scene().rendering.set_effector_uuid(0, '51055c47-7a0a-4ebd-a885-29e8cbabb4ba')

set_image_layer_enable

Layer on/off.
Arguments :
  string : the layer ID
Arguments :
  bool
See also :
  get_image_layer_enable

#Disable Reflect layer
xshade.scene().rendering.set_image_layer_enable('Reflect',False)

shrink_image

Shrinks the Image Window display scale.
Arguments :
  int
See also :
  magnify_image

#Set the display scale to 50%
xshade.scene().rendering.shrink_image(2)

start

Starts rendering.
render does not move to the next process until rendering is finished.
start moves to the next process after rendering starts.

xshade.scene().rendering.start()

start_animation

Begins creating an animation.
Arguments :
  file_path : extension (*.mov, etc.) : If "None", opens a file dialog, then follow with a compression dialog.
Output in the format set by the extension.
If the extension is mov or avi and a file_path is defined, a compression settings dialog will not displayed.
If writing to the file fails, throws an exception.
See also :
  append_animation
  finish_animation

#Create a 10-frame animation in which the object moves
xshade.scene().rendering.start_animation(None)
for i in range(10):
	xshade.scene().rendering.render()
	xshade.scene().rendering.append_animation()
	xshade.scene().move_object(None, None, None, [100.0, 0.0, 0.0])
xshade.scene().rendering.finish_animation()

start_area

Renders the rectangular area.
Arguments :
  rectangle
Moves to the next process after rendering starts.

#Render the rectangular area [0,0,100,100]
xshade.scene().rendering.start_area([0,0,100,100])

stop

Stops rendering.

xshade.scene().rendering.stop()

unscale_image

Resets the scale of the rendered image.
Not reflected unless the Image Window is updated.

#Reset the scale and update the Image Window
xshade.scene().rendering.unscale_image
xshade.image_view().update()	#xshade.scene().rendering.update_image() also possible

update_image

Updates the image display.

xshade.scene().rendering.update_image()

Property Details

always_solve_radiosity

Always Solve Before Rendering on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.always_solve_radiosity

antialiasing

Antialiasing on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.antialiasing

antialiasing_mode

The antialiasing type.

  • Get
  • Set

Type :
  int :

0Draft
1Oversampling
2Adaptive Sampling
print xshade.scene().rendering.antialiasing_mode

auto_maximum_distance

Auto Z depth Maximum Distance on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.auto_maximum_distance

can_resume

Whether or not rendering can resume.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.can_resume

can_use_rendering_server

Whether or not ShadeGrid can be used.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.can_use_rendering_server

current_index

The set number of the currently selected rendering style.

  • Get
  • Set

Type :
  int
See also :
  style the style number

print xshade.scene().rendering.current_index

fisheye_distortion

The amount of fisheye lens distortion.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.fisheye_distortion

global_illumination

The global illumination type.

  • Get
  • Set

Type :
  int

0 None
1Path Tracing
2Photon Mapping
5Path Tracing + Photon Mapping
3Radiosity
print xshade.scene().rendering.global_illumination

has_effectors

Whether or not effectors are set.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.has_effectors

has_renderer

Whether or not it has the currently selected rendering method

print xshade.scene().rendering.has_renderer

image

The rendered image object.

  • Get
  • Set

Type :
  image object
See also :
  image

#Output the rendered image object size
print xshade.scene().rendering.image.size

image_dpi

The resolution.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.image_dpi

image_size

The rendered image size.

  • Get
  • Set

Type :
  size

print xshade.scene().rendering.image_size

indirectenergy_factor

The indirect energy factor

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.indirectenergy_factor

irradiance_cache_tolerance

The cache tolerance

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.irradiance_cache_tolerance

irradiance_caching

Irradiance caching on/off

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.irradiance_caching

irradiance_gradient

The irradiance gradient.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.irradiance_gradient

is_still_rendering

Whether or not in the middle of rendering.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.is_still_rendering

keep_z_deprecated

Keep Z on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.keep_z_deprecated

maximum_distance

Z value maximum distance.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.maximum_distance

method

The rendering method.

  • Get
  • Set

Type :
  int :

0Ray Tracing
1Path Tracing
2Ray Tracing (Draft)
407321464Toon Renderer
825229312Wireframe

Setting only the Toon Renderer value results in Ray Tracing.
Using method_uuid is recommended.

print xshade.scene().rendering.method

method_name

The name of the selected rendering method.

  • Get
  • Set

Type :
  string

print xshade.scene().rendering.method_name

method_uuid

The rendering method uuid

  • Get
  • Set

Type :
  uuid : 128 bit value

Ray Tracing (Draft)10.0.32 0 0 0
10.500000002-0000-0000-0000-000000000000
Ray Tracing10.0.30 0 0 0
10.500000000-0000-0000-0000-000000000000
Path Tracing10.0.31 0 0 0
10.500000001-0000-0000-0000-000000000000
Toon Renderer10.0.318473b78 6e0b4beb b5143cc9 bc31d80f
10.518473b78-6e0b-4beb-b514-3cc9bc31d80f
wireframe10.0.331300000 53b811d9 bcff000a 95baceb2
10.531300000-53b8-11d9-bcff-000a95baceb2
print xshade.scene().rendering.method_uuid

minimum_samples

The minimum number of samples for antialiasing adaptive sampling.

  • Get
  • Set

Type :
  int :

0None
14
27
310
415
525
636
749
864
print xshade.scene().rendering.minimum_samples

multipass_rendering

Keep MultiPass on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.multipass_rendering

no_antialiasing_data_paths

Disable Antialiasing in Data Paths on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.no_antialiasing_data_paths

number_of_effectors

The number of effectors set.

  • Get
  • Set

Type :
  int

print xshade.scene().rendering.number_of_effectors

number_of_sets

The number of rendering sets.

  • Get
  • Set

Type :
  int

print xshade.scene().rendering.number_of_sets

number_of_threads

The number of threads.

  • Get
  • Set

Type :
  int : 0 : Auto

print xshade.scene().rendering.number_of_threads

over_sampling

Antialiasing oversampling.

  • Get
  • Set

Type :
  int :

1Adaptive
22 x 2
33 x 3
44 x 4
print xshade.scene().rendering.over_sampling

oversampling

Antialiasing oversampling.

  • Get
  • Set

Type :
  int :

22x2
33x3
44x4
55x5
66x6
77x7
88x8
print xshade.scene().rendering.oversampling

panorama_projection

The panorama projection.

  • Get
  • Set

Type :
  int :

0None
1Cylindrical
2Spherical
3Light Probe
4Cube Map
5Vertical Cross
print xshade.scene().rendering.panorama_projection

photons_caustics_gathering_scale

The caustics gathering scale

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.photons_caustics_gathering_scale

photons_gathering_adaptive_scale

Gathering scale (adaptive value)

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.photons_gathering_adaptive_scale

photons_gathering_scale_type

The gathering scale type

  • Get
  • Set

Type :
  int :

0Adaptive value
1Relative value
2Absolute value
print xshade.scene().rendering.photons_gathering_scale_type

photons_gathering_shape_comparison_scale

Gathering scale.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.photons_gathering_shape_comparison_scale

pixel_depth

The pixel depth

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.pixel_depth

pixel_ratio

The pixel ratio.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.pixel_ratio

premultiplied_pixel

Premultiplied Alpha on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.premultiplied_pixel

ray_cast_level

The Ray Cast level.

  • Get
  • Set

Type :
  int : (0..100)

print xshade.scene().rendering.ray_cast_level

ray_offset

The ray offset.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.ray_offset

ray_offset_type

The ray offset type.

  • Get
  • Set

Type :
  int : 0 : Relative, 1 : Absolute

print xshade.scene().rendering.ray_offset_type

ray_tracing_delta

The ray tracing delta.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.ray_tracing_delta

ray_tracing_quality

The ray tracing quality.

  • Get
  • Set

Type :
  int : (0..100)

print xshade.scene().rendering.ray_tracing_quality

raytracing_adaptive_threshold

Ray tracing spatial division threshold.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.raytracing_adaptive_threshold

raytracing_grid_threshold

Ray tracing threshold to cancel inefficient spatial division.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.raytracing_grid_threshold

refinement_threshold

The antialiasing refinement threshold.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.refinement_threshold

reflect_background

Reflect Background on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.reflect_background

reflection_factor

The reflection factor.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.reflection_factor

render_transparency_deprecated

Draw transparency on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.render_transparency_deprecated

renderer_index

The rendering method index.

  • Get
  • Set

Type :
  int :

0Ray Tracing
1Path Tracing
2Ray Tracing (Draft)
3Toon Renderer
4Wireframe
print xshade.scene().rendering.renderer_index

sampling_filter

The sampling filter type.

  • Get
  • Set

Type :
  int :

0Cylinder
1Box
2Triangle
3Gaussian
4Blackman-Harris
5Mitchell-Netravali
6Catmull-Rom
print xshade.scene().rendering.sampling_filter

sampling_quality

The sampling quality for antialiasing adaptive sampling.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.sampling_quality

sampling_spread

The sampling filter spread.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.sampling_spread

scaled_image

Rendered image after applying the Image Window display scale.

  • Get
  • Set

Type :
  image object

#Apply the display scale to the rendered image and open in a window
xshade.scene().rendering.scaled_image.create_window()

script

Script that runs when rendering is executed.

  • Get
  • Set

Type :
  string : script
When rendering starts, runs the script set.

#Set a script to output a message when rendering starts
xshade.scene().rendering.script = "print 'start rendering'"

shadow_map_bias

The shadow map bias.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.shadow_map_bias

shadow_map_blur

The shadow map blur.

  • Get
  • Set

Type :
  float

print xshade.scene().rendering.shadow_map_blur

shadow_map_sampling

The shadow map sampling.

  • Get
  • Set

Type :
  int :

04 x 4 (Jittering)
18 x 8 (Jittering)
216 x 16 (No Jittering)
print xshade.scene().rendering.shadow_map_sampling

shadow_map_size

The shadow map size.

  • Get
  • Set

Type :
  int

print xshade.scene().rendering.shadow_map_size

shadow_type

The shadow type.

  • Get
  • Set

Type :
  int : 1 : Ray Tracing, 2 : Shadow Map

print xshade.scene().rendering.shadow_type

show_background

Draw background on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.show_background

show_shadow

Draw shadows on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.show_shadow

style

The number of the rendering style to use.

  • Get
  • Set

Type :
  int
Be aware that the index value of current_indexdoes not affect the actual rendering

print xshade.scene().rendering.style

style_name

The name of the rendering style to use.

  • Get
  • Set

Type :
  string

print xshade.scene().rendering.style_name

surface_division_level

Curved surface subdivision.

  • Get
  • Set

Type :
  int :

0No Subdivision
1Coarse
2Regular
3Fine
4Very Fine
print xshade.scene().rendering.surface_division_level

target_number_of_photons

The number of photons.

  • Get
  • Set

Type :
  int

print xshade.scene().rendering.target_number_of_photons

total_energy

The energy.

  • Get
  • Set

Type :
  bool : False : Indirect, True : Direct + Indirect

print xshade.scene().rendering.total_energy

transparency_affects_alpha

Transparency Affects Alpha on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.transparency_affects_alpha

uses_radiosity

Whether or not to use radiosity.

  • Get
  • Set

Type :
  bool
Selects Radiosity for Global Illumination.

print xshade.scene().rendering.uses_radiosity

uses_refinement_threshold

Antialiasing refinement threshold on/off.

  • Get
  • Set

Type :
  bool
Selects radiosity for global illumination.

print xshade.scene().rendering.uses_refinement_threshold

uses_rendering_servers

Use ShadeGrid Servers on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.uses_rendering_servers

uses_rendering_servers_only

Use ShadeGrid Servers Only on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().rendering.uses_rendering_servers_only