philcn / dxrexperiments Goto Github PK
View Code? Open in Web Editor NEWA lightweight prototyping framework for DirectX Raytracing that runs on Microsoft DXR Fallback Layer.
A lightweight prototyping framework for DirectX Raytracing that runs on Microsoft DXR Fallback Layer.
// Insert rasterizeration code here
// Run denoiser with mock input textures
if (mBypassRaytracing && mDenoiser->mActive)
{
mDenoiser->dispatch(commandList, DenoiseCompositor::InputComponents{ 0 }, currentFrame, GetWidth(), GetHeight());
BlitToBackbuffer(mDenoiser->getOutputResource());
}
Is it right that I have to write a separate Rasterization Pipeline and new Model/Scene class if I want a rasterizeration result for the first hit?
I got the binaries and all good but i get this error while building
DXRExperiments-master\externals\D3D12RaytracingFallback\src\ConstructAABBBindings.h(42,50-80) error X3721: space is only supported for shader targets 5.1 and higher
Haven't dug through this to figure out what this is and what is referencing it, but getting C1083 errors saying that this file is missing in the fallbacklayer project.
How to get rid of this error?
[numthreads(GROUP_SIZE_X, GROUP_SIZE_Y, 1)]
void main(uint3 dispatchID : SV_DispatchThreadID, uint3 threadID : SV_GroupThreadID, uint3 groupID : SV_GroupID)
{
float3 color;
if (gDebugVisualize == 2) {
color = gInput[dispatchID.xy].rgb; // error
} else {
color = filterKernel(gMaxKernelSize, float(gMaxKernelSize), dispatchID.xy, gInput, gDirectLighting, threadID.xy, dispatchID.xy).rgb;
}
I'm using VS2017 + Windows SDK 10.0.17763.0
On OnInit():
m_deviceResources->RegisterDeviceNotify(this);
m_deviceResources->SetWindow(Win32Application::GetHwnd(), GetWidth(), GetHeight());
m_deviceResources->InitializeDXGIAdapter();
mNativeDxrSupported = IsDirectXRaytracingSupported(m_deviceResources->GetAdapter());
ThrowIfFalse(EnableComputeRaytracingFallback(m_deviceResources->GetAdapter()));
When run to EnableComputeRaytracingFallback() and it return false, the program is throw a error.
Is my fault to config a error fallbacklayer? How to config the correct FallbackLayer?
My graphic card is NVIDIA GTX 1060 6G.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.