RenderOptions encapsulates render options in a clear and concise way. The options can be persisted as a dictionary using getDict() and fed to RenderOptions(dict=your_dict) when employing it.
Methods defined here:
- __eq__(self, value, /)
- Return self==value.
- __ge__(self, value, /)
- Return self>=value.
- __gt__(self, value, /)
- Return self>value.
- __init__(self, /, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __le__(self, value, /)
- Return self<=value.
- __lt__(self, value, /)
- Return self<value.
- __ne__(self, value, /)
- Return self!=value.
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
- getDict(...)
- Get specified options as a dictionary. This can be useful to persist options and then supply to a lux.RenderOptions() constructor when needed to render something. Be wary of the version specified in the dictionary, key values will be converted to the latest version automatically.
- setAddToQueue(...)
- Instead of rendering immediately then it will be added to the internal KeyShot queue, waiting for processing. Note that a copy of the scene will be saved to disk each time. Call lux.processQueue() to process the queue and render what has been added to it.
add = Whether to add to queue or not. *
- setAdvancedRendering(...)
- Render in advanced mode with specified samples.
samples = The number of samples. *
- setBackgroundRendering(...)
- Render in external background process. Note that a background window will open and the call-site will return immediately!
ext = Whether to render in background or not. *
- setIndirectBounces(...)
- Set the number of indirect bounces.
bounces = The number of indirect bounces. *
- setMaxSamplesRendering(...)
- Render until max samples is reached.
samples = Maximum samples. *
- setMaxTimeRendering(...)
- Render the amount of time specified.
time = Time in seconds (floating-point number). *
- setOutputAlphaChannel(...)
- Set whether to have alpha channel in output image.
enable = Use alpha channel or not. *
- setOutputClownPass(...)
- Output clown pass separate to the result.
enable = Output clown pass. *
- setOutputDepthPass(...)
- Output depth pass separate to the result.
enable = Output depth pass. *
- setOutputNormalsPass(...)
- Output normals pass separate to the result.
enable = Output normals pass. *
- setOutputRenderLayers(...)
- Output render layers separate to the result
enable = Output render layers. *
- setRayBounces(...)
- Set the number of ray bounces.
bounces = The number of ray bounces. *
- setThreads(...)
- Set the number of rendering threads. Zero threads means one thread per core.
threads = The number of threads. *
Data and other attributes defined here:
- __hash__ = None