Commit Graph

19 Commits

Author SHA1 Message Date
Steve Pham 70042fcdcd O3DE Copyright Updates for Linux Foundation (#1504) 2021-06-23 10:55:22 -07:00
mriegger cca2b489d7 better formatting and changes from feedback 2021-06-22 13:53:31 -07:00
mriegger 6a19196d33 fix typo in comment 2021-06-22 12:40:40 -07:00
mriegger 026b1df29a removing small issue 2021-06-22 10:34:13 -07:00
mriegger 6dfa9d269c Fixing mistakes 2021-06-22 10:19:21 -07:00
mriegger 8d04154fb9 Changing it so that the Draw functions always stop at exactly maxAngle 2021-06-21 18:05:54 -07:00
mriegger d2f247ad4f Fix for incomplete arcs being drawn 2021-06-21 16:28:51 -07:00
Nicholas Van Sickle 087677b326 Fix several viewport issues (#1045)
* Fix some FOV calculation viewport issues:
-Avoid calculating FOV if we've got an invalid viewport
-Don't override game mode FOV, let the active camera components manage it instead

* Fix viewport font positioning

This updates code in a few places to respect an API change/fix made to AtomFont - also switched the default value of m_virtual800x600ScreenSize to false as it's really behavior you want to opt into

* Don't activate CameraComponentController when in the Editor / not in game mode
2021-06-01 12:20:15 -07:00
rgba16f d4bad61f9a DebugDraw gem fixes for Atom (#885)
* Work in progress on adapting the DebugDraw gem to use AzFramework::DebugDisplayRequests API

* Cleanup fixes for DebugDisplayRequestBus & DebugDraw gem.

Remove SandboxIntegration implementation of the DebugDisplayRequestBus
Add DrawWireCylinder & DrawWireCone to the DebugDisplayRequestBus interface
Remove SetFillMode & DrawTexture functions from the DebugDisplayRequestBus interface
Fixup uses of the SetFillMode api, replace with new Draw[Wire|Solid]X functions.
Fixes to the DebugDraw gem to get it compiling with new warnings settings.

* Changes to get the DebugDraw gem working with Atom/RHI/Code/Include/Atom/RHI

Add GetWidth, GetHeight, GetDepth utility accessors to RHI::Viewport
Start cleaning out unnecessary Cry includes from DebugDraw gem
Fixes for AtomFont FFont.cpp 3d screen aligned text drawing.
Clean out no longer supported code for 3d text to render multiple strings for the same entity location

* Cleanup some unused or commented code

* Update with PR feedback from Nick Van Sickle
2021-05-24 16:49:00 -05:00
greerdv 27d6e5b848 formatting tidy up 2021-05-11 11:41:33 +01:00
greerdv 619f71cc19 fixing some bugs with debug draw not taking entity scale into account 2021-05-11 11:39:14 +01:00
greerdv 45055ab3cc applying debug draw transform stack to DrawLines and DrawTriangles 2021-05-10 22:01:41 +01:00
rgba16f 83e0691243 Added some comments to clarify the role of the default instance 2021-05-03 14:58:15 -05:00
rgba16f d115c89043 Fixes for using the DebugDisplayRequestBus in game mode 2021-05-03 11:48:48 -05:00
rgba16f f2ce91fb44 AtomDebugDisplayViewportInterface - Fix Crash if FontQueryInterface in null 2021-04-27 14:57:51 -05:00
alexpete c98a1cebaa GetDefaultView needs full View definition 2021-04-16 13:33:16 -07:00
alexpete 10faddb113 Integrating github/staging through commit ef88e6e 2021-04-16 12:05:11 -07:00
alexpete c2cbd430fe Integrating up through commit 90f050496 2021-04-07 14:03:29 -07:00
alexpete a10351f38d Initial commit 2021-03-08 14:30:57 -08:00