Powertek.Rt.PtRtRayCommon Class Reference

PtRtRayCommon. More...

Collaboration diagram for Powertek.Rt.PtRtRayCommon:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static bool IntersectTriangle (PtRay ray, IntersectionInfo info, PtRtTriangle tempTri, PtIntersectionMode mode)
static void SampleTexture (IntersectionInfo info, MatTexture tex, Vertex3f diffuseColor, ref Vertex3f matColor)
static Vertex3f CalcMatColor (IntersectionInfo info)
static void BRDFAmbient (IntersectionInfo info)
static void BRDFDiffuse (IntersectionInfo info, IntersectionInfo shadowInfo, PtRay ray, PtRtLight light, ref float dotLight)
static void BRDFSpecularPhong (IntersectionInfo info, IntersectionInfo shadowInfo, PtRay ray, PtRtLight light, Vertex3f normalizedLightDir, ref float dotLight)
static void BRDFSpecularBlinn (IntersectionInfo info, IntersectionInfo shadowInfo, PtRay ray, PtRtLight light, Vertex3f normalizedLightDir, ref float dotLight)
static void BRDFDiffuseOrenNayar (IntersectionInfo info, IntersectionInfo shadowInfo, PtRay ray, PtRtLight light, Vertex3f normalizedLightDir, ref float dotLight)
static void CalcBGColor (PtRay ray, IntersectionInfo info, float maxRenderDistance, ref Vertex3f finalColor)
static void CalcBGColor (ref Vertex3f finalColor)

Static Public Attributes

static float Epsilon = 0.001f
static int[] modulo3LookUp = { 0, 1, 2, 0, 1 }
static PtFastPowShineLUT FastPowShineLUT = new PtFastPowShineLUT(1000, 200)


Detailed Description


Member Function Documentation

static void Powertek.Rt.PtRtRayCommon.BRDFAmbient ( IntersectionInfo  info  )  [static]

BRDFAmbient.

Parameters:
info 

static void Powertek.Rt.PtRtRayCommon.BRDFDiffuse ( IntersectionInfo  info,
IntersectionInfo  shadowInfo,
PtRay  ray,
PtRtLight  light,
ref float  dotLight 
) [static]

BRDFDiffuse.

Parameters:
info 
shadowInfo 
ray 
light 
dotLight 

static void Powertek.Rt.PtRtRayCommon.BRDFDiffuseOrenNayar ( IntersectionInfo  info,
IntersectionInfo  shadowInfo,
PtRay  ray,
PtRtLight  light,
Vertex3f  normalizedLightDir,
ref float  dotLight 
) [static]

BRDFDiffuseOrenNayar.

Parameters:
info 
shadowInfo 
ray 
light 
normalizedLightDir 
dotLight 

static void Powertek.Rt.PtRtRayCommon.BRDFSpecularBlinn ( IntersectionInfo  info,
IntersectionInfo  shadowInfo,
PtRay  ray,
PtRtLight  light,
Vertex3f  normalizedLightDir,
ref float  dotLight 
) [static]

BRDFSpecularBlinn.

Parameters:
info 
shadowInfo 
ray 
light 
normalizedLightDir 
dotLight 

static void Powertek.Rt.PtRtRayCommon.BRDFSpecularPhong ( IntersectionInfo  info,
IntersectionInfo  shadowInfo,
PtRay  ray,
PtRtLight  light,
Vertex3f  normalizedLightDir,
ref float  dotLight 
) [static]

BRDFSpecularPhong.

Parameters:
info 
shadowInfo 
ray 
light 
normalizedLightDir 
dotLight 

static void Powertek.Rt.PtRtRayCommon.CalcBGColor ( ref Vertex3f  finalColor  )  [static]

CalcBGColor.

Parameters:
finalColor 

static void Powertek.Rt.PtRtRayCommon.CalcBGColor ( PtRay  ray,
IntersectionInfo  info,
float  maxRenderDistance,
ref Vertex3f  finalColor 
) [static]

CalcBGColor, the backsphere is often more far away then some of the tris hit (reflection) set distance to max or we wouldnt see environment reflections.

Parameters:
ray 
info 
maxRenderDistance 
finalColor 

static Vertex3f Powertek.Rt.PtRtRayCommon.CalcMatColor ( IntersectionInfo  info  )  [static]

CalcMatColor.

Parameters:
info 
Returns:

static bool Powertek.Rt.PtRtRayCommon.IntersectTriangle ( PtRay  ray,
IntersectionInfo  info,
PtRtTriangle  tempTri,
PtIntersectionMode  mode 
) [static]

Intersect Triangle and change info.Intersectiontype and params if intersect.

Parameters:
ray 
info 
tempTri 
mode 
Returns:

Here is the call graph for this function:

static void Powertek.Rt.PtRtRayCommon.SampleTexture ( IntersectionInfo  info,
MatTexture  tex,
Vertex3f  diffuseColor,
ref Vertex3f  matColor 
) [static]

SampleTexture.

Parameters:
info 
tex 
diffuseColor 
matColor 


Member Data Documentation

float Powertek.Rt.PtRtRayCommon.Epsilon = 0.001f [static]

Epsilon.

LUT for Pow Calculation.

int [] Powertek.Rt.PtRtRayCommon.modulo3LookUp = { 0, 1, 2, 0, 1 } [static]

modulo3LookUp


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:45:49 2008 for Powertek.Rt, 1.0.0.60 by  doxygen 1.5.7.1