kinect-viewer / KVRenderer.h

Author Commit Message Labels Comments Date
Cliff Biffle avatarCliff Biffle
Removed the last vestiges of CPU-side normal computation.
Branches
shaders
Cliff Biffle avatarCliff 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 avatarCliff 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 avatarCliff Biffle
Removed the KVSpaceModel protocol.
Branches
shaders
Cliff Biffle avatarCliff Biffle
Renamed KVRayFieldSpaceModel -> KVRenderer, now that it's looking like I won't have multiple implementations any time soon.
Branches
shaders
Cliff Biffle avatarCliff Biffle
Renamed KVRenderer's "useLighting" property to just "lit" to be more consistent with other properties -- and shorter.
Cliff Biffle avatarCliff Biffle
Pixel color data can now be mapped onto the depth scene. The defaults are reasonably accurate for my Kinect, but keyboard shortcuts are available for tweaking the matrix.
Cliff Biffle avatarCliff Biffle
KVRenderers now receive color data when rendering, though they don't do anything with it yet.
Cliff Biffle avatarCliff Biffle
KVRenderers no longer maintain their own Z-buffers -- this is now the job of KVDepthMap. This restores the ability to change renderers during freeze-frame, and prepares the way for reimplementing foreground isolation.
Cliff Biffle avatarCliff Biffle
Renderer colors are now configurable.
Cliff Biffle avatarCliff Biffle
Refactored rendering. Executive summary: (1) rather than building the scene itself, KVDepthView now delegates to a strategy object described by the KVRenderer protocol; (2) my three favorite rendering algorithms are now implemented as KVRenderers, while the others are kaput; (3) foreground subject isolation has been removed for now while I rework it to be cleaner.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.