Source

kinect-viewer / KVRayFieldSpaceModel.h

Diff from to

KVRayFieldSpaceModel.h

   // code if we use [480][640].
   vec3f_t rays[480 * 640];
   
+  // Normal vectors for each vertex.
+  vec3f_t normals[480 * 640];
+  
   // The raw RGB samples of the last color image.  These do not
   // map one-to-one onto rays because the cameras are offset.
   rgb_t colorImage[480][640];
 extern NSString * const KVPolygonMode;
 extern NSString * const KVFilledPolygonMode;
 extern NSString * const KVWireframePolygonMode;
-extern NSString * const KVDottedPolygonMode;
+extern NSString * const KVDottedPolygonMode;
+
+extern NSString * const KVLighting;
+extern NSString * const KVNoLighting;
+extern NSString * const KVDiffuseLighting;