Code Monkey home page Code Monkey logo

learnd3d12's Introduction

LearnD3D12

Document Draft version 0.01

Enivronment setting probelm FAQ list

Error: Error LNK2019 unresolved external symbol _main

Reason : Should create A winApp32 type project instead of Console or Empty

Reference: https://stackoverflow.com/questions/33400777/error-lnk2019-unresolved-external-symbol-main-referenced-in-function-int-cde

Error : Unresolved external symbol Reason :Link the lib mannually to compile like #pragma comment(lib, "dxgi.lib")

Error:error X3501: 'main': entrypoint not found

Reason: The visual studio 2022 intergraded a HLSL compiler. Exclude the shader file from the project to avoid the HLSL compiler compile the file, since we compile the shader with D3DCompile function by ourself. Resource : https://stackoverflow.com/a/31088031/24316308

Screen behaviour

Error: The screen background is black all the time Reason: Add ClearRenderTargetView

Reference:

(English)Micsoft D3D12 sample : https://github.com/microsoft/DirectX-Graphics-Samples (English)Introduction to Game Programming with D3D12 : https://github.com/d3dcoder/d3d12book (Japanese)D3D's nest : https://sites.google.com/site/monshonosuana/directx%E3%81%AE%E8%A9%B1 (English)https://www.braynzarsoft.net/viewtutorial/q16390-transformations-and-world-view-projection-space-matrices

Introduction

01.LearnWindow : A simplefied version of D3D sample HelloWindow 02.LearnSingleTriangle : A simplefied version of D3D sample HelloTriangle. Spliting LoadPipeLine and LoadAssets into more stage that just like what d3d12book did.

                     //what dxgi is : https://www.zhihu.com/question/36501678(chinese)

learnd3d12's People

Contributors

timesu avatar

Watchers

 avatar

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.