Open zoq opened 3 years ago
Look at "RB_ShowDepthBuffer" in tr_rendertools.cpp
and
"FILL DEPTH BUFFER" in draw_common.cpp
@nbohr1more Thanks for the info; that's exactly what I was looking for. On another note, is there any way to get the motion vectors as well?
It sounds like you may be interested in high quality motion blur or TxAA ? Doom 3 does not have a temporal buffer. For the player camera you could use neo/game/player.cpp idPlayer::CalculateFirstPersonView You would have to go through game/anim and game/physics for other vector data
Correct, I was hoping to generate similar data I could get with something like https://bitbucket.org/Unity-Technologies/ml-imagesynthesis/src/master/.
Hello, is there a way to export the screen and depth buffer as an image e.g. using stb?