Path Tracer Code Walkthrough (C++/OpenGL) // Code Review

To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/TheCherno. The first 200 of you will get 20% off Brilliant’s annual premium subscription!
Patreon ► / thecherno
Instagram ► / thecherno
Twitter ► / thecherno
Discord ► / discord
Hazel ► hazelengine.com
🕹️ Play a game we made in Hazel for FREE ► studiocherno.itch.io/dichotomy
🌏 Need web hosting? ► hostinger.com/cherno
Send an email to chernoreview@gmail.com with your source code, a brief explanation, and what you need help with/want me to review and you could be in the next episode of my Code Review series! Also let me know if you would like to remain anonymous.
🔗 LINKS
Code ► github.com/Eduard0110/Path-tr...
RenderDoc ► renderdoc.org/
Nvidia Nsight ► developer.nvidia.com/nsight-g...
💰 Links to stuff I use:
⌨ Keyboard ► geni.us/T2J7
🐭 Mouse ► geni.us/BuY7
💻 Monitors ► geni.us/wZFSwSK
This video is sponsored by Brilliant.
#CodeReview

Пікірлер: 40

  • @TheCherno
    @TheCherno2 ай бұрын

    Hope you guys enjoyed this Path Tracer mini-series! What do you want to see next? Also don't forget you can try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/TheCherno - the first 200 of you will get 20% off Brilliant’s annual premium subscription!

  • @DazedNConfused71

    @DazedNConfused71

    2 ай бұрын

    More in the Ray Tracer series please 🙏

  • @Alkanen

    @Alkanen

    2 ай бұрын

    @@DazedNConfused71good god yes! Please @TheCherno, please? *puppy eyes* Learning how to actually get textures and ray calculations onto the GPU would be so epic! I swear, I'll sign up for the patreon immediately if that series continues.

  • @mobslicer1529

    @mobslicer1529

    2 ай бұрын

    more ray tracer and a code review of my game engine its really cool

  • @abdelmadjiddahmani1617

    @abdelmadjiddahmani1617

    2 ай бұрын

    more ray tracer, especially things like importance sampling and pbr with cook torrance

  • @chrispizz1327

    @chrispizz1327

    2 ай бұрын

    What do you think about 3D animations by ASSIMP skills as a new subject ?

  • @john_codes
    @john_codes2 ай бұрын

    I love turning on captions and seeing it say your name differently every time. I've seen it say things like "Hey what's up guys. My name is the chair now."

  • @bishboria
    @bishboria2 ай бұрын

    Continuing the path tracer code review gives me hope that you’ll be doing another Ray Tracer series video.

  • @anfay27
    @anfay272 ай бұрын

    Your RayTracing series was really awesome. I miss it so much. Thanks for the video!

  • @PledgeBass
    @PledgeBass2 ай бұрын

    14:16 You explained this so clearly and concisely thank you! You are so good and explaining extremely complex topics in a super straightforward way.

  • @sinom
    @sinom2 ай бұрын

    This whole index + offset type thing is stuff I'm used to seeing with decompiled programs. Seeing it in a normal program is definitely a bit wild

  • @mr.mirror1213
    @mr.mirror12132 ай бұрын

    Please bring back the ray tracing series

  • @Yilmaz4

    @Yilmaz4

    2 ай бұрын

    this, we need a real time denoiser

  • @mehdouchbhk6445
    @mehdouchbhk64452 ай бұрын

    good work man keep it up cherno love all your videos

  • @trapido0296
    @trapido02962 ай бұрын

    Yay new video!

  • @nukmuk
    @nukmuk2 ай бұрын

    yes unpack more and go into core/math of raytracing pls 🥺

  • @johnsoto7112
    @johnsoto71122 ай бұрын

    Hey Cherno! Do you have plans for rust content in the future?

  • @sinom
    @sinom2 ай бұрын

    "the way we do RT and PT we don't start at the light source" Kinda depends on the type of RT you're doing? If you're doing bi-directional RT or MLT you do trace rays both from the light both from the camera and from the light source. Just those are mostly only used in non realtime applications

  • @anon_y_mousse

    @anon_y_mousse

    2 ай бұрын

    Yeah, and that's kind of the point when making a game, is for it to be real time or as close to it as possible.

  • @bunpasi
    @bunpasi2 ай бұрын

    Yeah. New video. Did we ever figure out why the lighting blew up progressively?

  • @velikanskaglava2087
    @velikanskaglava20872 ай бұрын

    Thank you! Tell me is top game development going to rust or it will stay in c++ predominately?

  • @robbertzzzzz

    @robbertzzzzz

    2 ай бұрын

    It's still mostly C++, apart from Bevy I don't know of any Rust-based engines

  • @gsestream
    @gsestream2 ай бұрын

    about the thumbnails, why not just directly store them as images with the asset id as their names, you can see right away if they look correct, in windows file explorer, also.

  • @gsestream

    @gsestream

    2 ай бұрын

    camera ray does not have any light. it only detect if there is light present or chain of bounces to light.

  • @gsestream

    @gsestream

    2 ай бұрын

    total difference between a demo hack and a finished polished teachable model product.

  • @mjthebest7294
    @mjthebest72942 ай бұрын

    RayTracing series please

  • @user-tz4tl1zw7j
    @user-tz4tl1zw7j2 ай бұрын

    3120th pls heart. could you please make a video about custom ref counter?

  • @kira.herself
    @kira.herself2 ай бұрын

    I feel so stupid, like I started hobby programming with 14 and now I'm 20 and still can't write stuff like that :

  • @kingx1180

    @kingx1180

    Ай бұрын

    Me?

  • @hulakdar
    @hulakdar2 ай бұрын

    I bet the kid will be 30 when we finally see the last video on this code review

  • @m96fa40
    @m96fa402 ай бұрын

    "Y'know what else is going on? BRILLIAN-" Never let them know your next move.

  • @bas8036
    @bas80362 ай бұрын

    27th heart plz

  • @HasnainSheikh-mc5bq
    @HasnainSheikh-mc5bq2 ай бұрын

    Yooo

  • @lunaerx2017
    @lunaerx20172 ай бұрын

    Hi, The Cherno! Do you plan to review WebGPU technology? Note that this is not only for browsers, but it's also a C++ webgpu.h header spec which is being implemented by Google's Dawn and Firefox'es WGPU, and it unifies the popular native API's like Metal, DirectX and Vulkan all together. Want to hear your thoughts on this tech 🙏 Thanks!

  • @submaryne3518
    @submaryne35182 ай бұрын

    first pls heart

  • @IconDanixe
    @IconDanixe2 ай бұрын

    second pls heart

  • @TheCherno

    @TheCherno

    2 ай бұрын

    You're third mate, no heart for you

  • @IconDanixe

    @IconDanixe

    2 ай бұрын

    @@TheCherno so close!