Commit Graph

2436 Commits

Author SHA1 Message Date
AMZN-koppersr e0948a26bc Fixed early ticket delete crash
This commit fixes a crash that could happen when a spawnable ticket was deleted before all requests in the queue had completed. Because of this crash the requests now only hold on to the payload of the ticket but not the ticket itself. As a side effect, callbacks can no longer provide the ticket itself so instead a unique id for the ticket is returned.
2021-05-26 14:29:39 -07:00
AMZN-koppersr 76827ff95e Added support for a priority lane for entity spawning
It's now possible to have high and normal priority calls on the spawnable entities manager. This allows for events like (de)spawning and retrieving information to be executed before already queued requests, though requests cannot be reordered on the same ticket. High priority calls are executed twice per frame, while normal priority calls are called only once.
2021-05-26 14:29:35 -07:00
AMZN-koppersr 37b53c0680 Spawnables can no longer be moved.
Spawnables had support for moving, but as the base class AZ::Data::AssetData doesn't support moving this was causing subtle issues. Moving spawnables wasn't used so it was removed.
2021-05-26 14:29:31 -07:00
cgalvan f1a5160fe7 Merge pull request #963 from aws-lumberyard-dev/cgalvan/FixMacBuildSliceConverter
Fixed extra qualification causing compile error on Mac.
2021-05-26 16:20:02 -05:00
Mike Balfour 6c17c7bfb3 Add new API to convert absolute source paths to relative paths. (#930)
There are already APIs for getting a relative product path from an absolute source path, or getting a relative source path for an *existing* source file, but there were no APIs for getting a relative source path for a *new* source file.  Prefabs will need this ability to be able to correctly generate a relative source path inside the prefab file before the file has been saved.
The logic for relative source paths is a little bit tricky because the paths are relative to the watch folders, and the watch folders can be nested, with different priorities to explain which should take precedence.  The input paths can also include specifiers like "." and "..", which need to be reconciled before creating the final correct relative path.  The included unit tests test all of the tricky edge cases that I was able to identify.
2021-05-26 15:30:21 -05:00
galibzon 0678dec64e [ATOM-15618] Shader Build Pipeline: Add UnitTest To Validate Shader C… (#918)
* [ATOM-15618] Shader Build Pipeline: Add UnitTest To Validate Shader Compiler
Argument Processing Introduced With The New Supervariant System

- Added new test suite in
  Gems/Atom/Asset/Shader/Code/Tests/SupervariantCmdArgumentTests.cpp

- Refactored and improved the previously existing classes:
  GlobalBuildOptions, PreprocessorOptions and ShaderCompilerArguments
  to work well with the new ShaderSourceData::SupervariantInfo.

- Moved command line argument processing function out of
ShaderCompilerArguments and into its own utility namespace in
Atom/RHI.Edit/Utils.h

Signed-off-by: garrieta <garrieta@amazon.com>
2021-05-26 15:23:11 -05:00
Alex Peterson da24f4ccde Launch editor from Project Manager 2021-05-26 13:17:16 -07:00
srikappa-amzn ef6ac74aa7 Merge pull request #934 from aws-lumberyard-dev/Prefab/RemoveUndoCacheDependency
Remove prefab undo cache dependency on CreatePrefab use case
2021-05-26 13:00:02 -07:00
Chris Galvan b68b9000a3 Fixed extra qualification causing compile error on Mac. 2021-05-26 14:55:38 -05:00
Ken Pruiksma 60f7f971f3 Merge pull request #943 from aws-lumberyard-dev/pruiksma/halton_update
Make it easier to fill your own custom structures with Halton sequences.
2021-05-26 14:20:28 -05:00
jckand-amzn d2e6031f38 Merge pull request #953 from aws-lumberyard-dev/jckand/FoundationAuto
SPEC-6949: Moving failing Editor tests to Sandbox suite for investigation
2021-05-26 14:06:17 -05:00
moudgils 87e8eaef42 Merge pull request #936 from aws-lumberyard-dev/MacDxcUpdateFix
Update Dxc path for Mac based on the Dxc updated package
2021-05-26 11:50:09 -07:00
AMZN-koppersr 86afd5fc7f Merge pull request #917 from aws-lumberyard-dev/SpawnableIndexQuery
Additional list function added to Spawnables.
2021-05-26 11:44:07 -07:00
Chris Santora 88e1c84854 Merge pull request #863 from aws-lumberyard-dev/Atom/santorac/DepthBasedLayerBlending
ATOM-14676 Depth Based Layer Blending

- Added new blend source options that blends between layers based on which displaced height is higher. These options include Displacement, Displacement_With_BlendMaskTexture, and Displacement_With_BlendMaskVertexColors.
- Significantly refactored and updated the blend and displacement code in StandardMultilayerPBR_Common to support displacement-based blending.
- Added a new blend factor specifically for displacement-based blending that adjusts the transition between the layers independent of the displacement transition.
- Rearranged the per-layer parallax property groups because these are more general than just parallax. They can be used for displacement-based blending regardless of whether a parallax effect is being used.
  - Renamed "Parallax Mapping" to "Displacement" because these properties can be used for other things besides parallax, in particular the new displacement-based blend modes.
  - Removed the unnecessary per-layer "enable parallax" flags.
  - Made the "offset" property always available, so this can be used to adjust displacement for blending purposes even when there is no heightmap or parallax. (The "factor" property still only shows up with a heightmap because its only purpose is to scale the heightmap).
- Solidified a naming convention for how to talk about layer blending: 
  - "Blend mask" means the R and G channels that mask layers 2-3. These can come from multipls source, including a "blend mask texture" or "blend mask vertex colors".
  - "Blend weights" are the final RGB channels that are multiplied and added with layer properties to do the final blend.
  - "Blend source" is the combination of data that is used to produce the blend weights, which could be a combination of displacement maps, blend mask texture, vertex colors, or others in the future.
- Updated the list of available debug view modes, and moved them to the "blend" group because the only modes we have right now are related to layer blending. 
- Fixed a pre-existing bug where normals could be length 0.
- Added new cc0 textures from https://cc0textures.com/
- Added new materials for testing

New ASV test cases are here: https://github.com/aws-lumberyard/o3de-atom-sampleviewer/pull/67
2021-05-26 11:38:40 -07:00
rgba16f 6b2028c756 fix ly shine inverted font colors
Make AtomFont use the same vertex color format as LyShine.
2021-05-26 13:38:03 -05:00
srikappa 0ffaa5429b Fixed a linux build error where an implicit conversion to const ref is not supported 2021-05-26 11:31:16 -07:00
jiaweig 50085d0487 Merge pull request #823 from aws-lumberyard-dev/Atom/jiaweig/ATOM-15125_UV_Tangent
ATOM-15125 Support Reorder of Tangent Streams
2021-05-26 11:25:13 -07:00
pruiksma e903915867 Merge branch 'main' into pruiksma/halton_update 2021-05-26 13:05:50 -05:00
pruiksma 1924937150 Fixes from PR review 2021-05-26 13:05:07 -05:00
jckand-amzn 68cef57d3b Merge branch 'main' into jckand/FoundationAuto 2021-05-26 13:03:26 -05:00
jckand-amzn 1ebfa86f87 Added missing indent to test registry in CMakeLists.txt 2021-05-26 13:02:55 -05:00
srikappa 7d3dcf85f6 Merge branch 'main' into Prefab/RemoveUndoCacheDependency 2021-05-26 10:47:35 -07:00
srikappa 5a41746683 Fixed a comment and added a forward declaration 2021-05-26 10:46:00 -07:00
AMZN-koppersr a82f4440ea Fixed release compile error 2021-05-26 10:24:15 -07:00
amzn-sean 63ce0c1a62 character controller component now uses simulated body handles (#929) 2021-05-26 18:24:13 +01:00
lumberyard-employee-dm 9a0b93c9ff Fixed generation of Monolithic builds StaticModules.inl (#947)
* Fixed generation of Monolithic builds StaticModules.inl
A project's gem module RUNTIME_DEPENDENCIES were not visited to
determine any dependent gem modules that needed to load.
Therefore the CreateStaticModules function were missing
CreateModuleClass_* function calls required initialize the gem's AZ::Module
derived class in monolithic builds

* Removed the logic to strip the Gem:: and Project:: prefix from the Server Launcher gem dependencies

When associating gem dependencies with the server target there was CMake logic left over in it to strip the beginning of the target name if it began with "Gem::" or "Project::"
2021-05-26 12:18:26 -05:00
Steve Pham d4587d1f99 Add Label Exclusion filter for Sandbox tests from the main test suites (#955) 2021-05-26 10:14:18 -07:00
greerdv 53f31a2712 Merge pull request #950 from aws-lumberyard-dev/network-transform-scale
update network code to use uniform scale on Transform
2021-05-26 18:01:49 +01:00
AMZN-koppersr f3212902aa Merge branch 'main' into SpawnableIndexQuery 2021-05-26 09:48:20 -07:00
Chris Santora 4462b059a1 Merge branch 'main' into Atom/santorac/DepthBasedLayerBlending 2021-05-26 09:45:17 -07:00
SJ 8ca3b078a2 Remove bootstrap.cfg and some references to it.
Merge pull request #836 from aws-lumberyard-dev/LYN-2461
2021-05-26 09:32:57 -07:00
Hasareej ca5e629dac Hasareej lyn 2301 cluster space 2 (#843)
Initial Implementation of the ViewportUi Space Cluster
2021-05-26 17:12:30 +01:00
moudgils e2a978d979 Merge branch 'main' into MacDxcUpdateFix 2021-05-26 08:59:36 -07:00
rgba16f c716d812bc Fix crash when using DebugDraw gem
Remove AtomBridgeSystemComponent requirement that the default window context exists before creating the default scene draw interface.

DebugDraw gem was crashing because the default scene DebugDisplayRequestBus implementation was not created.
2021-05-26 10:25:30 -05:00
greerdv c0546c27f7 change default scale to 1 2021-05-26 16:21:56 +01:00
greerdv 2fc5b3aadf Merge branch 'main' into network-transform-scale 2021-05-26 16:20:41 +01:00
jckand-amzn 06bfe89120 Merge branch 'main' into jckand/FoundationAuto 2021-05-26 10:11:10 -05:00
jckand-amzn 1fb8dd7dcd SPEC-7008: Moving failing Editor tests to Sandbox suite for investigation 2021-05-26 10:00:33 -05:00
galibzon 78d6dc3613 [SPEC-7010] Windows release_vs2019 build fails with an unreferenced formal parameter (#952)
in ShaderBuilderUtility.cpp

Added [[maybe_unused]] to a parameter that was not used under all
conditions.
2021-05-26 09:49:09 -05:00
jckand-amzn aefeeab376 Merge pull request #927 from aws-lumberyard-dev/jckand/FoundationAuto
Re-enabling Large Worlds tests in Main test suite
2021-05-26 09:08:08 -05:00
Benjamin Jillich 05f3144055 [LYN-2522] Gem catalog header widgets (#919)
* Added header widget with the name based filter
* Added column title header together with the the number of currently shown/filtered gems
2021-05-26 16:01:12 +02:00
greerdv 37813945cf Merge pull request #948 from aws-lumberyard-dev/transform-float-scale-continued
Transform float scale continued
2021-05-26 15:00:22 +01:00
greerdv 4018bb587c update network code to use uniform scale on Transform 2021-05-26 14:20:22 +01:00
jckand-amzn 9a15023eb5 Merge branch 'main' into jckand/FoundationAuto 2021-05-26 07:57:28 -05:00
greerdv 1c7d5e5615 Merge branch 'main' into transform-float-scale-continued 2021-05-26 10:27:18 +01:00
greerdv 78afeb8047 update more calls to Transform to use uniform scale 2021-05-26 10:26:26 +01:00
lumberyard-employee-dm 791e044457 Fixed PlatformConfigurationUnitTests.TestFailReadConfigFile_RegularScanfolder test by setting a project path in the AssetProcessorTest fixture 2021-05-25 23:38:03 -05:00
lumberyard-employee-dm 6f8f22f340 Suppress resolve path failed error in Atom_RHI UtilsTests now that the @assets@ alias isn't set during these test 2021-05-25 22:55:21 -05:00
lumberyard-employee-dm 58bd72c429 Setting project path to AutomatedTesting to fix the EMotionFX CanUseFileMenu and CanOpenWorkspace test from failing when resolving a relative path 2021-05-25 22:53:56 -05:00
Chris Santora 224c8417b7 Merge branch 'main' into Atom/santorac/DepthBasedLayerBlending 2021-05-25 19:43:45 -07:00