Coder Social home page Coder Social logo

mateeeeeee / adria-dx12 Goto Github PK

View Code? Open in Web Editor NEW
418.0 418.0 27.0 934.62 MB

Rendergraph-based graphics engine written in C++ using DirectX12

C++ 62.18% C 12.39% HLSL 25.43%
bindless clustered-deferred ddgi deferred-rendering directx12 dxr framegraph global-illumination god-rays graphics-engine path-tracing ray-traced-reflections raytracing rendergraph rtao screen-space-ambient-occlusion screen-space-reflections tiled-deferred volumetric-clouds volumetric-lighting

adria-dx12's Issues

Error when CreateCommittedResource loading Cube map

Hi when I run the project I found this error :
D3D12 ERROR: ID3D12Device::CreateCommittedResource: D3D12_RESOURCE_DESC::Width, D3D12_RESOURCE_DESC::Height, and/ or D3D12_RESOURCE_DESC::DepthOrArraySize are too large for the D3D12_RESOURCE_DESC::Dimension and FeatureLevel. Width = 3435973836 and must be <= 16384, Height = 3435973836 and must be <= 16384, DepthOrArraySize = 1 and must be <= 2048, Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D, and FeatureLevel = D3D_FEATURE_LEVEL_12_1. [ STATE_CREATION ERROR #597: CREATERESOURCE_INVALIDDIMENSIONS]
D3D12: **BREAK** enabled for the previous message, which was: [ ERROR STATE_CREATION #597: CREATERESOURCE_INVALIDDIMENSIONS ]

Apparently "equirect_hdr_image" Image has wrong dimension(3435973836 ,3435973836).
How can I solver this error?
Thx.

need some help

Hi,
Thanks for sharing this.
The project look nice and the code look net.

Unfortunately, i am not able to run successfully this project.
Can you add a short and sweet "how to" compile and run ?

About the textures:
I have add the entire Textures directory in the Resources directory.
Do it is the right ?

The solution compile fine (with some warnings but no errors) in debug and in release.
But the programme fail on start up.

The error in debug:
D3D12 ERROR: ID3D12CommandList::BuildRaytracingAccelerationStructure: D3D12_RAYTRACING_GEOMETRY_DESC.Triangles.IndexCount must be 0 when IndexBuffer is null (geometry [0]). [ RESOURCE_MANIPULATION ERROR #1158: BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INVALID]
D3D12: BREAK enabled for the previous message, which was: [ ERROR RESOURCE_MANIPULATION #1158: BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INVALID ]
Exception levée à 0x00007FFFFEF04FD9 (KernelBase.dll) dans Adria.exe : 0x0000087A (paramètres : 0x0000000000000001, 0x000000E62774A470, 0x000000E62774C240).
Exception non gérée à 0x00007FFFFEF04FD9 (KernelBase.dll) dans Adria.exe : 0x0000087A (paramètres : 0x0000000000000001, 0x000000E62774A470, 0x000000E62774C240).

The error in release:
Exception levée à 0x00007FFFFEF04FD9 dans Adria.exe : exception Microsoft C++ : _com_error à l'emplacement de mémoire 0x000000CC400FECC8.
Adria.exe a déclenché un point d'arrêt.

abort() has been called()

I haven’t identified any issues during debugging in Visual Studio, but I’m unable to successfully launch Adria.exe. I’ve tried various methods, yet the bug remains unresolved. Could you provide some advice? 😊

image

Textures are missing in this repo

Nice work, But Adria/Resources/Textures folder is missing
please upload the required textures in Adria/Resources/Textures folder thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.