Comments (4)
To get some eyes on this after the holidays, added @moudgils
@VickyAtAZ
VickyAtAZ
@antonmic
antonmic
@galibzon
galibzon
from sig-graphics-audio.
Overall I like this addition. Dx12 RHI was bottlenecked by Agility SDK when it came to experimentation with new DX api so this is a welcome addition. A few points below
- Shouldn't D3D12SDKVersion and D3D12SDKPath be part of Dx12 RHI gem as oppose to Launcher_Game_Windows.cpp or Editor/main.cpp? This way you won't have to duplicate it in two places.
- AgilitySDK can be provided as a 3rd party lib but that requires a lot of work to maintain. You will need to create a script within https://github.com/o3de/3p-package-source and then use that pull in the 3p package at runtime. I wonder if providing a way to download directly via NuGet is an option during Configure. Microsoft provides a way to do this via.
NuGet.exe install Microsoft.Direct3D.D3D12 -Source <FolderWith.nupkg> -OutputDirectory <DestinationFolder>
Tagging @spham-amzn and @nick-l-o3de to comment on ease of using Nuget for Agility SDK.
from sig-graphics-audio.
Overall I like this addition. Dx12 RHI was bottlenecked by Agility SDK when it came to experimentation with new DX api so this is a welcome addition. A few points below
- Shouldn't D3D12SDKVersion and D3D12SDKPath be part of Dx12 RHI gem as oppose to Launcher_Game_Windows.cpp or Editor/main.cpp? This way you won't have to duplicate it in two places.
- AgilitySDK can be provided as a 3rd party lib but that requires a lot of work to maintain. You will need to create a script within https://github.com/o3de/3p-package-source and then use that pull in the 3p package at runtime. I wonder if providing a way to download directly via NuGet is an option during Configure. Microsoft provides a way to do this via.
NuGet.exe install Microsoft.Direct3D.D3D12 -Source <FolderWith.nupkg> -OutputDirectory <DestinationFolder>
Tagging @spham-amzn and @nick-l-o3de to comment on ease of using Nuget for Agility SDK.
- I've tried adding these in DX12_Windows.h but it doesn't work, I can try somewhere else in DX12 RHI again.
- That's a good way, I didn't try it before, I can take a look, and any help of using NuGet in O3DE or cmake is appreciated
from sig-graphics-audio.
-
The proposed addition of the
USE_D3D12_AGILITY_SDK
should be placed in a windows-specific only cmake file, and since it affects multiple targets, perhaps theUSE_D3D12_AGILITY_SDK
andD3D12_AGILITY_SDK_DEPENDENCIES
should be defined in PAL_Windows.cmake -
Using
#if defined(AZ_PLATFORM_WINDOWS)
will cause a validation error since its not permitted to do platform-specific gating in general in the common files. The PAL idiom requires that platform specific content reside in their respective PAL specific file, so in the example forCode/Editor/main.cpp
, that block should instead be moved somewhere in https://github.com/o3de/o3de/tree/development/Code/Editor/Platform/Windows. Probably a trait header file, and you can follow the pattern that AzCore uses with AzCore_Traits_Platform.h, or you can add a main_Windows.cpp instead. -
I think if its the case that the Agility SDK DLLs are meant to be project local, and that games that are distributed with it will need it, then create a new 3rd Party package for it is the correct approach. The NuGet.exe steps suggested can actually be used in the 3rd party script to generate the library.
However, using this approach will require this DLL to be redistributed with any packaged windows game. Normally, for release builds, they are built monolithically and minimally to reduce (or eliminate) and dynamic module loading, so if we want to follow this approach, there will need to be a way to statically link the agility SDK (if possible).
If this is not possible, then the packaged game will need to separately install this redistributable, unless the Agility SDK license allows for a 3rd party distribution for games in this manner.
The repo for 3rd Party packages is here.
from sig-graphics-audio.
Related Issues (20)
- Proposed RFC Feature : Bloom Mask HOT 3
- SIG-Graphics-Audio Election Nominations 03/15 - 03/29 -- Elections 03/30 - 04/05 (2023) HOT 9
- Update ReadMe
- Proposed RFC Feature =Shadow Enhancement for FullscreenBlur and fix polygon light bug= HOT 6
- Proposed RFC Feature =Shadow for QuadLight= HOT 3
- [ISSUE][DOCS] Asset link is broken and additional information should be added when using other project than AutomatedTesting HOT 2
- SIG Reviewer and Maintainer Nomination: AkioCL HOT 2
- Reviewer Nomination: kh-huawei HOT 5
- Reviewer Nomination: msat-huawei HOT 2
- Reviewer Nomination: mprettner-huawei HOT 3
- Reviewer Nomination: martinwinter-huawei HOT 2
- Maintainer Nomination: jhmueller-huawei HOT 3
- [ISSUE][DOCS] Additional Cloth workflow tests documentation page is deprecated
- Draft: Proposed RFC Feature: Support for multiple Material-Types in Raytracing Hit Shaders HOT 2
- Reviewer Nomination: hosea1008 (Li Hongshan) HOT 12
- Proposed RFC Feature: New Spaces And Actions Architecture For The OpenXRVk Gem HOT 1
- Election of new co-chair for sig-graphics-audio HOT 1
- SIG Graphics-Audio Co-Chair Election 2024 HOT 10
- Proposed RFC Feature Specialization Constants HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sig-graphics-audio.