Genesis
Genesis copied to clipboard
[Feature]: Adjust Camera Coordinates: Make +Z Axis Represent Forward Direction
What feature or enhancement are you proposing?
Change the behavior of genesis.vis.camera.Camera(transform=T), so that T represents a transform where +z is the forward direction of the camera. (Or mention explicitly in the document that +z points backward to avoid confusion)
Motivation
Right now the camera uses pyrender (OpenGL) conventions, +z points the backward of the camera.
However I believe in many cases people use +z to represent the forward direction of a camera.
Potential Benefit
Avoid confusion for people who think +z should align with the forward direction of the camera. Especially when they are using camera.attach() to attach a camera to some object, this proposed change could reduce confusion.
What is the expected outcome of the implementation work?
Either document the convention of camera frame we use;
Or make +z align with camera forward direction default/optional.
Additional information
No response