VolVis
Content
Index
Previous (SetupBoundingPlanes)
Next (Size)

Member
  ShadeVoxel

Visibility
  PROTECTED

Related Class
  TDataSet

Description
 

This function computes the shaded color values of a Pixel according to the Phong Lighting Model.


Source code
  function ShadeVoxel ( nPos : TPoint3D ; H , L : TVector3D ; cp : TSingleColor ) : TSingleColor

Parameters
 
Parameter Description
nPos : TPoint3D the position of the normal vector in the normals-array
H : TVector3D the Phong Halfway Vector
L : TVector3D the vector directed to the light source
cp : TSingleColor the color value to be shaded

Return
 
Types Description
TSingleColor the color cp shaded with the Phong Lighting Model

Links
  #UnderConstruction#

VolVis
Content
Index
Previous (SetupBoundingPlanes)
Next (Size)


Created with DelphiCodeToDoc. To obtain the latest revision, please see http://dephicodetodoc.sourceforge.net/
Under GNU GPL licence. Copyright (c) 2003 - TridenT.