Commit Graph

5276 Commits

Author SHA1 Message Date
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
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
chcurran 91e84f1588 remove smoke tag now that Linux tests are disabled
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-26 11:37:38 -07:00
chcurran 6f07a0b136 Merge branch 'development' of https://github.com/o3de/o3de into carlitosan/development 2021-07-26 11:32:12 -07:00
chcurran a87318c52a temporarily disable SC unit tests on Linux until a file case issue is solved
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-26 11:31:34 -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
Benjamin Jillich 96aa9fde06 Removed legacy loading automated tests and ported file format for anim graph for remaining automated tests
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 10:00:07 +02:00
Benjamin Jillich ff2649d0c8 Adapted loading calls to removed legacy file loading
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 09:59:19 +02:00
Benjamin Jillich abc501e535 Removed legacy file format loading for anim graphs and motion sets
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 09:58:24 +02:00
Benjamin Jillich c097d19215 Removed legacy chunk processors for anim graphs and motion sets together with unused shared data
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 09:57:51 +02:00
Benjamin Jillich a287b67b43 Removed ReadDataSize/ReadData() helpers for attributes
Used only by legacy binary file format

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 09:57:01 +02:00
Benjamin Jillich a3e90b878c Removed legacy anim graph node parsers and legacy file format chunks
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 09:55:37 +02:00
Benjamin Jillich 8f35def25b AssImp skeleton import improvements (#2348)
* Disabled to skip exporting a node in case there are child bones underneath, this broke motion extraction as we skipped the motion extraction node.
* Added several helper methods for getting the local space bind pose transform, finding all bones, getting the first bone for a given node name and a recursive has child bones.
* Unified the cloned get all bone methods.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 08:39:02 +02:00
Esteban Papp f3a5e9d948 changing type that was coming from a cry header (#2397)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-23 15:50:27 -07:00
Junbo Liang c8b55af401 [AWS][Metrics] Resource names are too long leading to CDK deployment failures (#2291)
Sanitize resource names to prevent AWS resource failures.
2021-07-23 11:33:11 -07:00
Junbo Liang 5b8b51924a [AWS][AppSec][Medium] Bucket logging not enabled in sample template (#2243)
Add S3 bucket logging not enabled in sample template
2021-07-23 10:29:03 -07:00
amzn-phist dff425764a Fix some minor things
Removes unnecessary things added during development.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-23 12:17:34 -05:00
Chris Burel 1e10ee61ba [MeshOptimizer] Return the correct size from the position map when there are blendshapes (#2391)
The previous version returned the incorrect size from the position map when
blendshapes are present in the model. When there are blendshapes, the
vertex welding is disabled, and nothing is inserted into the position map.
However, the position map's size was being used to dictate how many
elements to create in the skinning info. The skinning info tries to
compensate for an incorrect max vertex index by resizing its underlying
vector when adding an influence, but that was using the index as the new
size of the vector, so it was off by one. This fixes both errors.

Signed-off-by: Chris Burel <burelc@amazon.com>
2021-07-23 19:13:53 +02:00
Luis Sempé 3eed9af252 Merge pull request #2379 from aws-lumberyard-dev/scripting/combo_box_fix
Script Canvas: Fixed Scope and Initial Value selection boxes
2021-07-23 10:11:13 -07:00
SergeyAMZN bee2b8831f Merge pull request #1941 from aws-lumberyard-dev/networking-autogen
Fix autogen template RewindableObject construction for linux platform
2021-07-23 18:08:49 +01:00
amzn-phist ce2fc6c1e6 Addresses one more piece of feedback
Updates a call to ConvertToAlias to use PathView.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-23 11:43:03 -05:00
amzn-phist d385f6ed99 Addresses feedback from PR review
Change DeepCopyNode utility to return a unique_ptr, fix up some
string/path usages to avoid temporaries, etc.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-23 11:29:47 -05:00