Commits

Author Commit Message Labels Comments Date
Cliff Biffle
Factored perspective correction into a separate static-inline routine.
Cliff Biffle
Added a quad renderer based on the mesh renderer.
Cliff Biffle
Added a "mesh" drawing mode that outlines quads by connecting adjacent points.
Cliff Biffle
Switched to more aggressive compiler optimization flags.
Cliff Biffle
Replay support: given a file of raw unlinearized 16-bit depth samples in the order generated by libfreenect, the viewer can now display a movie.
Cliff Biffle
Reworked scroll behavior. Unmodified X/Y scroll now moves the image in the viewport. Hold command to adjust depth.
Cliff Biffle
Factored the depth field computation out of the rendering methods and added a linearized depth cache to allow more interesting renderers.
Cliff Biffle
In point renderer, switched to explicit float literals. The compiler, assuming that I was deliberately mixing types for some obscure numerical effect, was performing all these conversions at runtime.
Cliff Biffle
Fixed an oversight in the depth field rendering routines: loop index bounds assumed that we were looking at pairs of points.
Cliff Biffle
Switched the default rendering method to points, rather than cards. Points is slightly faster and avoids some strange Z-buffer issues I'm seeing.
Cliff Biffle
Precomputed the depth linearization table, for a small performance win.
Cliff Biffle
Xcode keeps making subtle changes to the project file that have no semantic impact. Here's hoping this eventually reaches a fixed point.
Cliff Biffle
Disabled freenect depth/rgb processing when the corresponding buffer is not provided to KFKinect. For applications that don't use one or the other, this is a small performance win.
Cliff Biffle
Added card-based pointcloud rendering.
Cliff Biffle
Factored axis drawing out of depth field routine.
Cliff Biffle
Moved the axis indicators to the center of the view.
Cliff Biffle
Wired the Kinect drivers into the viewer.
Cliff Biffle
Fixed the resize anchors for the GLview.
Cliff Biffle
Brought the drivers into the project, after having too much trouble with cross-project dependencies.
Cliff Biffle
Added scroll wheel motion control. Used it to discover that the mesh was wrong. Fixed mesh.
Cliff Biffle
Changed the sinusoidal point cloud to a mesh of lines.
Cliff Biffle
Cleaned up the camera/projection code a little.
Cliff Biffle
Added an axis indicator.
Cliff Biffle
Removed the cube vertex data.
Cliff Biffle
Moved the depth array scaling and translation out of the inner computation loop and into the MODELVIEW matrix.
Cliff Biffle
Sets a default raw depth field of uninitialized memory.
Cliff Biffle
Removed the demo cube. The initial model is now a sinusoidal point field, so I can play with the view settings.
Cliff Biffle
Switched to gluPerspective from glFrustum. Code is simpler now.
Cliff Biffle
Set FOV to match the Kinect's.
Cliff Biffle
GL viewer sketch, mostly derived from Apple's CocoaGL sample.
  1. Prev
  2. Next