VRay SDK for C++
|
A group of methods for reading data and creating V-Ray geometry proxies. More...
#include <vraysdk.hpp>
Static Public Member Functions | |
static bool | createCombinedMeshFile (const std::vector< MeshFileData > &data, const std::vector< AnimatedTransform > &animTransforms, const ProxyCreateParams ¶ms) |
static bool | createCombinedMeshFile (const std::vector< MeshFileData > &data, const std::vector< Transform > *transforms, const ProxyCreateParams ¶ms) |
static bool | createCombinedMeshFile (const std::vector< Plugin > &geomMeshPlugins, const std::vector< AnimatedTransform > &animTransforms, const ProxyCreateParams ¶ms) |
static bool | createCombinedMeshFile (const std::vector< Plugin > &geomMeshPlugins, const std::vector< Transform > *transforms, const ProxyCreateParams ¶ms) |
static bool | createMeshFile (const MeshFileData &data, const AnimatedTransform &animTransform, const ProxyCreateParams ¶ms) |
static bool | createMeshFile (const MeshFileData &data, const Transform *transform, const ProxyCreateParams ¶ms) |
static bool | createMeshFile (const Plugin &geomMeshPlugin, const AnimatedTransform &animTransform, const ProxyCreateParams ¶ms) |
static bool | createMeshFile (const Plugin &geomMeshPlugin, const Transform *transform, const ProxyCreateParams ¶ms) |
static bool | readFullData (const Plugin &proxyPlugin, ProxyReadData &readData) |
static bool | readFullData (const ProxyReadParams ¶ms, ProxyReadData &readData) |
static bool | readPreviewData (const Plugin &proxyPlugin, ProxyReadData &readData) |
static bool | readPreviewData (const ProxyReadParams ¶ms, ProxyReadData &readData) |
static bool | readPreviewGeometry (const Plugin &proxyPlugin, VectorList &vertices, IntList &indices, int countHint=0) |
static bool | readPreviewGeometry (const ProxyReadParams ¶ms, VectorList &vertices, IntList &indices, int countHint=0) |
static bool | readPreviewHair (const Plugin &proxyPlugin, VectorList &vertices, IntList &lengths, int countHint=0) |
static bool | readPreviewHair (const ProxyReadParams ¶ms, VectorList &vertices, IntList &lengths, int countHint=0) |
static bool | readPreviewParticles (const Plugin &proxyPlugin, VectorList &positions, int countHint=0) |
static bool | readPreviewParticles (const ProxyReadParams ¶ms, VectorList &positions, int countHint=0) |
A group of methods for reading data and creating V-Ray geometry proxies.
Used by LightUtils::readLuminaireFieldData(). If readLuminaireFieldData succeeds, the various get* methods provide access to the data.
|
static |
data | An array of MeshFileData containers supplying the data to combine in the proxy file |
animTransforms | Array of objects containing transformations at corresponding keyframes, to be written to the created file. The size must equal the mesh array size |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
data | An array of MeshFileData containers supplying the data to combine in the proxy file |
transforms | Transformations for the separate input meshes to bake into the final mesh. Size must equal the mesh array size. Pass NULL to skip. |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
geomMeshPlugins | An array of plugins supplying the data to combine in the proxy file. The plugin types could be:
|
animTransforms | Array of objects containing transformations at corresponding keyframes, to be written to the created file. The size must equal the mesh array size |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
geomMeshPlugins | An array of plugins supplying the data to combine in the proxy file. The plugin types could be:
|
transforms | Transformations for the separate input meshes to bake into the final mesh. Size must equal the mesh array size. Pass NULL to skip. |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
data | A container for the data necessary to a export vrmesh with geometry, hair or particles. |
animTransform | An object containing transformations at corresponding keyframes, to be written to the created file |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
data | A container for the data necessary to a export vrmesh with geometry, hair or particles. |
transform | A transformation to bake into the geometry data. Pass NULL to skip. |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
geomMeshPlugin | A plugin supplying the data for the proxy file. The plugin types could be:
|
animTransform | An object containing transformations at corresponding keyframes, to be written to the created file |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
geomMeshPlugin | A plugin supplying the data for the proxy file. The plugin types could be:
|
transform | A transformation to bake into the geometry data. Pass NULL to skip. |
params | A ProxyCreateParams container for the various parameters, including file name |
|
static |
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
readData | A structure defining which parts of the data to read (with .setFlags()) and holding the resulting arrays. |
|
static |
params | A struct to read the file path and parameters from. |
readData | A structure defining which parts of the data to read (with .setFlags()) and holding the resulting arrays. |
|
static |
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
readData | A structure defining which parts of the data to read (with .setFlags()) and holding the resulting arrays. |
|
static |
params | A struct to read the file path and parameters from. |
readData | A structure defining which parts of the data to read (with .setFlags()) and holding the resulting arrays. |
|
static |
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
vertices | Output vertex preview data. The array can be passed on directly to DirectX/OpenGL etc. (and the indices too) |
indices | Output face index data. Each three consecutive elements make up one triangle. |
countHint | [Alembic only] An optional number of triangles to return. The exact number of elements in 'vertices' may differ slightly. If countHint is not specified, proxyPlugin::num_preview_faces is used. |
|
static |
params | A struct to read the file path and parameters from. |
vertices | Output vertex preview data. The array can be passed on directly to DirectX/OpenGL etc. (and the indices too) |
indices | Output face index data. Each three consecutive elements make up one triangle. |
countHint | [Alembic only] An optional number of triangles to return. The exact number of elements in 'vertices' may differ slightly. If countHint is not specified, params.num_preview_faces is used. |
|
static |
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
vertices | Output vertex preview data. Consecutive vertices form hair strands. The i-th strand has lengths[i] consecutive vertices. |
lengths | Output hair strand length data. Each strand can have a different number of vertices. |
countHint | [Alembic only] The number of hair strands to return. The exact number of elements in 'lengths' may differ slightly. If countHint is not specified, proxyPlugin::num_preview_faces is used. |
|
static |
params | A struct to read the file path and parameters from. |
vertices | Output vertex preview data. Consecutive vertices form hair strands. The i-th strand has lengths[i] consecutive vertices. |
lengths | Output hair strand length data. Each strand can have a different number of vertices. |
countHint | [Alembic only] The number of hair strands to return. The exact number of elements in 'lengths' may differ slightly. If countHint is not specified, params.num_preview_faces is used. |
|
static |
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
positions | Output particle preview data. The positions of the preview subset of all particles. |
countHint | [Alembic only] An optional number of particles to return. The exact number of elements in 'positions' may differ slightly. If countHint is not specified, proxyPlugin::num_preview_faces is used. |
|
static |
params | A struct to read the file path and parameters from. |
positions | Output particle preview data. The positions of the preview subset of all particles. |
countHint | [Alembic only] An optional number of particles to return. The exact number of elements in 'positions' may differ slightly. If countHint is not specified, params.num_preview_faces is used. |