Source

kinect-viewer / KVRayFieldSpaceModel.h

Author Commit Message Labels Comments Date
Cliff Biffle
The RayFieldSpaceModel can now do normal calculations, so we have lighting again. The factoring improvements have let me move normal calculation to the Kinect thread, so that both threads stay within their 33ms deadlines.
Cliff Biffle
Fixed copyright headers on KVRayFieldSpaceModel.[hm].
Cliff Biffle
Completely refactored the model/renderer relationship in preparation for voxel rendering and SLAM stuff. There are no longer DepthMaps or Renderers, because the rendering method needs intimate awareness of the depth model. Instead, a new KVSpaceModel type combines both. We lose some features with this commit. Some, like quad rendering, are unlikely to return. Others I plan to reimplement immediately: foreground isolation, camera texture mapping. Finally, background data averaging needs more thought, and will probably be replaced by a more flexible sensor noise model.