You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Camera/Code/Source
Nicholas Van Sickle 7f84a4318c
Add an Orthogonal Projection option to the Camera Gem (#2414)
* Add an Orthogonal Projection option to the Camera Gem

This adds a check-box to opt into an ortho projection along with a half-width parameter to adjust the size of the visible area. Includes some light tweaks to ensure debug rendering looks OK and that we generate a correct camera state for these non-perspective views.

Known issue: while in "Be this camera" mode in the Editor using an ortho projection manipulators aren't working correctly. This appears to be a downstream issue with CameraState consumers not actually checking the ortho flag.

Signed-off-by: nvsickle <nvsickle@amazon.com>

* Fix some typos

Signed-off-by: nvsickle <nvsickle@amazon.com>

* Account for reversed depth buffer

Signed-off-by: nvsickle <nvsickle@amazon.com>

* Clarify depth reversal for MakeOrthographicMatrixRH

Signed-off-by: nvsickle <nvsickle@amazon.com>
4 years ago
..
CameraComponent.cpp Add an Orthogonal Projection option to the Camera Gem (#2414) 4 years ago
CameraComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CameraComponentController.cpp Add an Orthogonal Projection option to the Camera Gem (#2414) 4 years ago
CameraComponentController.h Add an Orthogonal Projection option to the Camera Gem (#2414) 4 years ago
CameraComponentConverter.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
CameraEditorSystemComponent.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
CameraEditorSystemComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CameraGem.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
CameraViewRegistrationBus.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EditorCameraComponent.cpp Add an Orthogonal Projection option to the Camera Gem (#2414) 4 years ago
EditorCameraComponent.h Add an Orthogonal Projection option to the Camera Gem (#2414) 4 years ago
ViewportCameraSelectorWindow.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
ViewportCameraSelectorWindow.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ViewportCameraSelectorWindow_Internals.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago