Commit Graph

3480 Commits

Author SHA1 Message Date
Nicholas Van Sickle bfeb3e0ab9 Merge pull request #1306 from yuriy0/FullScreenGamePreview
Full screen game preview for Atom viewport
2021-06-16 08:40:29 -07:00
Olex Lozitskiy fff7cc0e10 Merge pull request #1344 from aws-lumberyard-dev/Network/olexl/redcode_bullet_code_use
[sig/network] Redcoding parts of old Networking that used Bullet external physics code
2021-06-16 09:55:06 -04:00
Tom Hulton-Harrop d9b1ccd323 Add align grid button to Viewport UI (#1311)
* first pass of adding grid snapping button

* update to request current grid size

* show/hide snapping option based on selection

* small tidy-up changes

* small updates following review feedback

* added some unit tests for snapping functionality and some small tidy-up/refactoring

* small refactor to ensure snap to grid ui only appears with snapping enabled

* add missing include to resolve build error

* fixes for build

* add & to make compiler happy
2021-06-16 12:58:01 +01:00
AMZN-mnaumov c0dc0cb936 Merge pull request #1337 from aws-lumberyard-dev/mnaumov/StabilizationJun15
Stabilization to Development merge - 06/15/21
2021-06-15 15:42:04 -07:00
Yuriy Toporovskyy 7d1a12a14f Bug fix: crash after full screen preview due to dangling pointer 2021-06-15 18:33:44 -04:00
AMZN-Olex 04f045bfd2 Recoding parts of old Networking that used Bullet external physics code 2021-06-15 15:58:16 -04:00
yuriy0 a9c55c1070 Update actor render bounding box (#991)
* Extend MeshFeatureProcessor to allow changing the mesh bbox, which requires re-compute the culling data for that mesh

* Update actor mesh bbox when EMFX actor instance bbox changes.

Also use the actor instance global bbox to compute the local bbox for the skinned render mesh, instead of the using the static bounds based bbox, as not every actor instance is going to be using the static bounds bbox.

* Store per-instance mesh AABB in the right place.

In the MeshInstanceData, which is unique per instance, instead of in the Model, which is shared between all instances.

For greater clarity, also remove Model::m_aabb and the corresponding getter and setter, as it isn't immediately obvious whether this gets the model asset bbox or the mesh instance bbox. Callers should instead be explicit about which bbox they want.

* Bug fix: model asset is not necessarily ready in AcquireMesh

* Remove now-unused forward declaration

* Update MockMeshFeatureProcessor with SetLocalAabb/GetLocalAabb
2021-06-15 13:09:30 -05:00
mnaumov 9ca0e731f4 Merge remote-tracking branch 'upstream/stabilization/2106' into mnaumov/StabilizationJun15
# Conflicts:
#	Code/CryEngine/CrySystem/LevelSystem/LevelSystem.cpp
2021-06-15 10:41:13 -07:00
yuriy0 aade48e751 Allow smaller values and increments for editor camera speed, allow custom speed values 2021-06-15 10:36:35 -07:00
sconel bd2a2ebcf5 Merge pull request #1293 from aws-lumberyard-dev/Prefabs/RemoveEditorInfoFromNestedContainerEntities
Fix nested container entities not getting editor info removed during prefab processing
2021-06-15 10:36:13 -07:00
Aaron Ruiz Mora 62f3c93c68 Fixed HelpPageURL links in physics components (#1328) 2021-06-15 17:51:15 +01:00
moudgils 82c5adaaed Merge pull request #1309 from aws-lumberyard-dev/MetalAsyncBufferFixes
Metal async buffer fixes related to meshes
2021-06-15 09:48:26 -07:00
Steve Pham 0241538c47 Fix Android Startup Error related to bootstrap's project_path being in the target deployed bootstrap path (#1322)
* Add '/Amazon/AzCore/Bootstrap/project_path' to setregbuilder.assetprocessor.setreg/Amazon/AssetBuilder/Excludes
2021-06-15 09:19:29 -07:00
AMZN-tpeng a671ebc699 Merge pull request #1291 from aws-lumberyard-dev/Atom/tonypeng/ATOM-15774
Atom/tonypeng/atom 15774
2021-06-15 09:08:27 -07:00
galibzon cdce00bf35 [ATOM-13770] [Shaders] - Root Constants need to be padded to be 16 byte (#1326)
aligned.

AZSLc v1.7.22 now has command line option "--pad-root-const":
Automatically append padding data to the root constant CB to keep it
aligned to 16-byte boundary.

Signed-off-by: garrieta <garrieta@amazon.com>
2021-06-15 10:58:09 -05:00
Benjamin Jillich 74e922a401 Compile fix in the editor actor component for release build (#1327) 2021-06-15 17:44:57 +02:00
yuriy0 36deca64d8 Bug fix: pop correct number of upvalues for lua_pushcclosure
This closure used to take one upvalue - the network script binding table - which is now removed. When the network script binding table was removed, the code which pushes the upvalue for lua_pushcclosure was also removed, however, the number of upvalues was not changed.
2021-06-15 08:37:53 -07:00
jckand-amzn ce842eafc9 Merge pull request #1313 from aws-lumberyard-dev/jckand/FoundationAutoStabilization
LYN-4518: Updating expected actions for test_Menus_ViewMenuOptions_Work
2021-06-15 10:04:33 -05:00
Roman 1f6bb14ed3 [EMFX][ATOM] crash during mesh reload (#1301)
* Fixed a crash when entering game mode, removing a mesh and re-adding mesh.
2021-06-14 20:38:37 -07:00
dmcdiarmid-ly 567b54ee25 Merge pull request #1297 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-15767
[ATOM-15767] ReflectionScreenSpaceBlurPass uses a fixed number of mips
2021-06-14 19:06:13 -07:00
Doug McDiarmid de4605d6b7 Added comment. 2021-06-14 18:31:43 -07:00
rgba16f 0198f6121b Rebind the DebugDisplayRequestBus Instance to handle drawing in GameMode. (#1275) 2021-06-14 20:29:37 -05:00
yuriy0 e22d21f4b6 Expose Actor bounding box configurations to component serialize and edit contexts. (#491)
* Expose Actor bounding box configurations to component serialize and edit contexts.

Allows one, for example, to have an animation which moves the character far away from the static bounds, and not have that character dissapear when the static bounds are outside of the camera frustum

* Apply suggestions from code review

* Bug fix: name the parameter, place comments in the intended place.
2021-06-14 20:28:50 -05:00
AMZN-mnaumov 88765bdbb5 Merge pull request #1315 from aws-lumberyard-dev/Atom/mnaumov/ATOM-13854
[ATOM-13854] Fixing missing preview in texture settings editor
2021-06-14 17:30:28 -07:00
Ken Pruiksma 5165f6ad04 [ATOM-15769] Setting minimum angle to 0.5 degrees on disk lights to avoid visual artifacts that occur at values closer to 0. Also updating the outer cone angle max to be 90 degrees since it's measured from the center point, not all the way across. (#1260) 2021-06-14 19:09:27 -05:00
Alex Peterson ecded991b5 Display error when unable to start Python
Added AzFramework Application, logging, unit tests
2021-06-14 17:02:22 -07:00
amzn-mike 364187a87b Merge pull request #1047 from aws-lumberyard-dev/Helios_AssImp_TransformImporterFix
Fix AssImpTransformImporter logic for bone nodes
2021-06-14 18:41:09 -05:00
Jonny Galloway cd9df163fd Merge pull request #1317 from aws-lumberyard-dev/Atom/gallowj/stabilization/2106
Atom/gallowj/stabilization/2106
2021-06-14 18:07:34 -05:00
AMZN-nggieber 948075fa61 Gem Catalog Allows Filtering by Gem Selected Status Live (#1274) 2021-06-14 15:56:54 -07:00
Chris Santora 0d45ec806c Merge pull request #1314 from aws-lumberyard-dev/santorac/stabilization/2106/HotReloadFixes
Updated the usage of ShaderReloadDebugTracker to include the address of the object. This is necessary for debugging where multiple assets may be reloading at the same time. Also added a Printf function for generic messages at the current indent level.

This is specifically in support of:
ATOM-14613 Baseviewer MatertialHotReloadTest fails to change the color after turning blending on and off
ATOM-15728 Shader Hot Reload Fails in Debug Build
2021-06-14 15:42:31 -07:00
jckand-amzn f3ac3fe511 Merge branch 'stabilization/2106' of https://github.com/aws-lumberyard/o3de into jckand/FoundationAutoStabilization 2021-06-14 17:40:17 -05:00
yuriy0 12c7391bd7 Bug fix: correct RTTI for AttributeInvocable (#1004)
* Bug fix: correct RTTI for AttributeInvocable

* Allow test case to crash if RTTI is wrong

* Revert "Allow test case to crash if RTTI is wrong"

Based on PR feedback, this change adds no value to the test and is confusing.

This reverts commit 6c36065c3759d857cc16ab011d09167261181141.

* Remove perhaps confusing comments and add a more to the point comment

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2021-06-14 17:29:19 -05:00
Olex Lozitskiy a47b30c708 Merge pull request #1316 from aws-lumberyard-dev/Networking/olexl/prefab_fix
sig/network: Correcting the issue with processing of prefabs in Multiplayer projects
2021-06-14 18:14:59 -04:00
sharmajs-amzn 86d0acf76c fixes for invalid drive letter casing for scanfolder (#1281) 2021-06-14 13:55:37 -07:00
amzn-hdoke 11c3a75321 Enable Client Auth unit test on Linux (#1312) 2021-06-14 13:54:04 -07:00
gallowj 2a2028a597 Merge branch 'stabilization/2106' of https://github.com/aws-lumberyard/o3de into Atom/gallowj/stabilization/2106 2021-06-14 15:52:35 -05:00
gallowj 6c05adddec This material did not look correct, sneaking it in 2021-06-14 15:41:50 -05:00
AMZN-Olex 8485a93612 Correcting the issue with processing of prefabs in Multiplayer enabled projects 2021-06-14 16:30:54 -04:00
Yuriy Toporovskyy 84492dee48 Address some PR feedback
- Use AZ::IConsole instead of deprecated Cry IConsole.
- Create fullscreen preview widget on the same screen where the main window is found, instead of on the 'primary' screen
- Remove "ed_previewGameInFullscreen", which had the effect of always doing a full screen preview. If this functionality is desired, it should be re-added as a registry key instead of a cvar
2021-06-14 16:19:37 -04:00
Santora 406792606b I missed one spot that needs to print the address. 2021-06-14 13:04:15 -07:00
dmcdiarmid-ly b1e22db0be Merge pull request #1298 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-15623
[ATOM-15623] Objects excluded from ReflectionProbe still render DirectionalLight shadows
2021-06-14 12:45:55 -07:00
dmcdiarmid-ly 94729456c4 Merge pull request #1310 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-15026
[ATOM-15026] Vulkan Ray Tracing crashes on Nvidia 10-series cards
2021-06-14 12:45:06 -07:00
mnaumov 588127772c Fixing missing preview in texture settings 2021-06-14 12:40:19 -07:00
Santora a09ddb1b89 Merge remote-tracking branch 'upstream/stabilization/2106' into santorac/stabilization/2106/HotReloadFixes 2021-06-14 12:24:56 -07:00
Mike Balfour 6f61454be4 Added support for remapping entity refs across slice instances (#1284)
* Fixed memory assert on shutdown.
Cleaned up the entity pointers on serialization, so that they no longer leak themselves, their asset references, or anything else within them.

* Added support for remapping entity refs across slice instances.
Slice instances can have components with entity references that have been modified to reference entities in other slice instances, or even in the parent.  This change detects and remaps those references so that they work correctly.
2021-06-14 14:20:39 -05:00
jckand-amzn b31de1da33 LYN-4518: Updating expected actions for test_Menus_ViewMenuOptions_Work 2021-06-14 13:46:53 -05:00
jiaweig eec5fc1546 Merge pull request #1257 from aws-lumberyard-dev/Atom/jiaweig/ATOM-13723_lattice_sizing_crash
ATOM-13723 BaseViewer DynamicMaterialTest Crash With Many Objects on dx12
2021-06-14 11:11:50 -07:00
Doug McDiarmid 7ef292d210 Removed VK_KHR_ray_query extension requirement for enabling ray tracing 2021-06-14 10:27:03 -07:00
dmcdiarmid-ly 0f851b1d16 Merge pull request #1296 from aws-lumberyard-dev/Atom/dmcdiar/LYN-4346
[LYN-4346] Adding the Diffuse Global Illumination component crashes the Editor (Prefab Mode)
2021-06-14 10:18:13 -07:00
Amzn-Roby 772e1e238c Merge pull request #1289 from aws-lumberyard-dev/PhysXSamples/CoreFeaturesSample
Updated some of the physx samples. Feature test prefab should work now.
2021-06-14 10:02:44 -07:00