Commit Graph

15 Commits (6dfa9d269cb102ea6d37c374acedee8886b79d4d)

Author SHA1 Message Date
mriegger 6dfa9d269c Fixing mistakes 5 years ago
mriegger 8d04154fb9 Changing it so that the Draw functions always stop at exactly maxAngle 5 years ago
mriegger d2f247ad4f Fix for incomplete arcs being drawn 5 years ago
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
5 years ago
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
5 years ago
greerdv 27d6e5b848 formatting tidy up 5 years ago
greerdv 619f71cc19 fixing some bugs with debug draw not taking entity scale into account 5 years ago
greerdv 45055ab3cc applying debug draw transform stack to DrawLines and DrawTriangles 5 years ago
rgba16f 83e0691243 Added some comments to clarify the role of the default instance 5 years ago
rgba16f d115c89043 Fixes for using the DebugDisplayRequestBus in game mode 5 years ago
rgba16f f2ce91fb44 AtomDebugDisplayViewportInterface - Fix Crash if FontQueryInterface in null 5 years ago
alexpete c98a1cebaa GetDefaultView needs full View definition 5 years ago
alexpete 10faddb113 Integrating github/staging through commit ef88e6e 5 years ago
alexpete c2cbd430fe Integrating up through commit 90f050496 5 years ago
alexpete a10351f38d Initial commit 5 years ago