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

Поділитися
Вставка
  • Опубліковано 28 лют 2024
  • 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
    @TheCherno  3 місяці тому +15

    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 3 місяці тому +6

      More in the Ray Tracer series please 🙏

    • @Alkanen
      @Alkanen 3 місяці тому +1

      @@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 3 місяці тому

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

    • @abdelmadjiddahmani1617
      @abdelmadjiddahmani1617 3 місяці тому +3

      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_codes 3 місяці тому +62

    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
    @bishboria 3 місяці тому +7

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

  • @anfay27
    @anfay27 3 місяці тому +8

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

  • @mr.mirror1213
    @mr.mirror1213 3 місяці тому +14

    Please bring back the ray tracing series

    • @Yilmaz4
      @Yilmaz4 2 місяці тому

      this, we need a real time denoiser

  • @sinom
    @sinom 3 місяці тому +5

    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

  • @PledgeBass
    @PledgeBass 3 місяці тому +1

    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.

  • @mehdouchbhk6445
    @mehdouchbhk6445 3 місяці тому

    good work man keep it up cherno love all your videos

  • @sinom
    @sinom 3 місяці тому +2

    "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.

  • @trapido0296
    @trapido0296 3 місяці тому

    Yay new video!

  • @nukmuk
    @nukmuk 2 місяці тому

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

  • @johnsoto7112
    @johnsoto7112 3 місяці тому +1

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

  • @bunpasi
    @bunpasi 2 місяці тому

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

  • @kira.herself
    @kira.herself 3 місяці тому +3

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

  • @velikanskaglava2087
    @velikanskaglava2087 3 місяці тому +1

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

    • @robbertzzzzz
      @robbertzzzzz 3 місяці тому +2

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

  • @user-tz4tl1zw7j
    @user-tz4tl1zw7j 3 місяці тому +2

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

  • @hulakdar
    @hulakdar 3 місяці тому

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

  • @lunaerx2017
    @lunaerx2017 3 місяці тому +4

    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!

  • @mjthebest7294
    @mjthebest7294 2 місяці тому

    RayTracing series please

  • @gsestream
    @gsestream 3 місяці тому

    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 3 місяці тому

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

    • @gsestream
      @gsestream 3 місяці тому

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

  • @m96fa40
    @m96fa40 3 місяці тому

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

  • @bas8036
    @bas8036 3 місяці тому

    27th heart plz

  • @HasnainSheikh-mc5bq
    @HasnainSheikh-mc5bq 3 місяці тому

    Yooo

  • @submaryne3518
    @submaryne3518 3 місяці тому +2

    first pls heart

  • @IconDanixe
    @IconDanixe 3 місяці тому +1

    second pls heart

    • @TheCherno
      @TheCherno  3 місяці тому +16

      You're third mate, no heart for you

    • @IconDanixe
      @IconDanixe 3 місяці тому

      @@TheCherno so close!