Qing Tao
846e2736a5
[new] ATOM-17253 Using AtomTressFX gem as an example to inject hair passes to main pipeline at run-time ( #7661 )
...
* Change AtomTressFX passes to write to exsiting DepthLinear buffer instead of creating a new one as output.
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
* Added new api in RPI to apply render pipeline changes from FP
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
* Update AtomTressFX gem to create hair parent pass at runtime
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
* Change Scene::ApplyRenderPipelineChange() to TryApplyRenderPIpelineChanges().
Have TryApplyRenderPIpelineChanges() called automatically when a render pipeline is added to a Scene.
Re-apply the render pipeline change when RenderPipeline got recreated (Pass hot-reloading support)
Add AddPassBefore() and AddPassAfter() function to RenderPIpeline class.
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
2022-02-17 08:50:50 -08:00
jromnoa
ca3018155e
Merge pull request #7709 from aws-lumberyard-dev/Atom/jromnoa/AllowDescriptorHeapCompaction-set-true-for-AR
...
Sets AllowDescriptorHeapCompaction to true so the nightly GPU run won't time out
2022-02-17 07:38:32 -08:00
Chris Galvan
c4dce0da95
Merge pull request #7702 from aws-lumberyard-dev/cgalvan/FixedSetImageAssetPathAPI
...
Updated SetImageAssetPath on image gradient to be more robust
2022-02-17 09:23:52 -06:00
John Jones-Steele
e57b854fca
Cleaned up issues with multiple components ? button ( #6555 )
...
* Cleaned up issues with multiple components ? button
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Commit for merge
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Commit before merge
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* WIP
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Before merge from development
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Updated all HelpURL
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Changes from PR
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Changes from PR
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
2022-02-17 09:04:01 +00:00
Benjamin Jillich
c9432dc5e0
EMotion FX: Ported skeleton rendering to debug display and fixed depth testing for debug rendering ( #7682 )
...
* Ported line-based and solid skeleton rendering to debug display.
* Disabled depth testing for skeleton rendering so that we can see the skeleton through the solid mesh.
* Remembering the previous render flags and setting them back afterwards.
* Enabled depth testing for emfx debug, vertex & face normals, tangents and wireframe. We don't want to see them through the solid mesh to avoid visual clutter.
Signed-off-by: Benjamin Jillich <jillich@amazon.com >
2022-02-17 09:14:24 +01:00
jromnoa
949ce436bb
sets AllowDescriptorHeapCompaction to true instead of false so AR doesn't time out
...
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com >
2022-02-16 18:14:40 -08:00
Chris Galvan
3f2aa7470a
Merge pull request #7679 from aws-lumberyard-dev/cgalvan/RemovedGradientImageBuilder
...
Removed unused Gradient Signal image builder and image processing component
2022-02-16 16:40:24 -06:00
Chris Galvan
47643e650a
Updated image gradient automated test to use new API
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-02-16 16:11:08 -06:00
Chris Galvan
506c5ec0a8
Fixed SetImageAssetPath API on image gradient
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-02-16 16:09:40 -06:00
Chris Galvan
577767acc9
Merge pull request #7694 from aws-lumberyard-dev/TerrainBuildFix
...
Fix build error due to const qualifiers not matching
2022-02-16 16:00:41 -06:00
Zack
0c43559169
Checksum of deb package needs to be recomputed after signing ( #7543 )
...
Reported-by: xaque xaque@duck.com
Signed-off-by: Mike Chang <changml@amazon.com >
2022-02-16 11:40:19 -08:00
Guthrie Adams
7f16cd1643
Merge pull request #7677 from aws-lumberyard-dev/Atom/guthadam/atom_tools_move_document_reflection_into_classes
...
Atom Tools: Moving behavior context reflection into respective classes
2022-02-16 13:39:36 -06:00
amzn-sj
a6958e8166
Fix build error due to const qualifiers not matching
...
Signed-off-by: amzn-sj <srikkant@amazon.com >
2022-02-16 11:28:07 -08:00
jromnoa
8a1d63bab0
Merge pull request #7663 from aws-lumberyard-dev/Atom/jromnoa/move-benchmark-test-metrics-to-new-suite
...
Move benchmark test metrics to their own suite outside of the GPU suite.
2022-02-16 11:01:37 -08:00
Scott Romero
d119501760
[development] fixes for targeting macOS Monterey (12.x) ( #7666 )
...
Targeting macOS 12.x fails to compile due to some named constants being deprecated and replaced
Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
2022-02-16 10:37:36 -08:00
dmcdiarmid-ly
b9fd9a43c6
Merge pull request #7669 from aws-lumberyard-dev/Atom/dmcdiar/LYN-10373
...
MaterialEditor fix for MSAA state
2022-02-16 11:32:51 -07:00
amzn-sj
fef53bf4be
Update ProcessFromListOfVector2 API functions to use bulk queries. ( #7658 )
2022-02-16 10:08:17 -08:00
Nicholas Van Sickle
26566a06d2
Merge pull request #7565 from aws-lumberyard-dev/nvsickle/DomPrefixTree
...
Add DomPrefixTree, a DOM path => value lookup structure
2022-02-16 11:50:43 -05:00
Roman
f72c7da4a3
Change rotation camera to use RMB, and add orbit rotation camera using LMB + alt ( #7610 )
...
* Change rotation camera to use RMB, and add orbit rotation camera using LMB + Alt
Signed-off-by: rhhong <rhhong@amazon.com >
* add lookScrollCamera
Signed-off-by: rhhong <rhhong@amazon.com >
2022-02-16 08:38:51 -08:00
lumberyard-employee-dm
ba48ef3949
GCC Build fix. ( #7659 )
...
GCC doesn't accept accessing member variables inside the noexcept expression of a member function.
GCC also requires that template specializations for an inner template be outside of all classes.
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2022-02-16 10:06:00 -06:00
Chris Galvan
18631b1a30
Merge pull request #7563 from aws-lumberyard-dev/jckand/ImageGradientTests
...
Adding new Image Gradient test to validate surface modification
2022-02-16 10:02:30 -06:00
Chris Galvan
b2c7cf4452
Moved GetValueFromImageAsset from ImageAsset to ImageGradientComponent
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-02-16 09:53:06 -06:00
Benjamin Jillich
a9d2ea660c
EMotion FX: Colliders now also render without the collider plugins #7643
...
* Colliders only rendered in case the given plugin was active, no matter if they were enabled or not in the 3D viewport which was confusing for users. Colliders as well as ragdoll debug draw now renders independently of the plugins.
* Added debug rendering for colliders and ragdoll joint limits to the Atom debug draw class
* Automatically clear selection when closing skeleton outliner
Resolves #5982
Resolves #5980
Signed-off-by: Benjamin Jillich jillich@amazon.com
2022-02-16 16:43:28 +01:00
Chris Galvan
283fe216dc
Merge branch 'development' of https://github.com/o3de/o3de into cgalvan/RemovedGradientImageBuilder
2022-02-16 09:21:03 -06:00
Guthrie Adams
ce754d31e5
Atom Tools: Moving behavior context reflection into respective classes
...
Signed-off-by: Guthrie Adams <guthadam@amazon.com >
2022-02-16 09:19:12 -06:00
Chris Galvan
c2d6ba0c69
Merge pull request #7625 from aws-lumberyard-dev/cgalvan/AddSupportForUNORM_SRGB
...
Added support for several UNORM_SRGB formats
2022-02-16 09:18:34 -06:00
Mike Balfour
0e328afcdd
Optimize surface providers ( #7631 )
...
* Add comparison operators to SurfaceTagWeight.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Changed AddSurfaceTagWeight to always combine weights.
This simplifies the API a bit and defines the behavior if someone ever tries to add a duplicate tag.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Added benchmarks for measuring the performance-critical APIs.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Changed SurfaceTagWeights to a fixed_vector.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Add inPosition to AddSurfacePoint.
This will be used to detect which input the surface point is associated with.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Add inPositionIndex to the appropriate APIs.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Switched Gradient Surface benchmarks to use actual surface components.
The gradient unit tests and benchmarks were previously using a mock surface data system, which led to misleading benchmark results. Now, the actual SurfaceData system gets constructed, and the tests use a mock provider, but the benchmarks use actual shape providers for more realistic benchmarking.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fixed unit tests to have better query ranges.
Half of each previous range was querying outside the surface provider's data.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* First attempt at removing SurfacePointLists.
This currently runs significantly slower than the previous code but passes the unit tests.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Another attempt at optimization.
This one runs faster than the previous, but still slow.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fix the cmake dependency so that the gradient tests rebuild SurfaceData.dll when run.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Switch SurfaceAltitudeGradient over to the new bulk API.
Also, optimized the non-bulk API by having it reuse the SurfacePointList to avoid the repeated allocation / deallocation cost.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Switched to using an indirect index so that all allocations are consecutive in our reserved buffer.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Switched back to SurfaceTagWeight again.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Added runtime dependency to LmbrCentral for unit tests.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Switched code over to use the full EnumeratePoints in most cases.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Added knowledge of max surface point creation into the system.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Add generic GetSurfacePointsFromList API implementation for surface providers.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fixed implementation to use the correct maximum number of input points based on the surface providers being queried.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fix out-of-bounds references on empty lists.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fix memory allocation that caused benchmark runs to crash.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Starting to clean up the API.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Move SurfacePointList into separate files for easier maintainability.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fixed bug where too many points were filtered out due to using the position Z as a part of the AABB check.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Made FilterPoints an internal part of SurfacePointList so we can choose when and how to perform the filtering.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Final cleanup / comments.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Added includes for non-unity builds.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Optimized GetValues() implementations.
Also consolidated GetValue() and GetValues() down to a single implementation under the covers for easier maintenance.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Changed how unit tests initialize the mock lists to try and fix the linux errors.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Switch to explicit span declarations to help ensure this works with linux.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fixed compile error.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Make the bulk terrain APIs take in const Vector instead of non-const.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Optimize the surface data providers for bulk queries.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
2022-02-16 09:17:01 -06:00
Benjamin Jillich
1413977aca
Animation Editor: Motion event colors aren't in sync with the event presets ( #7582 )
...
The motion events in the timeview had the wrong colors assigned as they weren't correctly mapped to the given event presets.
Signed-off-by: Benjamin Jillich <jillich@amazon.com >
2022-02-16 16:07:33 +01:00
dmcdiarmid-ly
e94d832e67
Set MSAA state in MaterialEditor startup
...
Signed-off-by: dmcdiarmid-ly <63674186+dmcdiarmid-ly@users.noreply.github.com >
2022-02-16 02:12:30 -07:00
Benjamin Jillich
5e3b176abf
EMotion FX: Colliders now also render without the collider plugins
...
Colliders only rendered in case the given plugin was active, no matter if they were enabled or not in the 3D viewport which was confusing for users. Colliders as well as ragdoll debug draw now renders independently of the plugins.
Signed-off-by: Benjamin Jillich <jillich@amazon.com >
2022-02-16 09:25:49 +01:00
Nicholas Van Sickle
de8b1496f0
Update DomPrefixTree range ctor with better validation
...
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com >
2022-02-15 17:31:57 -08:00
jromnoa
19ccd59268
remove unused import
...
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com >
2022-02-15 17:27:41 -08:00
jromnoa
79e32ce4e5
moving benchmark tests into their own file to prevent timeout failures of other tests potentially stopping the benchmarks
...
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com >
2022-02-15 16:29:31 -08:00
jromnoa
932f0a4d84
Merge pull request #7596 from aws-lumberyard-dev/Atom/scottmur/editor_test_screenshot
...
Atom editor screenshot test refactor for nightly GPU
2022-02-15 16:07:19 -08:00
Mike Balfour
16d6cbca2a
Fixed intermittent unit test failures. ( #7651 )
...
The problem is that SurfacePoint doesn't have default values when constructed, and a few of the unit tests weren't setting m_position because the values weren't strictly needed for the test. However, the SurfacePointList checks them for validity and asserted when they couldn't be found, which was hit-and-miss due to it being uninitialized memory that was usually but not always 0xCCCCCCCC.
Improved the assert message and set the position values everywhere.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
2022-02-15 17:59:04 -06:00
Nicholas Van Sickle
f60a24e07d
Add support for Range-based DomPrefixTree construction, fix initializer_list
...
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com >
2022-02-15 15:55:12 -08:00
Ronald Koppers
f2378fc8d8
Merge pull request #7561 from aws-lumberyard-dev/ConfigurableStack
...
Improved the way the Settings Registry can handle stacks/arrays.
2022-02-15 15:41:33 -08:00
Chris Galvan
9a32d433f4
Changed to use the lookup table directly than have a helper method
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-02-15 17:29:53 -06:00
Chris Galvan
24aca5dfaf
Removed now unused gradient image builder and image processing system component
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-02-15 17:07:28 -06:00
Chris Galvan
12d5a304b5
Improved performance of UNORM_SRGB pixel retrieval by switching to a pre-computed lookup table
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-02-15 16:47:58 -06:00
Nicholas Van Sickle
e149abe550
Tidy a bit of API
...
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com >
2022-02-15 14:42:52 -08:00
Scott Murray
5124a6322d
pulling in latest
...
Signed-off-by: Scott Murray <scottmur@amazon.com >
2022-02-15 13:10:12 -08:00
AMZN-koppersr
f91ea8de13
Removed #pragma once in cpp file.
...
Signed-off-by: AMZN-koppersr <82230785+AMZN-koppersr@users.noreply.github.com >
2022-02-15 13:10:10 -08:00
Allen Jackson
de97ad6ade
{lyn8578} adding UX for assinging a Python scene builder ( #7551 )
...
* {lyn8578} adding UX for assinging a Python scene builder
Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com >
* improved the Reset and Assign script logic
Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com >
* GUI updates to highlight the scene script
Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com >
* save off the script file name instead of holding onto the rule
update the header display name separate from setting the scene
Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com >
2022-02-15 15:01:43 -06:00
Nicholas Van Sickle
5543a0d32d
Fix non-unity builds again
...
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com >
2022-02-15 12:52:24 -08:00
Mike Balfour
7fbcab9f13
gtest_repeat crashes ( #7645 )
...
* Moved allocation to avoid crash on gtest_repeat.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Fixed GradientSignal tests to work with gtest_repeat.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
2022-02-15 13:27:54 -06:00
Scott Romero
aaa8b9df7c
[development] automated tests for timing editor loading of the 10k levels ( #7472 )
...
It has been observed that when entering game mode in the editor with the 10k levels, the Vulkan backend performs significantly worse compared to DX12 on Windows. These tests are intended to detect if either backend gets worse with a currently generous timeout of 3 minutes to complete (10 for the Vulkan outlier) and should lowered over time as this metric stabilizes. Added a new periodic tests job to specifically run on a GPU instance.
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2022-02-15 11:17:15 -08:00
Nicholas Van Sickle
f934984ffe
Address review feedback:
...
- Use `unordred_map` (speed is about the same but providing a hash is slightly nicer than operator<)
- Do better arg forwarding where applicable
- Swap EXPECT_ test ordering
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com >
2022-02-15 11:08:22 -08:00
moudgils
4bf6b6ba15
Add 3p vulkan validation layer support. ( #7540 )
...
* Add 3p vulkan validation layer support. Enabling device validation will automatically load the VkLayer_khronos_validation.dll ensuring that validation checks will work correctly
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Addressed feedback
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Updating the hash to the new 3p package
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
2022-02-15 10:22:32 -08:00
AMZN-koppersr
9bd487e3bd
Minor fixes to the configurable stack based on provided feedback.
...
Signed-off-by: AMZN-koppersr <82230785+AMZN-koppersr@users.noreply.github.com >
2022-02-15 10:11:41 -08:00