Extrapolation methods used for evaluating the curve before and after the end points.
xsimrParticleShapeType xsimrParticleShapeType Enum Defines the particle shape types for rendering.
miBoolean set |
Values were set by the light
miScalar diffuse |
Diffuse contribution
miScalar specular |
Specular contribution
miColor color |
Light color without shadow.
miColor shadow |
Shadow color. Multiply with the light color to get final value.
miInteger n_points |
Number of points on the curve.
miVector2d points[1] |
An array of profile curve sample points.
miInteger instance_id |
If the shape type is xsimrSHAPE_INSTANCE, then this index into the instance list on the pointcloud geometry shader's parameter structure
miUint offset |
Offset, in bytes, into the data array given in xsimrAttributeData where the blob data starts
xsimrAttributeType type |
The value type of the data. See xsimrAttributeType for which mental ray native data types each enumeration type maps to.
miBoolean constant |
The constant flag of the data. If all the values of an attribute are the same, then the data is considered to be constant and only one value is stored, which should be used for all points in the cloud. In case of arrays, the same array is used for all points, rather than all values of the array being the same.
miTRUE
then the userdata blob pointed to by xsimrAttributeData::data will contain only a single value, or a single array of values, and xsimrAttributeData::offsets, if defined, will contain only two indices. miUint size |
The size of the data type in bytes. This is equal to the result of the sizeof
operator on the mental ray data type used to store the data (see ::siParticleAttributeType).
miTag offsets |
The userdata tag for the array offset indices of type miUint32
. If the data is an array of arrays, then this index list will give the index into the data list for the given particle. This list is one entry larger than the number of particles so that the length can always be calculated by ( offset[ id + 1 ] - offset[ id ] )
for each particle. If the data is constant, and that data is an array of arrays, then this list will contain two entries.
miTag data |
The userdata tag to the actual value data storage. If the xsimrAttributeData::offsets tag is an miNULLTAG
then there is only one single value per particle. Otherwise the data comes in contiguous value chunks for each particle, and the contents of the offsets data can be used to index into it for each particle.
miTag blob_type |
A tag to a string that contains the blob type name if the type
field is set to xsimrATTRIBUTE_BLOB. For any other type, it is left as a miNULLTAG
.
miUint nb_particles |
Number of particles in the cloud
miTag positions |
Particle position in local space
int i_data |
Data index
int n_data |
Data count
xsimrAttributeData attributes[1] |
Attributes (optional) defined on the cloud
miUint st_index |
Strand Point index
miScalar range_max |
Maximum value for range
miInteger index |
Index
xsimrTimeMapValue time_map[1] |
Single range to frame mapping entry