Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides information on V-Ray Attributes that can be added to particles.

Overview


Section
Column
width62%

The V-Ray Additional Attributes can be added to particles. Adding these attributes will add new settings in the Extra VRay Attributes rollout.


UI Path: ||Select particles|| > Attribute Editor Attributes menu > VRay > (select attribute set)

Column
width5%

 

Column
width33%

 


Per-Particle Attribute Export


Section
Column
width62%

This group allows to specify which per-particle attributes you want to be translated by V-Ray. These attributes are then available for use by the particleSampler node.

 

Expand
titleScripting
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "nParticleShape1" "vray_particle_export_attributes" 1;

Attributes:

vrayPPExportAcceleration
vrayPPExportAge
vrayPPExportLifespan
vrayPPExportRGB
vrayPPExportOpacity
vrayPPExportEmission
vrayPPExportScalar1
vrayPPExportScalar2
vrayPPExportScalar3
vrayPPExportScalar4
vrayPPExportScalar5
vrayPPExportVector1
vrayPPExportVector2
vrayPPExportVector3
vrayPPExportVector4
vrayPPExportVector5

Column
width5%

 

Column
width33%

 

 

 

Sprite Orient


Section
Column
width62%

Sprite Orient – Sets the orientation of the billboards when the particle rendering type is set to Sprite. The possible options for this parameter are Towards camera center and Parallel to camera's image plane.


Expand
titleScripting
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "nParticleShape1" "vray_sprite_orient" 1;

Attributes:

vraySpriteOrient

Column
width5%

 

Column
width33%



Point Size


Section
Column
width62%

Point size pp – Render the points using the per particle radius instead of the constant point size.

Point size world – By default when the particle rendering type is set to Point, the size is given in pixels on the screen. If this option is checked, the point size is assumed to be in world space.

Point size from radius – Since the point size can be given only as an integer, this attribute specifies that it should be taken from the radius which can be a floating point number.


Expand
titleScripting
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "nParticleShape1" "vray_point_size" 1;

Attributes:

vrayPointSizePP
vrayPointSizeWorld
vrayPointSizeRadius

Column
width5%

 

Column
width33%

Cache Interpolation


Section
Column
width62%

Use interpolated cache – This attribute is available only with nParticle and is intended as a workaround when using nCache. In this case, Maya does not interpolate the particle positions between cache frames. The recommended workflow is to always have cache for frame times that V-Ray renders. If this is not executed properly, V-Ray tries to find information about the cache and uses the velocity to estimate the next particle position. If this option is on, V-Ray samples the cache where it's available and interpolates the data. This way the end position of one frame better matches the start position of the next frame. This process can be much slower, and requires all dynamics on the scene to be cached!


Expand
titleScripting
UI Text Box
typeinfo

 Add to node:

vray addAttributesFromGroup "nParticleShape1" "vray_particle_cache" 1;

Attributes:

vrayInterpolatedCache

Column
width5%

 

Column
width33%

 

Instancer Overrides


Section

This group is used with Instancer nodes, in order to pass per particle attributes that can override attributes of the instanced geometry.

Column
width62%

 

Instancer PP Times – The name of a PP attribute of type double, that overrides the frame times of the instanced object. This can be used for example to change frame time with V-Ray proxy nodes.

Instancer PP Object IDs – The name of a PP attribute of type double, that overrides the Object ID of the instanced geometry object.

PP Primary Visibilities – The name of a PP attribute of type double, that sets the "Primary Visibility" flag of the instanced geometry object.

PP User Float Attribute 1/2/3 – The name of a PP attribute of type double, that is added to the user scalar attributes of the instanced geometry object. The user attribute name is the same as the PP attribute name.

PP User Vector Attribute 1/2/3 – The name of a PP attribute of type vector, that is added to the user color attributes of the instanced geometry object. The user attribute name is the same as the PP attribute name.

Column
width5%

 

Column
width33%