ShadingIn Struct Reference
[Data Structures]

Inheritance diagram for ShadingIn:
TMCObject RayHit3D

List of all members.

Public Member Functions

 ShadingIn ()

Static Public Member Functions

static void Average (ShadingIn &out, ShadingIn &in1, ShadingIn &in2, ShadingFlags flags)

Public Attributes

TVector3 fPoint
 Surface point in Global Coordinates.
TVector3 fGNormal
 Surface Normal in Global Coordinates.
TVector3 fPointLoc
 Surface point in Local Coordinates.
TVector3 fNormalLoc
 Surface Normal in Local Coordinates.
TVector2 fUV
 u,v texture values
TVector3 fPointx
TVector3 fPointy
 Surface point derivatives in Global Coordinates.
TVector3 fNormalx
TVector3 fNormaly
 Surface Normal derivatives in Global Coordinates.
TVector2 fUVx
TVector2 fUVy
 texture derivatives
TVector3 fPointLocx
TVector3 fPointLocy
 Surface point derivatives in Local Coordinates.
TVector3 fNormalLocx
TVector3 fNormalLocy
 Surface Normal derivatives in Local Coordinates.
TVector3 fIsoU
 U iso-parametric vector in Local Coordinates.
TVector3 fIsoV
 V iso-parametric vector in Local Coordinates.
uint32 fUVSpaceID
 UV Space ID; can use UVSpaceID enum.
boolean fBumpOn
 global bump setting
EChannelMask fChannelMask
 bit mask that determines which channel must be evaluated
uint32 fCurrentCompletionMask
 Internal flags for shaders. Must be set to zero before calling DoShade.
I3DShInstancefInstance
 Used by ShadingMode to calculate bounding Box.
const UVSpaceInfofUVInfo
 UV Space information (filled by I3DShInstance::DoShade()).
TVector3 fSurfaceNormalLoc
 normal to the real geometry surface (before smoothing) in Local Coordinates
TVector3 fGSurfaceNormal
 normal to the real geometry surface (before smoothing) in Global Coordinates

Detailed Description

All the information that are passed to a shader for a given point.


Constructor & Destructor Documentation

ShadingIn::ShadingIn (  )  [inline]

Member Function Documentation

void ShadingIn::Average ( ShadingIn out,
ShadingIn in1,
ShadingIn in2,
ShadingFlags  flags 
) [inline, static]

Member Data Documentation

global bump setting

bit mask that determines which channel must be evaluated

Internal flags for shaders. Must be set to zero before calling DoShade.

Surface Normal in Global Coordinates.

normal to the real geometry surface (before smoothing) in Global Coordinates

Used by ShadingMode to calculate bounding Box.

U iso-parametric vector in Local Coordinates.

V iso-parametric vector in Local Coordinates.

Surface Normal in Local Coordinates.

Surface Normal derivatives in Local Coordinates.

Surface Normal derivatives in Global Coordinates.

Surface point in Global Coordinates.

Surface point in Local Coordinates.

Surface point derivatives in Local Coordinates.

Surface point derivatives in Global Coordinates.

normal to the real geometry surface (before smoothing) in Local Coordinates

u,v texture values

UV Space information (filled by I3DShInstance::DoShade()).

UV Space ID; can use UVSpaceID enum.

texture derivatives


The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 22:47:53 2010 for Carrara SDK Doc by  doxygen 1.6.3