Commit Graph

5231 Commits

Author SHA1 Message Date
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
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
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
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
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
Cynthia Lin 61f91d4a9a Move benchmark data aggregation from ASV into ly_test_tools module. (#2335)
* fix: Correct typo in profiling capture system.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>

* Move benchmark data aggregation from ASV into ly_test_tools module.

Signed-off-by: Cynthia Lin <cyntlin@amazon.com>
2021-07-26 12:25:50 -07:00
antonmic ab957e60b8 Merge pull request #2385 from aws-lumberyard-dev/pruiksma/ATOM-16024
ATOM-16024 Point light shadows now affect specular like they should.
2021-07-26 12:03:08 -07:00
bosnichd 90e45a5bbd Barrier (formerly Synergy) Input Gem (#2336)
Synergy (now Barrier) input was lost when we removed the CryLegacy Gem. This resurrects the code, updates it to work with Barrier (which is the open source project based on the original Synergy core), and updates it to be more conformant with the AzFramework Input framework.

Notes:

- The majority of code in BarrierInputClient.cpp is still largely unmodified from the original Cry drop and could use some love to make it more robust, but it works so at least gives us somewhere to start.
- The current iteration replaces the host platform's default mouse/keyboard implementation upon creation of the BarrierInputClient, and if the connection fails or is later lost we don't restore the default implementations which we should for a better use experience. On a related note, for some use cases it would be better to create additional mouse/keyboard input devices (that use the Barrier implementations) in addition to the existing devices (that use the host platform's default implementation), however this would mean that any system assuming only one mouse/keyboard device exists would not work with the additional Barrier input devices. We can iterate on both of the above issues in the future as needed, perhaps providing configurable options to control the behaviour.

Signed-off-by: bosnichd <bosnichd@amazon.com>
2021-07-26 12:19:00 -06:00
AMZN-nggieber d5b9d203ea Check for minimum VS subversion and link to workload install instructions for VS (#2398)
Signed-off-by: nggieber <nggieber@amazon.com>
2021-07-26 20:09:32 +02:00
Dayo Lawal 4306b57230 More replacement with target name
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-26 13:08:59 -05:00
Dayo Lawal 78b07a0869 Fixing errors and streamlining more to base class
Signed-off-by: Dayo Lawal <lawalfua@amazon.com>
2021-07-26 12:51:37 -05:00
Royal OBrien a12defcb30 Merge pull request #2364 from AMZN-scspaldi/scspaldi_LyTTTestsforLinux
Made LyTT Tests check if they are disabled for the platform.
2021-07-26 13:35:30 -04:00
amzn-phist 0e46187996 Merge branch 'dev' into audio/amzn-phist/RemoveLegacyXml
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-26 12:28:49 -05:00
jiaweig 24db0c82eb fix the assert from incorrect size calculation (#2404)
Signed-off-by: jiaweig <jiaweig@amazon.com>
2021-07-26 10:17:35 -07:00
Terry Michaels c390c84586 Merge pull request #2387 from aws-lumberyard-dev/TruncateNumericalValuesCorrectly
Fixed number truncation in displayed values
2021-07-26 11:34:58 -05:00
John Jones-Steele 73706fa04e Added Tests to check code is correct
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-26 16:10:21 +01:00
amzn-sean 3ade098742 support node switching in a pipe (#2345)
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
2021-07-26 11:16:13 +01:00
John Jones-Steele 57fa1109c6 Merge branch 'development' into TruncateNumericalValuesCorrectly
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-26 09:19:41 +01:00