Commit Graph

55 Commits

Author SHA1 Message Date
Scott Murray 5124a6322d pulling in latest
Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-02-15 13:10:12 -08:00
Scott Murray 9335ce7ba9 removing pytest marks and debugging prints
Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-02-14 12:21:51 -08:00
Scott Murray 361a7385d5 removing debugging print statement
Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-02-11 13:28:09 -08:00
Scott Murray b340877f7c updating tests for screenshot using editor_test.py
Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-02-11 13:20:05 -08:00
Guthrie Adams c6ba1ef064 Atom Tools: updated document and windows systems and buses to support multiple instances
• This change is partially to unblock physics tool prototyping. It introduces a tool ID that is passed down into systems and acts as a context for document, window, and other systems and buses.
• The document system component is no longer a component. It is just a system class that can be constructed with a tool ID. Internally, it will connect to its buses and be addressable by tool ID. More than one can be instantiated, each with a unique tool ID.
• These changes are still backward compatible because most of the buses were using broadcast for standalone applications. All of those calls have been updated but not all of the scripts, which should still work as is.
• Got rid of the window factory request bus in favor of just instantiating the main window or any other UI in the application layer.
• Fixed a couple of bugs that were discovered while making these changes.

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2022-02-11 01:37:13 -06:00
jromnoa fee95f3f5e sandboxing the sponza level from the level test because it causes a hardlock 4%-12% of the time (#7513)
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2022-02-09 08:10:33 -08:00
Guthrie Adams c9c172794e Atom Tools: Document system exposes reflected object data
• This removes a direct dependency on dynamic property groups and data from the document system.
• Added support for names, descriptions, and nesting to dynamic property groups.
• Moved property related functions from base document classes into material editor document classes because dynamic property groups are an implementation detail of the material editor document to support material type flexible data format.
• Change material document to use a table of dynamic property groups instead of a map of properties.
• Added functions to traverse groups and properties.
• This keeps groups and properties organized consistently with the material type file as well as what’s expected in the UI.
• Document data can now be maps directly to the inspector reflective property editors instead of copying one property at a time out of the document and keeping those synchronized.

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
2022-02-03 21:42:27 -06:00
Neil Widmaier 2ce9db972d Merge branch 'development' of https://github.com/aws-lumberyard/o3de into Neil_P0_updates 2022-02-02 15:10:21 -08:00
Scott Murray ad6392e364 decal P1 test for null renderer
Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-01-31 15:03:17 -08:00
Neil Widmaier f1ad9ef0b8 Updated Light, Grid, and Physical Sky P0 tests
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
2022-01-28 12:19:27 -08:00
jromnoa 312f5ad08f Merge pull request #7092 from aws-lumberyard-dev/Atom/scottmur/P1_entity_reference
P1 Entity Reference Component tests
2022-01-25 13:39:07 -08:00
Neil Widmaier b83fc89c74 Making requested changes to LevelLoadTest
Signed-off-by: Neil Widmaier <nwidmaie@amazon.com>
2022-01-24 15:03:27 -08:00
Scott Murray b98b240a40 Entity Reference P1 initial tests
Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-01-20 18:16:51 -08:00
Scott Murray 7694a29fa1 Material Editor tests for window pane function
Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-01-18 10:16:33 -08:00
smurly 384e8aa863 Move Material Editor Basic test from sandbox to main suite (#6794)
* moving material editor test from sandbox to main suite

Signed-off-by: Scott Murray <scottmur@amazon.com>

* define TEST_DIRECTORY and add logging

Signed-off-by: Scott Murray <scottmur@amazon.com>
2022-01-11 11:47:04 -06:00
jromnoa 9038cdfcf9 fix merge conflict between constants in atom_constants.py
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-12-06 17:53:31 -08:00
jromnoa 9d6dc1ac63 add ATTENUATION_RADIUS_MODE constant with its 2 available options of automatic or explicit
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-12-06 16:38:42 -08:00
jromnoa ad3148ece5 add new enter_exit_game_mode_take_screenshot() shared function
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-12-06 16:05:55 -08:00
smurly e3306f948f Atom Level component test support in editor_entity_utils.py and tests for level components (#6082)
* Level component helper and test cases for Atom Level components which currently crash

Signed-off-by: Scott Murray <scottmur@amazon.com>

* moved a close paren to end of previous line to match existing style

Signed-off-by: Scott Murray <scottmur@amazon.com>

* adding a forgotten import

Signed-off-by: Scott Murray <scottmur@amazon.com>

* minor refactor and prep for adding back the Display Mapper Game component test

Signed-off-by: Scott Murray <scottmur@amazon.com>

* putting Game compoenent Display Mapper test back with addition of setting property Enabled to true

Signed-off-by: Scott Murray <scottmur@amazon.com>

* typo in line fixed Test. bocomes Tests.

Signed-off-by: Scott Murray <scottmur@amazon.com>
2021-12-06 12:18:16 -05:00
jromnoa 97cd722ac1 remove shadowmap size calls to fix test, clean up some property value assignments for component tests
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-12-02 14:42:37 -08:00
sphrose 0e5c9c3867 Merge pull request #5908 from aws-lumberyard-dev/terrain/sphrose/reference_shape
LYN-7693 Rename and move vegetation reference shape.
2021-12-02 10:09:05 +00:00
jromnoa cc76ee58a7 update light component constant, fixed the return value for find_editor_entity(), removed old GPU test scripts, added new GPU test scripts
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-12-01 18:46:58 -08:00
jromnoa c8a5f1b3eb add Asset.id value to the Display Mapper docstring for LDR color grading LUT property
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-30 15:26:18 -08:00
jromnoa 79ac840246 add docstring info for the LDR color grading LUT property option for Display Mapper components
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-30 15:19:59 -08:00
sphrose bad38f5ed0 Missed python tests
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
2021-11-25 12:12:02 +00:00
jromnoa ddd8dc6568 remove the optimized GPU test file and replace the existing GPU test file with the optimized tests, update atom_constants.py for the new Light component properties, add area light test script, still need to add spot light test script to fully finish this task
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-24 15:49:34 -08:00
jromnoa 91060efd46 add a LDR color Grading LUT property set step as part of the p0 test for the Display Mapper component
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-24 10:56:22 -08:00
jromnoa e89ec94c38 update CMakeLists.txt in preparation for removing the TestSuite_Main_GPU_Optimized file, add compare_screenshot_to_golden_image function, add hydra_AtomGPU_LightComponentScreenshotsMatch.py hydra script
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-18 16:59:35 -08:00
jromnoa 5d9f5ae15a Merge pull request #5564 from aws-lumberyard-dev/Atom/jromnoa/fix-asset-path-calls-to-use-new-asset-test-class
Update asset files, & update golden image files to match new smaller asset file.
2021-11-11 15:32:23 -08:00
jromnoa 96b4212439 improve docstring descriptions for FOV degrees and Asset.id not asset paths for diff asset properties
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-11 14:13:08 -08:00
jromnoa 9edaa2172d move component descriptions above the property param in the docstrings
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-11 14:06:59 -08:00
jromnoa ad81c311d8 add some docstring descriptions for Cubemap Texture, Material Asset, Secondary Grid Spacing, & Field of View component properties
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-11 13:23:38 -08:00
Sean Masterson 35cb018d5c Add P0 Look Modification Test
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-11 11:52:53 -08:00
jromnoa 51cf98c23d update golden images for spot light and area light tests, update asset used
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-11 11:36:42 -08:00
jromnoa 99f1783138 Merge branch 'development' into Atom/jromnoa/fix-asset-path-calls-to-use-new-asset-test-class 2021-11-10 15:44:01 -08:00
jromnoa 6d206f6921 saving progress on test fixes to swap branches
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-09 14:59:43 -08:00
Sean Masterson 6242d1ee8e Added P0 test for Diffuse Probe Grid component
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-08 11:19:30 -08:00
jromnoa 35e1317d90 add new component property paths to mesh, material, camera, hdri_skybox, and global_skylight components
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-05 17:05:22 -07:00
Sean Masterson c0ece7d32d Update to atom_constants.py docstring
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-05 09:49:59 -07:00
Sean Masterson 708582731d Add P0 Deferred Fog Test
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-04 16:56:46 -07:00
Sean Masterson 64ab8d5956 Add P0 Bloom Test
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-04 13:30:57 -07:00
jromnoa cdf5a0519f Merge pull request #5284 from aws-lumberyard-dev/Atom/semaster/add_hdr_colorgrading_p0
Test parallel P0  HDR Color Grading Component
2021-11-03 19:34:26 -07:00
Sean Masterson 68e2770caf Adding P0 Automation for HDR Color Grading Component
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-03 15:52:39 -07:00
jromnoa 5b0f345052 PR fixes to clean up syntax and variable names also to remove a change from another PR
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-02 00:03:50 -07:00
jromnoa a8efd5da95 add the correct paths for Light component test and use the 'Base' level instead of 'auto_test' level to resolve remaining issues with screenshot angles
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-01 23:42:14 -07:00
jromnoa 6d62dbba76 fixes the basic level GPU test screenshot comparison failure
Signed-off-by: jromnoa <jromnoa@amazon.com>
2021-10-26 18:51:09 -07:00
Scott Murray 0c7e732527 removing return type Union which is not supported
Signed-off-by: Scott Murray <scottmur@amazon.com>
2021-10-20 14:20:49 -07:00
Scott Murray 5bc334be70 updating docstrings for formatting and typos
Signed-off-by: Scott Murray <scottmur@amazon.com>
2021-10-19 11:21:00 -07:00
Scott Murray 9f7c80ce23 removing an extra blank line and fixing a docstring
Signed-off-by: Scott Murray <scottmur@amazon.com>
2021-10-18 16:30:01 -07:00
Scott Murray 5b70b2a8a9 reordering constant and class in file
Signed-off-by: Scott Murray <scottmur@amazon.com>
2021-10-18 14:37:57 -07:00