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/Code/Framework/AzFramework/AzFramework
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>
5 years ago
..
API Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Application (Continuation) Implemented automation paralellization & standarization (#1718) 5 years ago
Archive [development] Fixed runaway memory in editor (#2220) 5 years ago
Asset Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CommandLine Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Components Add an Orthogonal Projection option to the Camera Gem (#2414) 5 years ago
Debug Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Dependency Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Driller Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Entity Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileFunc Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileTag Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Font Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Gem Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
IO Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
InGameUI Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Input Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Logging Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Math Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Metrics Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Network Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Physics merge from development 5 years ago
Platform Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Process Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ProjectManager Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Render Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Scene Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Script Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Session Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Slice Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Spawnable Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
StreamingInstall Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
StringFunc Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
TargetManagement Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Terrain Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Thermal Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UnitTest Reduce inclusion overhead a little bit 5 years ago
Viewport Ensure camera system correctly consumes events when it is active (#2346) 5 years ago
Visibility Reduce inclusion overhead a little bit 5 years ago
Windowing Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AzFrameworkModule.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AzFrameworkModule.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
azframework_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago