
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) |
| static void Powertek.Rt.PtRtRayCommon.BRDFAmbient | ( | IntersectionInfo | info | ) | [static] |
BRDFAmbient.
| info |
| static void Powertek.Rt.PtRtRayCommon.BRDFDiffuse | ( | IntersectionInfo | info, | |
| IntersectionInfo | shadowInfo, | |||
| PtRay | ray, | |||
| PtRtLight | light, | |||
| ref float | dotLight | |||
| ) | [static] |
BRDFDiffuse.
| 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.
| 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.
| 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.
| info | ||
| shadowInfo | ||
| ray | ||
| light | ||
| normalizedLightDir | ||
| dotLight |
| static void Powertek.Rt.PtRtRayCommon.CalcBGColor | ( | ref Vertex3f | finalColor | ) | [static] |
CalcBGColor.
| 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.
| ray | ||
| info | ||
| maxRenderDistance | ||
| finalColor |
| static Vertex3f Powertek.Rt.PtRtRayCommon.CalcMatColor | ( | IntersectionInfo | info | ) | [static] |
CalcMatColor.
| info |
| 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.
| ray | ||
| info | ||
| tempTri | ||
| mode |

| static void Powertek.Rt.PtRtRayCommon.SampleTexture | ( | IntersectionInfo | info, | |
| MatTexture | tex, | |||
| Vertex3f | diffuseColor, | |||
| ref Vertex3f | matColor | |||
| ) | [static] |
SampleTexture.
| info | ||
| tex | ||
| diffuseColor | ||
| matColor |
float Powertek.Rt.PtRtRayCommon.Epsilon = 0.001f [static] |
Epsilon.
PtFastPowShineLUT Powertek.Rt.PtRtRayCommon.FastPowShineLUT = new PtFastPowShineLUT(1000, 200) [static] |
LUT for Pow Calculation.
int [] Powertek.Rt.PtRtRayCommon.modulo3LookUp = { 0, 1, 2, 0, 1 } [static] |
modulo3LookUp
1.5.7.1