Re:Hallucinations re: the rendering of Cyberpunk 2077
by atum47 on Thursday December 17, 2020 @08:30PM
(#25462757)
Thank, I'll take a look. I used to watch the cherno's videos, long time ago.
Funny story: following a video (ThinMatrix) about creating a 3D engine in Java (I was translating everything to JavaScript and working around the old OpenGL concepts_) I learned that you can't have an object as a index in a JavaScript Dictionary. Living and learning.
Re:Hallucinations re: the rendering of Cyberpunk 2077
by chairmanwow1 on Thursday December 17, 2020 @09:27PM
(#25463118)
ThinMatrix is great too. Although, I've come to like Dave Frampton's channel even more than TM [1]. The perfect balance of technical detail, artistry, game design, and calm steady progress.
Re:Hallucinations re: the rendering of Cyberpunk 2077
by winter_blue on Thursday December 17, 2020 @06:39PM
(#25461958)
The github repo you linked (https://github.com/TimelyToga/tlotk/) say page does not exist, so it seems to be private and not public?
Re:Hallucinations re: the rendering of Cyberpunk 2077
by chairmanwow1 on Thursday December 17, 2020 @09:15PM
(#25463047)
Oops. Sorry about that. I’ve made it public~
Writing vertex and fragment shaders blew my mind the first time I did it. "Wait, this code will be run for EACH PIXEL ON THE SCREEN?" It's obvious in principle, but the actual implementation felt awesome to experience first-hand. Like the feeling of accomplishment that you get in re-deriving a famous theorem yourself. It's not groundbreaking or novel, but it unlocks a much deeper understanding for why we need GPUs at all.
You can take a look at the humble repo I used to both learn C++ and explore 3D rendering [1]. If by some chance you are interested in learning more about how this stuff works, I highly encourage you to check out TheCherno's youtube channel [2]. I'm not a huge fan of his newer stuff (Hazel engine), but his older series implemented 3D graphics from scratch in Java. Taught me a huge amount about how this stuff works and really ignited my interest in programming.
[1] https://github.com/TimelyToga/tlotk/tree/master/src/engine/g...
[2] https://www.youtube.com/watch?v=iH1xpfOBN6M&list=PL656DADE0D...