Commit Graph

5202 Commits (13f4f3b37a70f82bbce1acbfdeb2ea3dccfcbb4a)
 

Author SHA1 Message Date
Kyle B 13f4f3b37a fixed typo in vegitation mock
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B c515ead27e attempt to fixed mock errors
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 01ad7c5e4e fixed namespace issue with the mocks
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B e2a9c58cae fixed unnessisary qualifier error
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 6acbea722e minor syntax changes and adding a refresh tree attributeto the editor component
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B bdbab1090a removed accidental file addition
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B cea334dbc4 Fixed enum value problems
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 0c05c9f204 [not working] Made lod selection more generic for further work
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 51271fa15b Created group for Lod component data
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B baab204c0b updated Mock with new interface values
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 9c5c2e7de6 un-did const on function that did not need it
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 3db93a564d Made formatting changes per pull comments, incuding adding comments, changing spacing, and changing the ui type of component fields
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 1a48118ece Added comments and formatted as close to the original
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Kyle B 5b88d96eec Exposed fields to the mesh component giving greater Lod control from the editor
Signed-off-by: Kyle B <kylebirnbaum@gmail.com>
5 years ago
Pratik Patel c9b3ed8bc7
Merge pull request #2382 from aws-lumberyard-dev/audio/amzn-phist/RemoveLegacyXml
Replaces usage of legacy XML apis with RapidXml
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
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)
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
antonmic ab957e60b8
Merge pull request #2385 from aws-lumberyard-dev/pruiksma/ATOM-16024
ATOM-16024 Point light shadows now affect specular like they should.
5 years ago
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>
5 years ago
AMZN-nggieber d5b9d203ea
Check for minimum VS subversion and link to workload install instructions for VS (#2398)
Signed-off-by: nggieber <nggieber@amazon.com>
5 years ago
Royal OBrien a12defcb30
Merge pull request #2364 from AMZN-scspaldi/scspaldi_LyTTTestsforLinux
Made LyTT Tests check if they are disabled for the platform.
5 years ago
amzn-phist 0e46187996 Merge branch 'dev' into audio/amzn-phist/RemoveLegacyXml
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
5 years ago
jiaweig 24db0c82eb
fix the assert from incorrect size calculation (#2404)
Signed-off-by: jiaweig <jiaweig@amazon.com>
5 years ago
Terry Michaels c390c84586
Merge pull request #2387 from aws-lumberyard-dev/TruncateNumericalValuesCorrectly
Fixed number truncation in displayed values
5 years ago
John Jones-Steele 73706fa04e Added Tests to check code is correct
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
5 years ago
amzn-sean 3ade098742
support node switching in a pipe (#2345)
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
5 years ago
John Jones-Steele 57fa1109c6 Merge branch 'development' into TruncateNumericalValuesCorrectly
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
5 years ago
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>
5 years ago
Esteban Papp f3a5e9d948
changing type that was coming from a cry header (#2397)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
5 years ago
Junbo Liang c8b55af401
[AWS][Metrics] Resource names are too long leading to CDK deployment failures (#2291)
Sanitize resource names to prevent AWS resource failures.
5 years ago
Junbo Liang 5b8b51924a
[AWS][AppSec][Medium] Bucket logging not enabled in sample template (#2243)
Add S3 bucket logging not enabled in sample template
5 years ago
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>
5 years ago
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>
5 years ago
Luis Sempé 3eed9af252
Merge pull request #2379 from aws-lumberyard-dev/scripting/combo_box_fix
Script Canvas: Fixed Scope and Initial Value selection boxes
5 years ago
SergeyAMZN bee2b8831f
Merge pull request #1941 from aws-lumberyard-dev/networking-autogen
Fix autogen template RewindableObject construction for linux platform
5 years ago
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>
5 years ago
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>
5 years ago
John Jones-Steele b1922fe95e Changed comment to reflect PR
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
5 years ago
John Jones-Steele a33bc107be Fixed number truncation in deisplayed values
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
5 years ago
moraaar 1a407d9a08
Debug Trace Messages for Automation queues bus calls. (#2328)
Since TraceMessageBus will be called from multiple threads and python interpreter is single threaded, all the bus calls are queued into a list and called at the end of the frame in the main thread.

Signed-off-by: moraaar <moraaar@amazon.com>
5 years ago
hultonha 4268376587
Ensure camera system correctly consumes events when it is active (#2346)
* add typename for struct initializer

Signed-off-by: hultonha <hultonha@amazon.co.uk>

* fix for ensuring while the camera is 'active', events are consumed and not propagated

Signed-off-by: hultonha <hultonha@amazon.co.uk>

* refactor how we decide which priority to repsond to events to

Signed-off-by: hultonha <hultonha@amazon.co.uk>

* also -> only

Signed-off-by: hultonha <hultonha@amazon.co.uk>
5 years ago
Ken Pruiksma 53dd7a89aa ATOM-16024 Point light shadows now affect specular like they should.
Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>
5 years ago
amzn-phist 91dcbe7fed Fixes minor mistake in helper function desc
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
5 years ago
amzn-phist 976272d9cf Cleans up more legacy code from ACE
Rewrote some code to replace gEnv->pCryPak and ISystem usage.  One place
was grabbing a Camera view from ISystem, replaced with simple identity
matrix.  Cleaned up include headers.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
5 years ago
onecent1101 85c403ea06 Remove =
Signed-off-by: onecent1101 <liug@amazon.com>
5 years ago