Esteban Papp
eeed7df429
fixing no unity builds
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-03 20:24:36 -07:00
Esteban Papp
82c5f80fbd
More windows/linux fixes
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-03 18:56:46 -07:00
Esteban Papp
e28602dbbb
linux fixes
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-03 17:59:35 -07:00
Esteban Papp
cbfdf99a9e
More github cleanup
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-03 17:59:09 -07:00
Esteban Papp
928c8ff16c
add unit tests
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-03 10:50:58 -07:00
Esteban Papp
963cbcaf61
Remove A version of some fw declarations and macro defines since those are error prone to define, if someone were to include windows.h after that header, it would cause issues
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-03 10:31:43 -07:00
Esteban Papp
dd3f0b86e0
Merge branch 'development' into cmake/SPEC-7484
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
# Conflicts:
# Code/Editor/ToolBox.cpp
2021-08-02 18:45:25 -07:00
Esteban Papp
a14b4e478e
Code/Editor
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 17:56:56 -07:00
Esteban Papp
3b28267569
Gems/PhysXDebug
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 17:56:28 -07:00
Esteban Papp
b1e9d81d96
Gems/GameStateSamples
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 17:55:55 -07:00
Esteban Papp
ad14d9cdd7
AtomFont
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 17:55:27 -07:00
Esteban Papp
58f1cb9b6c
Gems/LytShine
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 17:55:08 -07:00
Esteban Papp
061cb98f74
auto-search/replace
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 16:07:23 -07:00
Esteban Papp
d5c491a694
Gems\MetaStream
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 16:04:46 -07:00
santorac
fa52124f9c
Formalized the concept of an model's material slots
...
Formalized the concept of an model's material slots
Before, the ModelAsset and MaterialComponent code was conflating the idea of a material slot ID and a default material assignment. The default material asset's sub-ID was being used to uniquely identify the material slot as well. This blocks our ability to use other materials as the default assignment for individual meshes; we are forced to use whatever material that was generated from the source model file (like FBX).
With these changes, we separate the concept of a material AssetId and a material slot ID, and store them separately. There is a new ModelMaterialSlot struct to describe each slot, including a unique "StableId". The ModelAsset stores a map of the slots, and each mesh refers to a slot by its StableId.
This is a precursor to another task that will optionally disable the auto-conversion of materials from source model files.
Also:
- These changes also enable material property overrides without having to make an editable material first, which I don't think was supported before.
- Removed unused Default.materialtype from the RPI Assets folder.
- Encapsulated members in EditorMaterialComponentExporter::ExportItem for better maintainability.
See also https://github.com/o3de/o3de-atom-sampleviewer/pull/175
Testing:
- Took screenshots of several AtomTest levels with material overrides before making any changes. Compared these after the changes. Test levels included ActorTest_SingleActor, ActorTest_MultipleActors, and two custom levels that used shaderball and multi-mat_mesh-groups_1m_cubes.
- Lots of manual fiddling with material component.
- Created a white box component and saw that it rendered correctly.
- Cherry-picked these changes into Apocalypse's code base and verified with one of their levels.
- Ran AtomSampleViewer automated test suite. Some tests failed, but these were failing before my changes.
2021-08-02 15:56:28 -07:00
Jeremy Ong
2491620826
Merge pull request #2681 from aws-lumberyard-dev/rgba16f/UnInlineAzCoreJob
...
Move most AZ::Job function bodies out of the header
2021-08-02 16:22:09 -06:00
Esteban Papp
29a2ad79a4
Gems/Gestures
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 14:04:18 -07:00
Esteban Papp
d03c2c9977
Copy jinja/py files to the install folder ( #2643 )
...
* Copy jinja/py files to the install folder
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* code review comment
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* moving AzAutoGen to cmake folder and removing the header-only project
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 13:53:13 -07:00
Chris Galvan
32542fd84b
Merge pull request #1927 from aws-lumberyard-dev/GroupToggleSwitch
...
Created a toggle switch to enable and disable groups through the Edit Context
2021-08-02 15:46:45 -05:00
Chris Galvan
d50f367c43
Merge pull request #2726 from aws-lumberyard-dev/cgalvan/IgnoreTempLevelSavesInGit
...
Updated new project template .gitignore files so that temporary level saves in _savebackup files will be ignored as untracked files.
2021-08-02 15:37:50 -05:00
Chris Galvan
40deefe54b
Merge pull request #2721 from aws-lumberyard-dev/cgalvan/GitIgnoreScriptCanvasLogFiles
...
Added .gitignore so that Script Canvas debug logs don't get picked up as untracked files.
2021-08-02 15:14:58 -05:00
Guthrie Adams
9e74ae007e
Merge pull request #2665 from aws-lumberyard-dev/pruiksma/SPEC-7794
...
[SPEC-7794] Removing references to alembic in cmake & asset processor.
2021-08-02 15:10:46 -05:00
Chris Galvan
ed8227f47a
Updated new project template .gitignore files so that temporary level saves in _savebackup files will be ignored as untracked files.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-02 14:32:11 -05:00
Chris Galvan
6b7f8e3878
Merge pull request #2716 from aws-lumberyard-dev/cgalvan/FixVegetationLayerSpawnerDocLink
...
Fixed Vegetation Layer Spawner documentation link.
2021-08-02 14:26:27 -05:00
santorac
8542de8c32
Fixed a link error on android (clang)
2021-08-02 12:02:58 -07:00
Chris Galvan
24607df8f3
Added .gitignore so that Script Canvas debug logs don't get picked up as untracked files.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-02 14:02:39 -05:00
Esteban Papp
db7536acda
Gems/Maestro
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 11:44:34 -07:00
Chris Galvan
8f6fd3a327
Merge pull request #2713 from aws-lumberyard-dev/cgalvan/RemovedLegacyEditorIcons
...
Removed legacy ObjectIcons and shelve icons from Editor.
2021-08-02 13:38:56 -05:00
Chris Galvan
cc57ee7d20
Fixed Vegetation Layer Spawner documentation link.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-02 13:19:15 -05:00
santorac
afe5398f0f
Fixed model unit tests
2021-08-02 11:19:03 -07:00
AMZN-stankowi
9ee9730294
Automated test for scene files with and without python scripts running python incorrectly ( #2373 )
...
* Cleared m_scriptFilename between scene files.
This fixes a bug where a Python script file would be run on a scene file
that didn't have a script file set.
Added a general case version to SceneBuilderWorker.cpp, to make it easy
to mark all scene files as dirty.
Automated tests for this will come in a separate pull request.
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Work in progress automated tests
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Python test done
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Sorted jobs work now. This may sort too aggressively, I'll remove the additional sorting after some testing.
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Cleaned up test
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Fixed stray '
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Removed temp code from test
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Command line help options for AP
Removed job sorting that wasn't actually sorting jobs
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
* Changed constant variable names to match coding standards
Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com >
2021-08-02 10:57:57 -07:00
santorac
7d84a005c0
Updated unit tests and fixed build failures.
2021-08-02 10:49:13 -07:00
puvvadar
e22820e08b
Merge pull request #2146 from aws-lumberyard-dev/mp_lerp_jitter
...
Fix inconsistent client lerp and account for blend factor on server
2021-08-02 10:32:27 -07:00
Chris Galvan
37c3f01771
Removed legacy ObjectIcons and shelve icons from Editor.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-02 12:27:03 -05:00
Jeremy Ong
4407c28b03
Merge pull request #2680 from aws-lumberyard-dev/Atom/RenderDoc
...
Add runtime RenderDoc support for Windows dx12/vulkan via --enableRenderDoc option
2021-08-02 10:31:53 -06:00
lumberyard-employee-dm
8014475abf
Adding newline to the end of the new Job.cpp file
...
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2021-08-02 11:28:04 -05:00
Esteban Papp
b9cfce8165
Gems/AtomLyIntegration
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-02 09:26:06 -07:00
rgba16f
8088e6662a
modify new jobs.cpp file to match AzCore standard of opening namespace AZ rather than prepend AZ:: to every function
...
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com >
2021-08-02 11:15:49 -05:00
santorac
9e6eadd9a9
Merge branch 'development' into Atom/santorac/OptionalSceneApiMaterialConversion
2021-08-02 09:07:42 -07:00
Jeremy Ong
af0d757556
Remove CMake status message when not compiling with RenderDoc
...
Signed-off-by: Jeremy Ong <jcong@amazon.com >
2021-08-02 09:50:24 -06:00
Jeremy Ong
9b0db508c9
Merge pull request #2554 from aws-lumberyard-dev/Atom/IndexedDataVector
...
Promote IndexedDataVector to public Feature/Utils header
2021-08-02 07:52:34 -06:00
Jeremy Ong
06cef942a9
PALify RenderDoc module name
...
Signed-off-by: Jeremy Ong <jcong@amazon.com >
2021-07-31 18:30:49 -06:00
rgba16f
b5895bc09b
Move most AZ::Job function bodies out of the header
...
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com >
2021-07-31 19:18:58 -05:00
Jeremy Ong
f9303a2eaa
Add runtime RenderDoc support for Windows dx12/vulkan via --enableRenderDoc option
...
- RenderDoc is disabled when building the monolithic build
- The installation path is inferred on Windows, but may be overridden on
Windows/Linux via the ATOM_RENDERDOC_PATH environment variable
- Linux support may work, but I have no means to test it
- Android support shouldn't be difficult to add, but requires a
renderdoc_android.cmake file that understands how the RenderDoc
package is distributed as part of the Android toolchain
Signed-off-by: Jeremy Ong <jcong@amazon.com >
2021-07-31 17:53:38 -06: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
Jeremy Ong
68a7a21e62
Reintroduce .h and .inl split
...
Signed-off-by: Jeremy Ong <jcong@amazon.com >
2021-07-31 00:26:28 -06:00
Jeremy Ong
78760245c5
Remove one level of indentation
...
Signed-off-by: Jeremy Ong <jcong@amazon.com >
2021-07-31 00:26:26 -06:00
Jeremy Ong
e1ce742f14
Generalize comments pertaining to light data and consolidate inline
...
header
Signed-off-by: Jeremy Ong <jcong@amazon.com >
2021-07-31 00:26:25 -06:00
Jeremy Ong
bb782e83b4
Promote IndexedDataVector to public Feature/Utils header
...
Signed-off-by: Jeremy Ong <jcong@amazon.com >
2021-07-31 00:26:23 -06:00
Esteban Papp
f665f572f3
Gems/Atom builds
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-07-30 18:53:50 -07:00