xsi_miuserdata_defs.h File Reference
 
 
 
xsi_miuserdata_defs.h File Reference
#include <shader.h>
#include <geoshader.h>

File Description

Softimage mental ray userdata defines. Compatibility with C is required. Tab space is 4.

The file defines the magic numbers and structures required to query and access for userdata passed to a mental ray shader by Softimage.

Classes

struct   xsimrLightData
  Stores information about whether the diffuse and specular are applied. More...
struct   xsimrLightIllumData
  If set by a shader, will be filled in by Softimage's light shaders to contain a separated light and shadow information. Also contains the amount of contribution this light gives to the diffuse and specular components of the shading model. More...
struct   xsimrProfileCurveData
  A profile curve data sampled into linear segments. More...
struct   xsimrParticleShape
  Particle shape structure. More...
struct   xsimrParticleBlob
  Particle data blob structure. More...
struct   xsimrAttributeData
  A structure containing the information for a single attribute. More...
struct   xsimrPointCloudData
  The main particle data header. More...
struct   xsimrPointCloudIndex
  Stores the PointCloud index. More...
struct   xsimrTimeMapValue
  A single range to frame mapping entry. More...
struct   xsimrAttributeImageTimeMap
  List of range to frame mapping values. More...
struct   xsimrMeshAttribute
  A structure representing an ICE attribute on a mesh. More...
struct   xsimrMesh
  A user data applied on meshes. More...

Defines

#define  XSIMR_LIGHTDATA_LABEL   2860411
#define  XSIMR_LIGHTILLUMDATA_KEY   "xsiLID"
#define  XSIMR_RENDERMAPDATA_LABEL   0x2C1ACA
#define  XSIMR_POINTCLOUD_INDEX_LABEL   0x613EC66F
#define  XSIMR_ATTRIBUTE_SHADER_KEY   "xsiATTR"

Enumerations

enum   xsimrLightFlags { XSIMR_LF_DIFFUSE = 1 << 0, XSIMR_LF_SPECULAR = 1 << 1 }
enum   xsimrCurveExtrapolation { XSIMR_CE_CONSTANT = 1, XSIMR_CE_END_GRADIENT = 2, XSIMR_CE_CYCLE = 3, XSIMR_CE_CYCLE_RELATIVE = 4 }
enum   xsimrAttributeType {
  xsimrATTRIBUTE_BOOLEAN, xsimrATTRIBUTE_INTEGER, xsimrATTRIBUTE_SCALAR, xsimrATTRIBUTE_VECTOR2,
  xsimrATTRIBUTE_VECTOR3, xsimrATTRIBUTE_VECTOR4, xsimrATTRIBUTE_QUATERNION, xsimrATTRIBUTE_MATRIX33,
  xsimrATTRIBUTE_MATRIX44, xsimrATTRIBUTE_COLOR4, xsimrATTRIBUTE_ROTATION, xsimrATTRIBUTE_SHAPE,
  xsimrATTRIBUTE_BLOB
}
enum   xsimrParticleShapeType {
  xsimrSHAPE_POINT, xsimrSHAPE_SEGMENT, xsimrSHAPE_DISC, xsimrSHAPE_RECTANGLE,
  xsimrSHAPE_SPHERE, xsimrSHAPE_BOX, xsimrSHAPE_CYLINDER, xsimrSHAPE_CAPSULE,
  xsimrSHAPE_CONE, xsimrSHAPE_BLOB, xsimrNB_SIMPLE_SHAPES, xsimrSHAPE_INSTANCE = 128
}

Enumeration Type Documentation

xsimrParticleShapeType xsimrParticleShapeType Enum Defines the particle shape types for rendering.

See also:
xsimrParticleShape, xsimrPointCloudData, xsimrAttributeData
Since:
7.0
Enumerator:
xsimrSHAPE_POINT 

Point type.

xsimrSHAPE_SEGMENT 

Segment type.

xsimrSHAPE_DISC 

Disc type.

xsimrSHAPE_RECTANGLE 

Rectangle type.

xsimrSHAPE_SPHERE 

Sphere type.

xsimrSHAPE_BOX 

Box type.

xsimrSHAPE_CYLINDER 

Cylinder type.

xsimrSHAPE_CAPSULE 

Capsule type.

xsimrSHAPE_CONE 

Cone type.

xsimrSHAPE_BLOB 

Blob type.

xsimrNB_SIMPLE_SHAPES 

Simple shape type.

xsimrSHAPE_INSTANCE 

Instance type.

Go to the source code of this file.