Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
GeometrySampleDescriptor Struct Reference

Structure that describes the parametric position of a sample on a geometry. More...

Public Member Functions

void clear ()
 

Public Attributes

unsigned int vertex_id
 index of the vertex the sample corresponds to
 
unsigned int primitive_id
 index of the primitive in which the sample is
 
unsigned int sub_primitive_id
 index of the sub primitive in which the sample is
 
double u
 
double v
 
double w
 parametric position in the primitive
 
double su
 
double sv
 
double sw
 paramatric position in the sub primitive
 
double time
 local time of the sample
 
double time_delta
 time delta used to compute the motion vector
 
GMathVec3d eye_dir
 local direction of the eye seeing the sample (useful for implicit geometries like furs)
 

Detailed Description

Structure that describes the parametric position of a sample on a geometry.