Commit Graph

5323 Commits

Author SHA1 Message Date
Benjamin Jillich b840b24de2 Ported the actor and a few other places
* Fixed a bug with updating the static aabb for actors. It called that before the mesh was loaded resulting in an invalid aabb.
* Ported a few more places to AZ::Aabb from MCore::AABB

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-08-02 14:38:20 +02:00
Benjamin Jillich e651f25577 Ported the render plugin, render update callback and render widget
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-08-02 13:17:34 +02:00
Benjamin Jillich a1051b15ee Merge branch 'development' into jillich/EmfxAabbImprovements 2021-08-02 10:58:20 +02:00
Steve Pham b46a80be2c Fix for Linux/Vulkan/Editor crash on startup
* Temporary fix for Linux/Vulkan/XCB where the swap chain is not ready to present until the resize is complete
* Fix invalid GUID from LinuxXcbConnectionManager

Signed-off-by: spham-amzn <spham@amazon.com>
2021-07-31 08:42:02 -07:00
lumberyard-employee-dm bb372f05cd Fixed the emplace function implementations for stack and queue (#2657)
* Fixed the emplace function implementations for stack and queue

Cleaned up several functions in the stack, queue and priority_queue
classes that were non-standard or weren't needed.

Updated the "style" of the code to use more modern concepts: "typedef" ->
"using", empty constructor body -> default keyword.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Replaced the custom implementations of AZStd stack, (proirity)queue

Theses classes now have a template alias to the standard library version
of the classes

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2021-07-30 18:20:21 -05:00
AMZN-koppersr 0318419932 Merge pull request #2656 from nemerle/versioned_property_redundant_ref
AZStd::ref prevented compiler from using RVO
2021-07-30 14:27:20 -07:00
SergeyAMZN 461743ef2d Enabled PhysX system component in asset builders since it's required … (#2652)
* Enabled PhysX system component in asset builders since it's required for cooking collision meshes

Signed-off-by: pereslav <pereslav@amazon.com>

* Added AssetCatalogService to the list of dependent

Signed-off-by: pereslav <pereslav@amazon.com>
2021-07-30 16:14:49 -05:00
Guthrie Adams acdad52032 Merge pull request #2638 from aws-lumberyard-dev/Atom/guthadam/material_component_find_assignmentid
Material Component: Add functions to lookup material ids by name
2021-07-30 15:39:27 -05:00
carlitosan 6a35782773 Merge pull request #2660 from aws-lumberyard-dev/carlitosan/development
Carlitosan/development  Fix variable name display in the property window
2021-07-30 13:20:57 -07:00
chcurran 1b1fb26886 Merge branch 'development' of https://github.com/o3de/o3de into carlitosan/development 2021-07-30 11:37:54 -07:00
chcurran 893a80a54e Fix variables names in the property window
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-30 11:37:40 -07:00
carlitosan edfac0f7f0 Merge pull request #2655 from aws-lumberyard-dev/carlitosan/development
display unused variables in the editor; bump builder version for rece…
2021-07-30 11:35:54 -07:00
nemerle e52606da69 AZStd::ref prevented compiler from using RVO
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
2021-07-30 19:31:43 +02:00
chcurran 3633bf2ed0 remove accidental submission of commented out event handling
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-30 10:07:23 -07:00
chcurran 0313b16a85 display unused variables in the editor; bump builder version for recent change to EntityId nodes
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-30 09:50:54 -07:00
Guthrie Adams 28096d1620 Merge pull request #2636 from aws-lumberyard-dev/jhlliar/addMoreInstrumentation
[ATOM-15976] Add more instrumentation
2021-07-30 11:25:17 -05:00
Guthrie Adams dae45f0fac Merge pull request #2403 from aws-lumberyard-dev/jhlliar/implementFunctionStatisticsWindow
[ATOM-15689] Add function statistics view to CPU Profiler
2021-07-30 11:23:20 -05:00
Guthrie Adams e087cd87fb removed extra space from namespace comment
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-07-30 10:49:41 -05:00
Benjamin Jillich 48d1e20169 Removed the MCore::Quaternion class #2600
Merge pull request #2600 from aws-lumberyard-dev/jillich/RemovedMCoreQuaternion
2021-07-30 00:07:40 -07:00
Guthrie Adams ffbeb903c1 Material Component: Add functions to lookup material ids by name
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-07-29 18:09:40 -05:00
Jacob Hilliard 4d618ea619 Profiling: Add more instrumentation
Adds new instrumentation macros throughout the codebase, using the
visualizer to find where current instrumentation is lacking using the
shadowed sponza sample + editor. Some notes from exploring:

- We spend ~5ms in CullingScene: BeginCulling
- PipelineStateCache: Compact usually 1ms
- CompileImageBarriers takes most of the time in CompileResourceBarriers

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>
2021-07-29 16:04:54 -07:00
Guthrie Adams b19b0a0e0d Merge pull request #2627 from aws-lumberyard-dev/Atom/guthadam/fixing_material_property_override_lua_test_script
fixing material property override lua test script
2021-07-29 17:11:06 -05:00
Nicholas Van Sickle 70b3840288 Fix the home key popping up ImGui when it shouldn't. (#2620)
This disables WM_INPUT forwarding to the input system while in game mode and makes ImGui listen to the synthetic keyboard events from the viewport instead - these synthetic events go through Qt's event system, so will only show up when the viewport "sees" a home key press.

Signed-off-by: nvsickle <nvsickle@amazon.com>
2021-07-29 16:30:45 -05:00
Guthrie Adams b357cd0000 Merge pull request #2605 from aws-lumberyard-dev/Atom/guthadam/updating_atomtoolsappication_comments_and_formatting
AtomToolsApplication minor comments/formatting
2021-07-29 15:23:53 -05:00
Guthrie Adams 1c9e2fd74c Merge pull request #2604 from aws-lumberyard-dev/Atom/guthadam/add_missing_bindings_for_display_mapper_operation_type
Add missing display mapper operation type bindings
2021-07-29 15:23:14 -05:00
Guthrie Adams ca2889a0ef fixing material property override lua test script
O3DE vector usage in lua has changed since script was written

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-07-29 15:17:58 -05:00
amzn-phist 99f7085c05 Fixes resource selectors not showing (#2621)
These statics were getting dead-stripped by the compiler, so removed
some of the macro magic and just do direct registration instead.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-07-29 14:56:13 -05:00
SergeyAMZN 42a99d3d43 Merge pull request #2618 from aws-lumberyard-dev/MPAsteroids
Fixed autogen namespace always going upper case
2021-07-29 20:30:31 +01:00
srikappa-amzn c9301a8c94 Fix a bug in patching templates and improve error messaging (#2394)
* Fix a bug in patching templates and improve error messaging
* Fixed incorrect order of function arguments
* Fix build errors regarding c style strings and casting entity ids

Signed-off-by: srikappa-amzn <srikappa@amazon.com>
2021-07-29 12:04:04 -07:00
Guthrie Adams 3c3c1a26d2 Merge pull request #2606 from aws-lumberyard-dev/Atom/guthadam/reducing_material_editor_preset_errors_to_warnings
Material Editor: changing preset errors to warnings
2021-07-29 13:53:47 -05:00
Olex Lozitskiy fc2053fad9 SIG/Network - Minor corrections in code gen for usability of jinja network codegen templates
Minor corrections in Multiplayer Gem code generator
2021-07-29 14:34:23 -04:00
carlitosan 41421d82fc Merge pull request #2589 from aws-lumberyard-dev/carlitosan/development
fix dangling component variables on cleared script, fix EntityIDNode …
2021-07-29 10:46:52 -07:00
Jacob Hilliard 5a18b24651 Visualizer: use template functor over hardcoded lambdas
Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>
2021-07-29 10:08:19 -07:00
pereslav ce99e3f2ec Fixed autogen namespace always going upper case
Signed-off-by: pereslav <pereslav@amazon.com>
2021-07-29 18:00:53 +01:00
carlitosan a18d91e786 Merge pull request #2582 from aws-lumberyard-dev/carlitosan_fix_for
fix for double asset registration and multiple outs from loop nodes
2021-07-29 09:11:58 -07:00
Benjamin Jillich cd25dbf71f Removed MCore::Quaternion AZ::Quaternion comparison tests
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-29 17:09:57 +02:00
Guthrie Adams 2237439a0e Material Editor: changing preset errors to warnings
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-07-29 09:29:00 -05:00
Guthrie Adams 4465b52de5 AtomToolsApplication minor comments/formatting
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-07-29 09:13:49 -05:00
Guthrie Adams d12d7de139 Add missing display mapper operation type bindings
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-07-29 08:58:10 -05:00
AMZN-Olex c13d3ec086 Minor corrections in code gen for usability
Signed-off-by: Olex Lozitskiy <mr.olexander@gmail.com>
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-07-29 09:39:55 -04:00
Benjamin Jillich aa98be18b7 Removed leftover MCore::Quaternion usages and fixes some include issues
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-29 14:34:56 +02:00
Benjamin Jillich 5bb8a17d79 Removed MCore::Quaternion.h/.inl/.cpp files
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-29 14:17:29 +02:00
moraaar 38b64466ec Merge pull request #2528 from aws-lumberyard-dev/ibtehajn/rigid_body_axis_locking
Implement axis locking options for rigid bodies

Signed-off-by: moraaar <moraaar@amazon.com>
2021-07-29 12:07:50 +01:00
chcurran 43dfffa3fd fix dangling component variables on cleared script, fix EntityIDNode reflection
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-28 20:58:49 -07:00
carlitosan 9475d1612b Merge branch 'development' into carlitosan_fix_for 2021-07-28 19:10:59 -07:00
carlitosan 2ba1e65c3a Merge pull request #2151 from aws-lumberyard-dev/carlitosan/development
fix dependency key bug in SC builder, remove dead code, fix reflection of polygon prism
2021-07-28 18:36:33 -07:00
chcurran eefc448dce remove stack tracer change and attempt to restore SC tests
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-28 17:48:11 -07:00
chcurran 6dc750815b Merge branch 'development' of https://github.com/o3de/o3de into carlitosan/development 2021-07-28 17:09:08 -07:00
chcurran d7a4b0d930 fix for double asset registration and multiple outs from loop nodes
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
2021-07-28 16:51:25 -07:00
Esteban Papp f0cafd0e9d Create RUN target as helpers for the project-centric workflow (#2520)
* Create RUN target as helpers for the project-centric workflow

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* typo fix

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* rename target as "<target>.Imported" and create "<target>" as the metatarget that is used for debugging and building in o3de

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-28 15:53:14 -07:00