Source

kinect-viewer / KVRenderer.m

Author Commit Message Labels Comments Date
Cliff Biffle
Fixed a loss-of-precision warning in KVRenderer.
Branches
shaders
Cliff Biffle
Un-projection is now a single matrix multiply on the GPU. Having re-learned matrix math, which I hadn't used since high school, I was able to rearrange all the linearization and projection calculations so that I could describe the process as a single multiply in homogeneous space. Unfortunately, this disables normal calculation for now -- and thus lighting. Will fix all this shortly.
Branches
shaders
Cliff Biffle
Camera RGB image is now bound to texure unit 1.
Branches
shaders
Cliff Biffle
Added an (unused) binding for a color texture on unit 1.
Branches
shaders
Cliff Biffle
We no longer update the Z component of the renderer's ray field, relying exclusively on the depth texture.
Branches
shaders
Cliff Biffle
Removed triangulated and mesh rendering, in the interest of merely being a Kinect *viewer* and not inferring data where there isn't any.
Branches
shaders
Cliff Biffle
Removed the unused linearizationTable -- the shader doesn't need it. Might be worth building a 1D linearization texture later though.
Branches
shaders
Cliff Biffle
Renamed KVRayFieldSpaceModel -> KVRenderer, now that it's looking like I won't have multiple implementations any time soon.
Branches
shaders