vrayΒΆ
V-Ray Python Binding Module
V-Ray is exposed mainly through the VRayRenderer class. There is also
VRayServer for distributed rendering. VRayImage encapsulates rendered images.
Plugin objects represent instances of V-Ray scene objects and give R/W access
to their data.
Special module-level function:
setSDKLibraryPath(string) - you have to call this with the path to
VRaySDKLibrary.dll BEFORE calling any other functions
if you have not set the VRAY_SDK environment variable.
Constants:
- from
VRayRenderer.onStateChangedandVRayRenderer.state: RENDERER_STATE_FATAL_ERROR- Fatal exception occured. Should always save and restart.RENDERER_STATE_IDLE_INITIALIZED- Initial state after construction or clearing.RENDERER_STATE_IDLE_STOPPED- Rendering was interrupted by stop() or from the UI.RENDERER_STATE_IDLE_ERROR- Rendering was aborted due to an error.RENDERER_STATE_IDLE_FRAME_DONE- Waiting for continueSequence between the frames of an animation sequence.RENDERER_STATE_IDLE_DONE- Last rendering was completed successfully.RENDERER_STATE_PREPARING- Preparing to start rendering the scene.RENDERER_STATE_RENDERING- Rendering is ongoing. This may be any mode of rendering and any stage such as a prepass.RENDERER_STATE_RENDERING_PAUSED- Interactive rendering has been paused.RENDERER_STATE_RENDERING_AWAITING_CHANGES- Interactive rendering reached target quality or time limit, but keepInteractiveRunning is true.
- from
VFB.getStateand forVFB.setState: VFB_STATE_MAIN- enable use of main VFB window stateVFB_STATE_HISTORY- enable use of VFB History stateVFB_STATE_ALL- enable use of all VFB state
- for scanned material parameters:
SCANNED_MATERIAL_PLAIN_NONESCANNED_MATERIAL_PLAIN_HOMOGENOUSSCANNED_MATERIAL_PLAIN_HOMOGENOUS_SYMMETRICSCANNED_MATERIAL_PLAIN_SCRAMBLESCANNED_MATERIAL_CHANNEL_PAINT_BITMASKSCANNED_MATERIAL_CHANNEL_FILTER_BITMASKSCANNED_MATERIAL_CHANNEL_CCMULT_BITMASKSCANNED_MATERIAL_COLOR_SPACE_SRGBSCANNED_MATERIAL_COLOR_SPACE_ADOBESCANNED_MATERIAL_COLOR_SPACE_PRO_PHOTO
- mode for VRayRenderer.setVRayProfiler():
PROFILER_MODE_OFFPROFILER_MODE_SIMPLEPROFILER_MODE_FULLPROFILER_MODE_PROCESS
- flags for
Proxy.readFullDataandProxy.readPreviewData: READ_FLAGS_MESH_VERTICESREAD_FLAGS_MESH_NORMALSREAD_FLAGS_MESH_MTLIDSREAD_FLAGS_MESH_VELOCITIESREAD_FLAGS_MESH_UVSREAD_FLAGS_MESH_SHADERSREAD_FLAGS_MESH_OBJECTINFOSREAD_FLAGS_MESH_HAIROBJECTINFOSREAD_FLAGS_MESH_PARTICLEOBJECTINFOSREAD_FLAGS_MESH_HAIRGEOMETRYREAD_FLAGS_MESH_PARTICLESGEOMETRYREAD_FLAGS_MESH_GEOMETRYMESHESBBOXESREAD_FLAGS_MESH_HAIROBJECTBBOXESREAD_FLAGS_MESH_PARTICLEOBJECTBBOXESREAD_FLAGS_MESH_ALL
Classes
An extension of vray.Color that adds an alpha channel as the 4th component. |
|
A class used to binary serialize user attributes to V-Ray IntList. |
|
|
V-Ray Plugin Category |
|
V-Ray Plugin Class |
A 3-component floating point color value. |
|
Efficient implementation of V-Ray ColorList. |
|
Efficient implementation of V-Ray FloatList. |
|
A group of utility methods related to variuos geometry source plugins. |
|
Efficient implementation of V-Ray IntList. |
|
|
Static utility class with language constants |
A group of utility methods related to variuos light source plugins. |
|
A 3x3 column-major matrix. |
|
Object storing the relevant OCIO configuration entries as they were read from the configuration file. |
|
|
A wrapper for a Plugin instance in the V-Ray core. |
Efficient implementation of V-Ray PluginList. |
|
PluginRef wraps a plugin instance along with a property output of the plugin. |
|
|
A group of methods for reading data and creating V-Ray geometry proxies. |
alias of |
|
A class used to get information string and preset values from a scanned material file. |
|
alias of |
|
The object is a composite of a vray.Matrix and a vray.Vector that represent an affine transformation. |
|
Efficient implementation of V-Ray TransformList. |
|
The base abstract type of IntList, FloatList, VectorList, ColorList, TransformList and PluginList. |
|
|
Static class for utility helper methods. |
|
A namespace-like class for VFB related methods. |
This class groups a few functions for work with .vrmat (.vismat) materials. |
|
Contains raw image data in full 32-bit floating point format. |
|
This is the main object in V-Ray. |
|
A server object for distributed rendering. |
|
A mathematical vector in 3D space. |
|
Efficient implementation of V-Ray VectorList. |