kaolin
kaolin copied to clipboard
Camera: IntrinsicsPinhole convenience upgrades
Additions to IntrinsicsPinhole:
- Add properties for
cxandcy, which represent the actual principal points (currently we expose onlyx0,y0, which are deltas from the center. - Add a matrix for casting from NDC to pixel space. This should be the matrix form of glViewport , to be used with the ViewProjection matrix when going from world coordinates to actual pixel coordinates (rather than world to NDC).
- Upgrade setter functions for the
widthandheightproperties: these should maintain the focal length invariant, but update the fov accordingly
Additions to Camera:
- Expose setter functions for the
widthandheightproperties. - Add
pin_memory()function.
Stale issue, please reopen if still relevant