Thanks for watching! ❤️ Who else is super excited for this series? I’ve left some resources and extra info for you to check out in the description box. To brush up on your math, I highly recommend you take a look at Brilliant! I deliberately chose them as the sponsor for this series because they’ve got so many relevant courses and they’re really well made and engaging; visit brilliant.org/TheCherno to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.
@oamioxmocliox80822 жыл бұрын
;)
@zxuiji2 жыл бұрын
I'll offer my tidbit here in case it's useful for the series, you can use the original 2d cell ray tracing thing on 3d cells if you split the 2 angles into their own normalised x/y axis first then multiply the 2 y axis against each other to get the actual y destination point, then the x axis for one angle's result is to be treated as the z axis, from there the usual whichever is lower (assuming I remembered that right) should be usable on the 3 values, plan to do my own experiments with it as soon as I get my instanced triangles on screen with just the uniforms I'm sending the GPU (all my vertices are set to 0 to eliminate them as a variable). **Edit:** I would convert 3d non-cellular scenes to cells with on the fly arrays 9 with pre-allocated memory for the cell I would work with, do a spiral fill of the max objects I'll process (anything outside the range will just get drawn normally as they'll be using low resolution textures), filling each cell's array with a list of objects that fall into said cell, then simply decided what to do non-cellular ray tracing on based on what cells are caught from the cellular ray tracing.
@webgpu2 жыл бұрын
Hey Cherno! please, enable the "Thanks" button, just below the video, for us to "pay a cup of coffee"! 😀☕
@LimitedWard2 жыл бұрын
For naming, I like "Halide". Silver halides are the chemicals used in analog film photography which capture the light on the film. It doesn't quite fit into the nut-based naming scheme, but it's a vague riff off the word Hazel.
@Nick-lx4fo2 жыл бұрын
@@RandomUser2401 Nut Tracing
@bersK002 жыл бұрын
@@RandomUser2401 as opposed to nut traces
@leobottaro2 жыл бұрын
I already started my own copy of the code to learn this! I'm very excited! ray tracing rendering is something I always wanted to try, but the amount of boilerplate and complexity to even show something simple on screen always kept me back, I'm really glad you did awesome by providing us a workable template. Thank you!
@samochreno2 жыл бұрын
Great timing, just wanted to learn ray tracing im excited for this series
@davidm2.johnston6842 жыл бұрын
+1 haha
@HalfStab2 жыл бұрын
So excited for the series. Was just trying to learn ray tracing!
@webgpu2 жыл бұрын
random fact: in brazil, whenever we read "excited" it immediately brings "sexual excitement" to mind, because that's the only meaning of this word over here 🕺💃 ( "i am excited" ("eu estou excitado") is interpreted by all brazilians as "i have a boner")
@evan_game_dev2 жыл бұрын
For anyone confused at 17:56 the reason we store it seemingly backwards is because of endianess. Modern computers store data in little endian, meaning that the low bits, or the last digits we write will be stored first, effectively flipping it in memory. I would highly recommend anyone to play around with this concept
@randyprime2 жыл бұрын
who knew math was good for game dev lmfao I use Brilliant on the daily, highly recommend
@TheCherno2 жыл бұрын
True story, saw you mention Brilliant (being brilliant) in yesterday's changelog. Hope that linear algebra is going well!
@Nick-lx4fo2 жыл бұрын
@@altblock + Discrete Mathematics
@anders56112 жыл бұрын
computers do math, so yeah.
@Bobbias2 жыл бұрын
Cherno, I really love what you've been doing. You somehow manage to be extremely clear in your explanations while also being quite concise. Now if only someone would cover compiler writing in the same way :)
@silvertakana39322 жыл бұрын
Ray tracing was the reason I learn programming! Thanks Cherno!
@TheCherno2 жыл бұрын
Me too!
@t3v7272 жыл бұрын
funny to find you here too :)
@moskito982 жыл бұрын
Such an amazing timing for me as i was looking for something like this to start in the next couple of days.. thank you so much
@mihairadita93132 жыл бұрын
Hello Cherno. You're making very interesting and useful videos. What series I mostly want to continue is the Game Engine Series.I really miss that series.I hope you will continue with that because you're doing a great job.Thank you for these wonderful tutorials
@KennyTutorials2 жыл бұрын
Maybe he will continue this series but in complete different format, because the more the engine grows, the more things are added, the more difficult it becomes to tell and the more to make a video and eventually it just becomes impossible. Jan seemed to say on the stream that in December or January he would do mono integration for C# scripting, but this did not happen. Then I started implementing scripting for my engine from scratch, I've never worked with something like this at all. It took me about 3 months, of course, in my free time from studying, to integrate Mono and scripting, and now there are bugs with some components, especially with physics. So here I understand Jan)
@tambow442 жыл бұрын
Wonderful, as always. Signed up for Brilliant - it really is, thanks!
@mr.mirror12132 жыл бұрын
for some odd reason KZbin didn't notify me bruh , I AM LOOKING FORWARD TO THIS SERIES SOO MUCH
@kangarht2 жыл бұрын
whoa I did not expect a raytracing video having not a single word about raytracing :)
@jonathangrahl2 жыл бұрын
Been waiting for a series like this! A colleague mentioned Path Tracing to me a few days ago but I felt it was too complex to jump into. This will be a great start :)
@Prdification Жыл бұрын
Thanks for doing this, just set it up and rendered my sweet noise, looking forward to see the progress!
@msoulforged2 жыл бұрын
Loved this series! Can't wait the next video. Kudos!
@oolongtee11982 жыл бұрын
i found the second edition of physically based rendering just last night in my friends apartment and bought it home with me! a quick skim by itself made my head spin but im really excited to scratch the surface this summer
@mascit2 жыл бұрын
this is much more than a series on RayTracing. Can't wait for the next episodes :D
@mikeytrw Жыл бұрын
This is perfect!! I'm already about 35% through the RT in a weekend tutorial, taking my time with it to understand exactly what's going on and make subtle changes.
@simongido5652 жыл бұрын
Always when I start learning something and I am struggling, TheCherno comes to save the day :D
@iXmerof2 жыл бұрын
Dear IMGui and GLFW, YES! I was about to start learning these, please do not skip aaany of the tiny tiny details :) I am hungry not only for basics how to use, how to start with, but for variety of use cases, traps, patterns, optimizations and other real life world stuff, especially once we want to play with Vulkan which is another big YES from me! If you want to consider multi-hours long streams? Yes, please!
@williamist2 жыл бұрын
heck yeah! i've been waiting for this for a while. nice to see you finally do it :)
@rankail2 жыл бұрын
I just worked trough the raytracing in one weekend series. Perfect timing. I really didn't know how to make it faster/run on the gpu. Totally hyped for this series. 👍
@yuppieyup81882 жыл бұрын
Hey, were you able to generate the image shown on the cover of Raytracing in the weekend first course?
@rankail2 жыл бұрын
@@yuppieyup8188 yes. Took some time though because i only have a laptop and it's not the best. I finished the second course too. Just had some problems with the third.
@neo-mashiro2 жыл бұрын
Fantastic! I have been waiting for this series for years!
@arnedebeer2 жыл бұрын
Oh boii does this series come at the right time! I'm really hyped!
@helpfulsquid25022 жыл бұрын
Can't wait for the next videos!!
@anl54602 жыл бұрын
I'm really excited Cherno! Good luck 👍👍
@paviWasHere2 жыл бұрын
ok... this is sick. thanks for making this series. I've always wanted to get into computer graphics but was scared and didn't really know where to start/how.
@constantin16932 жыл бұрын
Hello, Cherno. Thanks for the series, I love your videos lot! Can you create a lesson about hybrid rendering and how to use ray trasing and rasterization at the same time for example about bvh tree, and how to work with it, because I think this structure also can help solve collision detection problem?
@not__nugget2 жыл бұрын
I think naming it "Macadamia" or maybe "MacadamiaRT" would be a pretty cool name!
@tljstewart2 жыл бұрын
I’ve been waiting for this series, thanks 🙏
@matheusreidopedaco2 жыл бұрын
How don't you have 1 trillion views? Your content is incredible.
@ahmadashbat2 жыл бұрын
Keep it going man, I wondering if there is a nice and motivated guy like you in KZbin!
@MoeGunz2 жыл бұрын
I’m not great at math or am I a game dev but I watch these videos every time they drop and watch them in it’s entirety.
@jonatanperret81652 жыл бұрын
Can't wait for the episode 2, hurry pls 😜
@metashrew2 жыл бұрын
that sponsor integration was super smooth. it makes perfect sense here too
@patvax1372 жыл бұрын
Well I'm not really a graphics/rendering guy, more of a hardware guy actually, but I think the series will be very interesting. Also I think it was by far the best sponsor section I have seen done by him up until now :D
@DeathAtYourDoorStep2 жыл бұрын
good video man! looking forward to this one for sure. walnut seems very interesting too... love the imgui docking branch :)
@XxxGuitarMadnessxxX2 жыл бұрын
I know you said you wont reveal any more secrets in the video, but are there any plans on taking advantage of constexpr/consteval for something like creating shader tables or something similar at compile time? I've been messing around with compile time stuff recently, but only for some small const array population; if you plan on using those features I will be absolutely stoked lol I've been struggling with their usage in templates and could gain to glean some insight from ya lmao Anyways, super stoked for this new series and as always, thank you for the time you spend on putting these videos together!!
@Snail50082 жыл бұрын
really excited!
@hassannawazish93002 жыл бұрын
I have already complete this 1st book but i like the way you explained, keep it up.
@pvtnewb2 жыл бұрын
Oooh a new series, imma tune in
@ayanfecoker49962 жыл бұрын
You could name it "TRACENUT"
@flance9112 жыл бұрын
I remember I made a ray tracer in pure javascript with coloring points in canvas. I learned how we see things, how light works etc. There were cubes and spheres, I made mirrors and glass.
@quillaja2 жыл бұрын
ha, yea. I prototyped my first one in JS. Boy that was slow.
@avram_traian2 жыл бұрын
This is so exciting! Great work!
@scrambledmandible Жыл бұрын
Hell yeah it's about time Ray Tracing In One Weekend got the limelight!
@charlestheanimator16762 жыл бұрын
I'm quite excited to go through this series! I'm honestly still a newb here but I love content. I'm a year two CS student and these series are just so insanely interesting!
@razorstone30882 жыл бұрын
I am so excited for this series and thank you for giving references to these resources it will be very helpful
@VioletGiraffe2 жыл бұрын
Not the first of your videos I watched, but this one got me excited and prompted to subscribe. Gonna follow with a Qt application at first, at least for the CPU part, already set up the skeleton project!
@EETechStuff2 жыл бұрын
Many many thanks. I recently started (again) on the Raytracing In One Weekend CUDA version, and I've been trying to figure how to integrate IMGUI, etc., so this is great timing (since CUDA was giving me a headache). BTW, I cloned the code and it works perfectly, and I've been tweaking the Application.cpp "Select GPU" section to allow me to select either of my 2 GPU's (GTX1080ti and RTX2070Super) using VkPhysicalDevice. FWIW my render time for the random image is about twice yours (10mSec vs. your 5mSec), no matter which GPU I chose. EDIT: Oh, wait...I forgot that it depends on the size of the window/image you're rendering. DOH!!! Just made it a bit smaller and got 5mSec. Anyway, thanks again.
@Metalwrath22 жыл бұрын
Super excited for this series
@zoiyoknd2 жыл бұрын
This series is going to be so cool!
@newbiex112 жыл бұрын
Another awesome series thanks Cherno, you rocks
@AllexWallker2 жыл бұрын
Thanks for your work man :)
@cgmaxman2 жыл бұрын
This is awesome ! Really interested !
@santiagobarbosa6152 жыл бұрын
So excited for this series :) is there any vs theme you use? Or is it like really customized? I really like the colors
@masterjj12 жыл бұрын
It comes with Visual Assist which costs money
@santiagobarbosa6152 жыл бұрын
@@masterjj1 F, thanks!
@jc-aguilar2 жыл бұрын
Thank you so much for sharing!!
@davidm2.johnston6842 жыл бұрын
Hey great idea for a series, thank you! However, is it possible to get an introduction to wallnut? I would have loved for such a series to really feel like it's from scratch, so that we can really understand everything that's happening. Thank you for considering it ;)
@99ZULU2 жыл бұрын
I'm not even interested in the graphics side of programming, but still somehow interested in this series.
@OG1Soul2 жыл бұрын
Cheers Cherno for the great video!!
@heavycloud95452 жыл бұрын
Mate you HAVE to do a reaction video on the unreal engine 5 train station video, it’s a serious game changer, the best anyone has seen up to now, please, it’s terrifyingly real.
@antoinedevldn2 жыл бұрын
The one we have been waiting for!
@manucousin37212 жыл бұрын
So happy to finally see this series. Do you guys know any good material to learn vulkan or is it ok just with opengl knowledge!?
@Basel-ll8fj2 жыл бұрын
very excited for this series 🌹
@demon_hunter95472 жыл бұрын
Finally, this is what I have been waiting for.
@siberskitigar2 жыл бұрын
Spasibo Cherno
@trashkassett2 жыл бұрын
This was highly motivating. Looking forward to the new ray tracing videos.
@nickst27972 жыл бұрын
Question: The 'Ray tracer in one weekend' series, end up creating a static ray tracer - not a real time one, is that correct? In your approach you will create a completely real time, dynamic one?
@luizgarciaaa2 жыл бұрын
Amazing new series!
@LiamNebe2 жыл бұрын
How about BunyaNut for the RT section of Hazel? Bunya trees kinda have a lot of straight branches, like rays, from the central trunk and matches the nut theme with some Aussie flavour.
@joysaha39272 жыл бұрын
Very much excited to learn this ❤️😇❤️. Thank you cherno master!
@DennisVlaanderen2 жыл бұрын
Considering is ray tracing and the sun sends out a tonne of rays, and sunflower seeds are considered to be nuts... "Sunflower" might be a nice name.
@dobbystudios23972 жыл бұрын
Awesome video mate. Any update on when the next one is coming out? Love your content. :)
@mehdimemar2 жыл бұрын
Hi @Cherno, thanks for all the videos. Please enable the Thanks button.
@mateuszbahyrycz70032 жыл бұрын
We are still waiting :)
@evan_game_dev2 жыл бұрын
My engine isn't anywhere near ray tracing, but I'm still gonna watch this
@saeedawwad43022 жыл бұрын
"I'm not sponsored by this book. I just really like it" I laughed so hard for no reason on this 😂
@PixelSenseiAvi2 жыл бұрын
Hi Cherno! Thanks a lot for the Ray-tracing series. Its just something at the back of my head, I am not very clear with. At 13:54 you used a shared_ptr. I wonder why and why not a unique_ptr?
@ВіталікБритан-х7ч11 ай бұрын
I made a project, prepared everything I needed, and in the end I realized that in the entire series there is no way to run this on a video card or, especially, to render objects consisting of polygons... And what kind of "Walnut" is this? I didn’t find any documentation or anything to explain work with shaders, maybe i need to work with the Vulkan... I dont know. But if the videos are called "Ray Tracing", it must be performed on the video card, at least in a regular fragment shader!... Maybe someone in the comments can help?
@LokiScarletWasHere2 жыл бұрын
Call it Dietznut Dietz Nuts have two meanings - A fanatic of a particular brand of lanterns, and a brand of sausage bites.
@migueldejesustavares41682 жыл бұрын
YESSS THANK YOU FOR THIS
@matsomo2 жыл бұрын
you should call it 3DzNuts
@garageman22362 жыл бұрын
My dream of measuring exactly how much slower my computer is then Cherno's is finally realized!
@lelikalexus92582 жыл бұрын
Awesome! Just wanted to start learning computer graphics!
@g4fly4ever82 жыл бұрын
My god it's gonna be a fun series isn't it
@AgentM1242 жыл бұрын
Ligatures in programming, in my opinion may ruin readability sometimes. Interestingly, you have != convert into the symbol for not equals, but -> isn't converted into a right arrow symbol.
@erithax2 жыл бұрын
"RayNutter" is obviously the only acceptable name.
@absorbingdude2 жыл бұрын
new story begins..
@julkiewitz5 ай бұрын
"Why don't we do it every frame" ** Video codec exited the chat **
@derptyderp52872 жыл бұрын
"Video compression is going to destroy this..." It sure did!
@MaxUzkikh2 жыл бұрын
You are awesome! Ян! Thank you so much for hard work!
@rutvikpanchal57262 жыл бұрын
You basically wrote a shader rendering program on CPU, try rendering mandelbrot set in the next video as it's shader code is quite simple and makes for a cool thumbnail
@EvgenyMeshkov2 жыл бұрын
I started doing my raytracer once & got axed by pulling my hair out over how to implement the function to rotate around the object's z coordinate - Blender style. So random :) But then I got other things to take care of. Well, maybe this series will make me return to my project and conquer my obstacles ))
@achtsekundenfurz78762 жыл бұрын
Since the raytracer name isn't final yet, and most rays are natural and originate from stars, I suggest "AstroNut" ;)
@mastershooter642 жыл бұрын
Let's do raytracing on riemannian manifolds!
@teidenzero2 жыл бұрын
Thank you, thank you, thank you
@vitluk2 жыл бұрын
That "sorry Rust people" hit me hard 😂 gonna port this to Rust anyway 😂
@richwolcott59042 жыл бұрын
How about calling it Tigernut? They're hard and sweet. Tiger nuts, water, and a little cinnamon make an excellent horchata.
@av3stube4802 жыл бұрын
Maybe make a side project with Ray marching? That method is really cool too.