Public Member Functions | |
IntersectionInfo (float maxRenderDistance) | |
void | InitIntersection (PtRay ray, bool smoothNormals) |
void | InitMaterials () |
Public Attributes | |
Vertex3f | InterSectionPoint |
Vertex3f | Normal |
PtRtTriangle | Triangle |
PtMaterial | Mat |
float | Distance |
Vertex3f | currentShade |
float | U |
float | V |
float | Mu |
float | Mv |
PtIntersectionType | IntersectionType |
Vertex3f | MatColor |
Vertex3f | MatAmbientColor |
Vertex3f | MatDiffuseColor |
Vertex3f | MatSpecularColor |
Vertex3f | CombinedDiffuseColor |
Powertek.Rt.IntersectionInfo.IntersectionInfo | ( | float | maxRenderDistance | ) |
void Powertek.Rt.IntersectionInfo.InitIntersection | ( | PtRay | ray, | |
bool | smoothNormals | |||
) |
InitIntersection, Info.Distance and tri must be already assigned.
ray | ||
smoothNormals |
void Powertek.Rt.IntersectionInfo.InitMaterials | ( | ) |
InitMaterials.
Combined Color at Intersection.
currentShade
Distance of Intersection.
InterSectionPoint.
PtIntersectionType Powertek.Rt.IntersectionInfo.IntersectionType |
Type of Intersection.
PtMaterial Powertek.Rt.IntersectionInfo.Mat |
Material.
Material Ambient Color at Intersection.
Material Color at Intersection.
Material Diffuse Color at Intersection.
Material Specular Color at Intersection.
helperCoord assigned by TriIntersect (later needed for smooth normal and uv)
helperCoord assigned by TriIntersect (later needed for smooth normal and uv)
Vertex3f Powertek.Rt.IntersectionInfo.Normal |
Normal, the normal can be smoothed so calc it only once.
Texture Mapping u Component.
Texture Mapping v Component.