Commit Graph

5308 Commits

Author SHA1 Message Date
Jacob Hilliard 487fc631ec Visualizer: Tabular view of function statistics
Current metrics are MTPC, max time, and invocations per frame. The
invocations per frame is buggy if switching between samples but I don't
know how to fix that in a context-agnostic way (editor vs ASV) - resetting
works for now.

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>
2021-07-28 10:22:47 -07:00
Jacob Hilliard d5a496751c Visualizer: Implement region search + highlight
Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>
2021-07-28 10:20:24 -07:00
Ibtehaj Nadeem a7e414fafe Fix Linux compilation error in test code
Signed-off-by: Ibtehaj Nadeem <81370835+ibtehajn@users.noreply.github.com>
2021-07-28 17:58:31 +01:00
Dayo Lawal 3cd40b151e Merge remote-tracking branch 'upstream/development' into atomToolsApplication 2021-07-28 11:47:47 -05:00
Jacob Hilliard db8f78890f [ATOM-16017] Implement frame time histogram in visualizer (#2378)
* Histogram: Basic working graph of frame times

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>

* Histogram: Improve usability

Implements horizontal frame limit lines, limit-based coloring, and a
viewport indicator.

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>

* Histogram: Implement interactions

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>
2021-07-28 09:35:02 -07:00
Ibtehaj Nadeem 0824bb462a Improve tooltip text
Signed-off-by: Ibtehaj Nadeem <81370835+ibtehajn@users.noreply.github.com>
2021-07-28 17:31:45 +01:00
Esteban Papp 433aec4f34 Disabling this since the fast checkup in VS doesnt solve what this was hoping to solve, we need to emit and add as dependencies all the includes involved in autogen (#2383)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-28 09:25:31 -07:00
Jakub Wlodek a7b613d388 Fixing typos in comments in AffineParts.h file (#2407)
Signed-off-by: jwlodek <jakub.wlodek@stonybrook.edu>
2021-07-28 08:56:46 -07:00
Ibtehaj Nadeem 16869d56f3 Use regular comment
The Doxygen comment would only apply to the first field in each group.

Signed-off-by: Ibtehaj Nadeem <81370835+ibtehajn@users.noreply.github.com>
2021-07-28 14:09:26 +01:00
ibtehajn fd07f907bc Implement axis locking options for rigid bodies
Linear and angular motion of rigid bodies can now be restricted along
specific world-space axes.

Signed-off-by: Ibtehaj Nadeem <81370835+ibtehajn@users.noreply.github.com>
2021-07-28 13:39:32 +01:00
moraaar d38f17131e Fixed cloth tangent generation (from 'stabilization/2106' @26c9853f)
- The output vectors were not properly filled with zeros when they already had the expected size.
- The tolerance was too large and was causing patches while computing tangents and bitangents.
- The handedness was inverted to what is expected in the shader (which always inverts tangent's w).

Signed-off-by: moraaar <moraaar@amazon.com>
2021-07-28 13:14:56 +01:00
Benjamin Jillich 5662cb551e Merge pull request #2418 from aws-lumberyard-dev/jillich/RemoveEmfxLegacyImporters
Removed legacy file loading for anim graphs and motion sets
2021-07-28 00:03:55 -07:00
lumberyard-employee-dm 6868a48bb0 Adding o3de.py subcommands for engine.json and gem.json modification (#2411)
The new commands are edit-engine-properties and edit-gem-properties
They can modify specific fields within these manifest files, that should
affect build system.

More importantly, this commands can be used to modify the "engine_name"
field in the engine.json and the "gem_name" field in the gem.json

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2021-07-27 22:04:37 -05:00
chcurran 0cfac06c69 making azcore tests serialized as a sanity check only on non android
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-27 18:55:40 -07:00
chcurran 2174f8415a making azcore tests serialized as a sanity check
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-27 18:32:00 -07:00
chcurran c177fe3c04 use work around for missing SERIAL tag for ly_add_googletest()
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-27 16:27:36 -07:00
amzn-phist 7b7adb8573 Don't require a specific version of Wwise SDK, allow for later versions to be used (#2484)
* Updates the Wwise SDK detection in CMake

Parses AkWwiseSDKVersion.h to obtain the version instead of requiring an
exact version to be installed.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Updates readme.md information about Wwise

Rewrite some of the setup info about Wwise, mention the two ways in
which Wwise can be found via CMake and that users can install later
versions than the one specified.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Remove unnecessary parts of Wwise version detect

Don't need to parse the file contents, it was only being used to print a
message to CMake.  Simplify the validation to just checking that the SDK
version header exists.  Maybe in the future we can reinstate better
version checking to make sure the version falls within a range.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Updates capitalization of Audiokinetic name

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-27 18:18:03 -05:00
chcurran 9742626aba Make SC unit tests run serially
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-27 15:59:28 -07:00
chcurran 055915ec4f merge from latest
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-27 15:51:35 -07:00
AMZN-koppersr bbf537b34a Merge pull request #2225 from aws-lumberyard-dev/rapidjson-natvis
Adding rapidjson.natvis file to the AzCore project to Visualizers to VS
2021-07-27 15:48:51 -07:00
Esteban Papp a20588952e disable vcpkg for every project (#2507)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-27 15:41:17 -07:00
kberg-amzn 54a28352f0 Merge pull request #2461 from aws-lumberyard-dev/AzNetworkingMetrics
New AzNetworking metrics display plus connection quality debug widgets using ImGui
2021-07-27 13:14:41 -07:00
carlitosan 1e3c55246a Merge pull request #2490 from aws-lumberyard-dev/carlitosan/fix_null_check
remove null data check from connected slots
2021-07-27 12:49:15 -07:00
Dayo Lawal 4b0527c07f Moving comments
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-27 13:42:48 -05:00
Ken Pruiksma 33c408f654 Expose shadow bias to component & feature processors. (#2406)
* Expose shadow bias to component & feature processors. Shadow bias now works more consistently with various near / far shadow planes and caster positions. Bias now also affects esm shadows which helps eliminate acne in certain situations.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>

* Adding jira comment to light configuration serialization version. Improved comment on final adjustment to bias before its sent to the shader.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>

* Hooking up bias to behavior context.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>
2021-07-27 11:31:05 -07:00
jjjoness bfbe6fc95c Corrected the text message (#2483)
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-27 13:12:36 -05:00
chcurran 76a3195487 remove null data check from connected slots
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-27 10:52:22 -07:00
Dayo Lawal 5cb001dffd More fixes
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-27 12:51:38 -05:00
carlitosan c6449b7db5 Merge pull request #2459 from aws-lumberyard-dev/carlitosan/fix_entity_ref
fix entity reference removal when not in a variable
2021-07-27 10:41:49 -07:00
Dayo Lawal 06b3f7d964 Undoing adding reflect and adding target names to functions
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-27 12:18:12 -05:00
Dayo Lawal 485f6338ac CreateReflectionManager()
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-27 02:19:26 -05:00
Benjamin Jillich a3712b5564 TSpace setting for MikkT tangent generation (#2386)
* Added TSpace method setting which is only visible for MikkT generation.
* Fixed a bug with generating tangents for blend shapes.
* Renamed tangent space into generation method.
* Some code cleaning

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-27 09:15:26 +02:00
Dayo Lawal e3083c7310 Reflect() fix
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-27 02:11:58 -05:00
Dayo Lawal 61038ccd03 Reflect()
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-27 02:09:45 -05:00
Dayo Lawal 4b97a416a3 GetCriticalAssetFilters()
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-27 02:06:33 -05:00
kberg-amzn 23fb27e2a4 New AzNetworking metrics display plus connection quality debug widgets using ImGui
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-07-26 19:40:39 -07:00
Pratik Patel c9b3ed8bc7 Merge pull request #2382 from aws-lumberyard-dev/audio/amzn-phist/RemoveLegacyXml
Replaces usage of legacy XML apis with RapidXml
2021-07-26 18:58:01 -07:00
chcurran 223654c41b Add fix and unit tests for pure on graph start functions and direct entity id input
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-26 17:51:10 -07:00
amzn-phist ed6dbb48f4 Fixes failing tests and linux compile error
Replaced a 'uint32' with AZ::u32 to fix a linux compile error that
likely came about after cleaning up includes.  Rewrites a failing unit
test after the code under test was updated from CryPak to AZ::IO.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-26 18:19:07 -05:00
chcurran b8300c6248 fix entity reference removal when not in a variable
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-26 16:02:17 -07:00
Dayo Lawal 4baea40a75 Reflect() fix
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-26 17:48:22 -05:00
Dayo Lawal 7122f1b761 More refractoring
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-26 17:41:10 -05:00
Dayo Lawal 50f6ea8385 Using GetBuildTargetName() and other fixes
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-26 16:22:34 -05:00
Esteban Papp da474357f3 Some var cleanup so it shows better-organized in cmake-gui. Some vars… (#2361)
* Some var cleanup so it shows better-organized in cmake-gui. Some vars were also not following the namign convention we are using
Removed some unnecessary messaging
Fixed a TIF bug where it would report the wrong test in a message, fixed a message that was being triggered
Changed TIF to be enabled just by the binary so running the ci_build scripts locally doesnt trigger TIF messaging
Removed `LY_ENABLE_MULTIPLAYER_COMPRESSION`, it was not being used

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* handling case where a parameter can be empty

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* needs to be var name, not contents

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-26 14:14:56 -07:00
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>
2021-07-26 13:58:50 -07:00
Steve Pham e81f59d1e1 Create XCB Connection mechanism for WSISurface implementation for Linux (#2400)
- Add new Linux Trait to determine which display driver client API to use (only xcb supported for now)
- Add support for xcb connections (initial) for Linux/Vulkan
- Fix minor assertion caused by wrong use of sizeof
- Fix casing issue in a couple of material files (Linux is case sensitive)
2021-07-26 13:41:28 -07:00
amzn-phist 900cc08510 Removing dependencies on legacy code (#2358)
* Removes use of gEnv->mMainThreadId

Save off the thread id that was used when initializing audio system and
connecting EBuses, use that instead of gEnv.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Replace uses of gEnv->pCryPak with AZ::IO

Updated uses of pCryPak to instead go through the AZ::IO::FileIOBase
instance.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-26 15:29:00 -05:00
amzn-phist 41ebcefe66 Restoring include headers that were removed
These removals caused build errors on non-unity builds.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-26 15:23:31 -05:00
chcurran c38aa001b6 Merge branch 'development' of https://github.com/o3de/o3de into carlitosan/development 2021-07-26 13:20:50 -07:00
chcurran 3ad8f0dbf9 adjust location of disabling SC unit tests on Linux
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-26 13:20:08 -07:00