planetchili / 3D_Fundamentals

Base code for the Planet Chili tutorial series "3D Fundamentals" on YouTube.
https://planetchili.net
141 stars 98 forks source link

Does dx12 works on this project? #3

Open yhyu13 opened 5 years ago

yhyu13 commented 5 years ago

Hi chili,

Thanks for the great work! I was interested in your 3d fundamentals video series one day and tried this project on my computer. It seems your project was using dx11 (probably win7) at that time. My computer has dx12 (win10) installed, however. The program did run for a few frames then threw the error below.

Capture2

I found the bug locates at this line here while flipping the front and back buffer.

I'd like to know if this projects work with dx12? Or is there any plan to update it to dx12 and how hard is it?

Thanks!

albinopapa commented 4 years ago

The 3D Fundamentals framework is a software rasterized renderer using DX11 only for it's frame buffer. Going to DX12 wouldn't provide any benefit.