VRay procedural parameters
name | type | description |
---|---|---|
cachePath | string | Atoms cache path, the folder where the atoms cache is located or the full path to the cache .atoms file header (i.e. /../../foo_path/mycache.atoms) |
cacheName | string | Atoms cache name, this can be an empty value if the full cache path is provided in the cachePath attribute |
applyVariations | bool | Apply the variations |
variationsPath | string | This is the full path to the json variation table. This can also be the serialized variation table which can be retrieved by the following code. json_table_str = "...……….." json_data = Atoms.loadVariationFromString(json_table_str) variationsStr = json_data.toString(False) vm = AtomsCore.StringMetadata(variationsStr) ark = AtomsCore.Archive(vm.memSize()) vm.serialise(ark) variations_serialized = ark.encodeBase64(True) |
time | float | Cache time. You can use this or frame, depending on the DCC you are in. Internally the procedural use time+frame+timeOffset as cache time |
globalTransform | paramtype_transform | Global transform |
motionBlur | bool | Activate motion blur |
motionBlurDuration | double | Motion blur duration |
motionBlurIntervalCenter | double | Motion blur interval center |
motionBlurSamples | int | Number of motion blur samples |
agentIds | string | Agent ids to load. You can provide multiple ids using the comma to separate them, you can also use - to specify a range or ! to remove agents. Like 2-8,13,15-18 or !8,!10 or !(2-10)… |
meshFilter | string | List of mesh to filter. You can provide multiple comma separated mesh names (without whitespaces). You can use * as wildcard and ! to negate. For instance *body,*head or !*body... |
offset | vector | Cache translation offset. |
disableVariationMaterials | string | This disable materials from the variation table. You can provide multiple comma separated values (without whitespaces). You can use * as wildcard. |
sceneMaterials | string | List of the materials the procedural should load from the current scene and not from the variation table. You can provide multiple comma separated values (without whitespaces). You can use * as wildcard and ! to negate |
materialOverrides | string | Connect a material to a specific mesh. You can provide multiple comma separated values. The syntax is meshName:materialName. You can use the * as wildcard. I.e. *_head:yourNewMaterial |
disableDefaultMaterial | int | Disable the green shader if there is no valid shader inside the variation table or there is no variation metadata on the agents. |
atomsShaderAttributePrefix | string | The procedural transfers every agent metadata to the skinned mesh using "atomsShaderAttributePrefix+metadataName" as name. You can use this data to drive shader parameters. Default value "atoms_" |
agentType | string | Override agent type. You can provide multiple comma separated values. To override the variation of every agent provide an agent type name. If you want override specific agents use the following syntax: agentId@agentType. I.e. 1@robot,4@soldier,6-15@robot |
agentVariation | string | Override agent variation. You can provide multiple comma separated values. To override the variation of every agent provide a variation name. If you want override specific agent use the following syntax: agentd@variaitonName. I.e. 1@robot1,4@robot2,6-15@robot4 |
agentLod | string | Override agent lod. You can provide multiple comma separated values. To override the lod of every agent provide just the lod value. If you want override specific agent use the following syntax: agentd@lodValue. I.e. 1@lodA,4@lodC,6-15@lodB |
agentMetadata | string | Override or create agent metadata (only bool, int, double, vec3 and string). You can provide multiple comma separated values. Use the following syntax, agentId@metadataname#value. I.e. 10@myIntMetada#10 20@myBoolMetada#true 10-25@myDoubleMetada#12.5 10-25@myVector3Metada#1.0;2.0;3.0 10-25@myStringMetada#test |
clothCachePath | string | Atoms cloth cache path, the folder where the atoms cache is located or the full path to the .clothcachefile header. i.e. /../../foo_path/mycache.clothcache |
clothCacheName | string | Cloth cache name, this can be an empty value if the full cache path is provided in the clothCachePath attribute. |
useInstances | bool | Activates the agent instancing |
useFrustumCulling | bool | Activates frustum culling |
frustumCullingOverscan | array3 | Overscan similar to the maya camera overscan used by the frustum culling |
frustumCullingProjectionMatrices | array | Array of camera model view projection matrices. If you use this attribute, It must have the same length of the motion blur samples. |
agentVariationOverride | string | Specify an override for the variation overrides of this atoms proxy agents. You can override one character using a string in the following format: agentId@VariationOverride (i.e. 1@with_glasses) |
agentGeometryFilterOverride | string | Specify a geometry filter override for this atoms proxy agents. You can override one character using a string in the following format: agentId@GeometryName (i.e. 1@glasses_GEO) |
agentGeoMatOverride | string | Specify a geo-mat combination override for this atoms proxy agents. You can override one character using a string in the following format: agentId@GeometryName-MaterialName(i.e. 1@glasses_GEO-boy_glasses_black_MAT) |
matteOverride | int | Matte override. Default value: -1 |
objectIdOverride | int | Object ID override: Default value: -1 |
Copyright © 2017, Toolchefs LTD.