kaolin icon indicating copy to clipboard operation
kaolin copied to clipboard

Camera: IntrinsicsPinhole convenience upgrades

Open orperel opened this issue 2 years ago • 1 comments

Additions to IntrinsicsPinhole:

  1. Add properties for cx and cy, which represent the actual principal points (currently we expose only x0, y0, which are deltas from the center.
  2. 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).
  3. Upgrade setter functions for the width and height properties: these should maintain the focal length invariant, but update the fov accordingly

Additions to Camera:

  1. Expose setter functions for the width and height properties.
  2. Add pin_memory() function.

orperel avatar May 01 '23 12:05 orperel

Stale issue, please reopen if still relevant

github-actions[bot] avatar Oct 03 '25 21:10 github-actions[bot]