C++ 3D DirectX Tutorial [Debug Layer Diagnostics]

preview_player
Показать описание
C++ 3D game programming tutorial teaching how to build a 3D engine from scratch using DirectX (Direct3D 11) to leverage hardware acceleration.

This video covers handling and reporting of Direct3D errors with rich debug diagnostics.

Рекомендации по теме
Комментарии
Автор

Chili, Thanks for inspring me dude. I have applied to several universities after learning C++ through your tutorials. You're doing an awesome job, keep the videos coming!

timothykim
Автор

Oh, Chili, you' re the first one I saw online that uses so many C++ Exception in practice, particularly in 3D Graphics. Very "Fresh". Ps: I had been using OpenGL + Console + Log for error checking.

kebluetugirafee
Автор

For c++17 you could use if-init pattern to omit 'HRESULT hr' creation in every function you want to use GFX_THROW_FAILED. So much awesome tutorials! Thank you!

andreyprotsenko
Автор

Chili is a debug master~ Thanks Chili~

sam_is_people
Автор

Even a history lesson?! Chili is the teacher I never had

goobensteen
Автор

This is some really sick shit man. I love the exception handling that you went over in this video. The macros are indeed super sexy, probably needs a NSFW tag ; ). One thing I feel dirty about is copy pasta a little overboard on my end. I never would have developed a sophisticated debug wrapper as you have, and feel a little shame taking the source code. But this is an immensely great video tutorial line, and you deserve much props my chili man.

lordcheezus
Автор

The second GFX_THROW_INFO test at the end where you change pBackBuffer to nullptr causes visual studio to cry about unhandled exception for some reason, anyone got an idea of why this is?

Chimponaut
Автор

Something I didn't understand is why didn't you inherit ChiliException directly. What benefits adding a mediator class?
Great tutes btw!!! Love your work.

pramodbhandari
Автор

Oh no, don't tell me I have to do more modifications because of UNICODE. I already modified many things to work with both ANSI and UNICODE and drove me crazy.

_-Skeptic-_
Автор

when i run, exception error present well, but not Excepted error : in deque, _Pnext is 0x4 and program crashed, how can i fix it?

노원준-bg
Автор

I have tried to make this work all week. I looked through the files on GitHub and probably watched this video 3 or 4 times, but I still get the default Microsoft Visual C++ Runtime Library Error messages. Any idea what I could be doing wrong?

mashedpotato
Автор

This literally gave me 800+ errors lol, probably because of version compatibility. Are there any more up to date resources on error handling with this?

kingcobra
Автор

The Macro MAKELANGID is deprecated in VS2019, is there a replacement?
BTW Great Videos. Learned a lot. Thank you

brunopadula
Автор

Ahh, late comment but HrException constructor takes 4 arguments and you provided 3 in your release mode macros. Won't that be a problem? In my version I made 2 different constructors, 1 takes 3 arguments and 1 takes 4. Idk if you have changed that in later videos though. Also the macro names are super confusing. Other than that, great video and series.

razerx
Автор

I like your voice and mic at your first videos

tunoskiz
Автор

In DxgiInfoManager.h std::string is used without including it (correct me if I am wrong). How is this possible?

MightTower
Автор

When I change sd.OutputWindow = (HWND)696969, besides the GFX exception, there is another exception in Mouse::OnMouseMove() -> Mouse::TrimBuffer() -> deque::pop_font() -> deque::_Orphan_off(). How does it happen? Need help, thank you!

supuo
Автор

Hello there,
I got a problem with the dxerr.cpp file. It say that at the line 169, the function DXGetErrorDescriptionA, use non-conform local function. It also throw a C1075, it say that '{' matching token not found. And when I open DXGetErrorDescription.inl, it throw 304 errors in tolal. (I copied all the file dirrectly from the github)

thestickerqc
Автор

Someone know a way to the HRESULT error string (Macro name) without use of DXGetErrorStringg. I'm using windows 10, so I don't want to use the dxerr version of he video and only the Format Message style.

mateuscaracciolo
Автор

your mouse cursor has its own personality

potatopotato
welcome to shbcf.ru