Commit Graph

7630 Commits

Author SHA1 Message Date
Guthrie Adams 76b4dafbb3 Everything compiling again after moving preview renderer to atom tools framework
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-10-08 04:33:45 -05:00
Guthrie Adams 569318e9e1 Moved preview renderer files to atom tools framework
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-10-08 02:56:24 -05:00
Guthrie Adams ab5547fdf7 • Created interface for preview rendering content
• moved all thumbnail classes and registration back to the common feature editor component
• added lighting preset thumbnail as a quick test

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-10-08 02:46:00 -05:00
Guthrie Adams fe7854e5a5 Merge branch 'development' into Atom/guthadam/thumbnail_and_preview_refactor 2021-10-07 21:07:24 -05:00
Guthrie Adams c90e1da475 • Moved everything related to the subject being captured by the preview renderer into a preview render content class which will become an interface in the next iteration
• Extracted all of the thumbnail specific code from the common preview render class as a step towards separating it from the thumbnail system completely
• Created a capture request structure that stores all of the info related to the content being captured and callbacks for success and failure
• Request to capture any kind of content can be added to the renderer using this structure

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-10-07 21:05:10 -05:00
Luis Sempé 6be8c9d622 Merge pull request #4516 from aws-lumberyard-dev/animation/dev/atomRenderViewport
1st check-in for atom render window.
2021-10-07 17:07:38 -07:00
Jeremy Ong e0a1164a92 Merge pull request #4424 from aws-lumberyard-dev/rgba16f/AZJobToIdle
Move Job system towards being used for Idle tasks
2021-10-07 17:31:05 -06:00
Qing Tao e64b9d3536 ATOM-16320 Remove PVRTC and ETC compressor (#4557)
Signed-off-by: Qing Tao <qingtao@amazon.com>
2021-10-07 16:23:13 -07:00
Chris Galvan 2496bc38b5 Merge pull request #4555 from aws-lumberyard-dev/cgalvan/CreateTemplatePreferSanitizedNameForCppFilesContent
Updated create-template logic to prefer the SanitizedCppName when running replacements on cpp file contents.
2021-10-07 18:22:22 -05:00
Chris Galvan 437a4d2d63 Updated engine template unit tests.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-10-07 17:38:54 -05:00
rhhong 38efd58173 Fix merging issue with camera input
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:54:30 -07:00
rgba16f 4b92aa34b7 Updated with PR feedback. Created a common function to calculate the number of worker threads.
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
2021-10-07 16:49:34 -05:00
rhhong 4d2f65c4d8 code review feedback 2
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:39 -07:00
rhhong a448caea7c fix broken build
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:38 -07:00
rhhong 265d3792f0 fix broken build
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:36 -07:00
rhhong 5fca7ffd86 CR feedback
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:34 -07:00
rhhong 8897040315 Gems/EMotionFX/Assets/Editor/Layouts/Character2.layout
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:31 -07:00
rhhong 646369c1b5 update camera naming and behavior after the merge in
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:29 -07:00
rhhong 10febe2a4b Move some utility class and settings to a setting file.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:27 -07:00
rhhong ffa637d115 Code cleanup
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:24 -07:00
rhhong 47a2240fc3 Using modular camera system to replace the camera entity.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:21 -07:00
rhhong 09f9e5c6c3 CR feedback
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:19 -07:00
rhhong 82bfbd5c98 Add ability to load actor from the ui
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:16 -07:00
rhhong c463721b52 move the function setactorasset
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:13 -07:00
rhhong b7900bf646 render an actor
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:11 -07:00
rhhong d185338978 Code clean
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:08 -07:00
rhhong cda2bb9d4d Add anim viewport renderer
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:05 -07:00
rhhong c4a3162c85 CR feedback - code cleaning
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:00 -07:00
rhhong af9448d4ea delete auto moc header
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:19:55 -07:00
rhhong f2b449c4b9 Registering an empty atom render plugin in the emfxatom gem.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:19:48 -07:00
rhhong a96b091d3f Add skeleton class for animviewportwidget.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:18:21 -07:00
rhhong 975589c0c4 Add skeleton class for atom render plugin
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:18:16 -07:00
rhhong 4767d2a891 Fix unit test
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:18:10 -07:00
rhhong 5369df4195 remove extra line
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:46 -07:00
rhhong 0b49cc38a7 fix broken build
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:40 -07:00
rhhong 7650683902 Defer the nodeWindowPlugin reinit to main thread update. Set the actor file name through actor asset.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:35 -07:00
rhhong bc88d2b381 Address feedback from Chris. Simplified get asset call and etc.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:30 -07:00
rhhong 42e748760d Loading actor in editor using asset system.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:25 -07:00
Chris Galvan e1c02cc146 Updated cpp file extension check per PR feedback.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-10-07 15:32:57 -05:00
allisaurus 5f52664026 Add missing field labels to AWSMetrics node SubmitMetrics (#4534)
* Add missing field labels to AWSMetrics node SubmitMetrics
* Add periods to tooltips to be consistent w/ other metrics nodes

Signed-off-by: Stanko <stankoa@amazon.com>
2021-10-07 13:04:10 -07:00
Olex Lozitskiy 0a5eb06fe9 Hierarchy imGui debugger, first pass
+ Lists the hierarchies around the default camera, with modifying awareness radius.
+ Debug overlay in the world over hierarchy root entities.
2021-10-07 15:34:50 -04:00
Chris Galvan a138094027 Updated create-template logic to prefer the SanitizedCppName when running replacements on cpp file contents.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-10-07 14:34:29 -05:00
Guthrie Adams 58194b70c0 Updated code to compile and reflect changes after renaming files
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-10-07 13:27:14 -05:00
jiaweig 5f83485a1d PALify driver info. No warnings if info is empty. (#4533)
Signed-off-by: jiaweig <jiaweig@amazon.com>
2021-10-07 11:00:28 -07:00
smurly cdca77acd1 Reflection Probe component test for parallel execution (#4532)
Signed-off-by: Scott Murray <scottmur@amazon.com>
2021-10-07 10:56:10 -07:00
Guthrie Adams dd5272c2ae Renaming/moving preview renderer files
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-10-07 12:21:48 -05:00
Guthrie Adams 3c50fdc671 First phase of refactoring atom thumbnail and preview rendering into a reusable system that can be used for additional thumbnail types and capturing preview images for other purposes. Our
• Removed classes for initialization and teardown steps of the renderer
• Moved initialization and teardown logic back to the renderer constructor and destructor
• Combined thumbnail render context and data with the main renderer class
• Made all render data private and instead implemented a public interface
• Remaining steps were simplified and updated to work directly with the new public interface
• Changed the waiting for assets to load state to poll asset status on tick because we were timing out there anyway
• Unified redundant camera configuration variables and made sure they were used consistently when initializing and updating the scene and camera
• Changed interface for custom feature processor request API to build a set instead of returning a vector
• Moved initialization of the thumbnail renderer and preview factory after asset catalog has loaded

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2021-10-07 12:00:02 -05:00
AMZN-Olex ecd358a53e Cleaning up
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-10-07 12:56:44 -04:00
AMZN-Olex a114077e72 Final touches on the first pass of imgui hierarchy debugger
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-10-07 12:53:33 -04:00
rgba16f a2c16fa24f adjust the default number of worker threads created by the TaskGraph & Job systems
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
2021-10-07 10:51:22 -05:00