Ray tracing [C++ & SDL2] - Episode 4 - Light...
Ray tracing [C++ & SDL2] - Episode 4 - Light...
In this episode we extend our code to allow support for multiple objects and add support for simple point lights, going on to produce an image of the red sphere shaded by the light of a single point source. We will go on to build on this in later episodes, adding greater complexity as we go, but we are already producing an image that is starting to look a bit more interesting!
Other episodes of this series can be found here:
Episode 1 (Introduction & Theory of ray tracing):
https://youtu.be/JN5yUrJPThI
Episode 2 (Camera geometry):
https://youtu.be/KBK6g6RFgdA
Episode 3 (Ray-Sphere intersections):
https://youtu.be/8fWZM8hCX5E
Episode 5 (Geometric transforms):
https://youtu.be/-Apu2BNp3t8
Episode 6 (Planes & Shadows):
https://youtu.be/9K9ZYq6KgFY
Episode 7 (Simple materials):
https://youtu.be/F5vIgpRF_Qo
The Github repository for this series can be found here:
https://github.com/QuantitativeBytes/qbRayTrace
The Github repository for my linear algebra library can be found here:
https://github.com/QuantitativeBytes/qbLinAlg
**********************************
You can also follow QuantitativeBytes on Facebook:
www.facebook.com/QuantitativeBytes
#raytracing
**********************************
As with all of my videos, I show the code that I have developed to solve the particular problems that I need to solve, with the hope that it may provide sufficient background and inspiration to allow you to go on to develop your own code if you wish to. My code may not be the most appropriate solution to the problem you are trying to solve, so I urge you to consider the problem carefully and decide for yourself on the most appropriate solution. I make every effort to ensure that my code works as it should and is free of bugs, but of course I cannot provide any guarantees. If you use my code as shown, I strongly encourage you to make sure that you test it thoroughly to ensure that it works as you need it to. If you find a bug, do please let me know in the comments!
**********************************
Видео Ray tracing [C++ & SDL2] - Episode 4 - Light... канала QuantitativeBytes
In this episode we extend our code to allow support for multiple objects and add support for simple point lights, going on to produce an image of the red sphere shaded by the light of a single point source. We will go on to build on this in later episodes, adding greater complexity as we go, but we are already producing an image that is starting to look a bit more interesting!
Other episodes of this series can be found here:
Episode 1 (Introduction & Theory of ray tracing):
https://youtu.be/JN5yUrJPThI
Episode 2 (Camera geometry):
https://youtu.be/KBK6g6RFgdA
Episode 3 (Ray-Sphere intersections):
https://youtu.be/8fWZM8hCX5E
Episode 5 (Geometric transforms):
https://youtu.be/-Apu2BNp3t8
Episode 6 (Planes & Shadows):
https://youtu.be/9K9ZYq6KgFY
Episode 7 (Simple materials):
https://youtu.be/F5vIgpRF_Qo
The Github repository for this series can be found here:
https://github.com/QuantitativeBytes/qbRayTrace
The Github repository for my linear algebra library can be found here:
https://github.com/QuantitativeBytes/qbLinAlg
**********************************
You can also follow QuantitativeBytes on Facebook:
www.facebook.com/QuantitativeBytes
#raytracing
**********************************
As with all of my videos, I show the code that I have developed to solve the particular problems that I need to solve, with the hope that it may provide sufficient background and inspiration to allow you to go on to develop your own code if you wish to. My code may not be the most appropriate solution to the problem you are trying to solve, so I urge you to consider the problem carefully and decide for yourself on the most appropriate solution. I make every effort to ensure that my code works as it should and is free of bugs, but of course I cannot provide any guarantees. If you use my code as shown, I strongly encourage you to make sure that you test it thoroughly to ensure that it works as you need it to. If you find a bug, do please let me know in the comments!
**********************************
Видео Ray tracing [C++ & SDL2] - Episode 4 - Light... канала QuantitativeBytes
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
The Lorenz Attractor in 3DRay Tracing [C++ & SDL2] Faster Linear Algebra (Episode 25)Ray tracing [C++ & SDL2] - Episode 14 - Procedural textures - Part 1Ray Tracing [C++ & SDL2] - Tile based rendering (Episode 26)Building a simple spectrum analyser app (C++ & SDL2) - Part 3 - Reading a .wav fileLinear Algebra in C++ - Part 2a - Compute Matrix Inverse (Theory)Ray Tracing in C++ : Normal Maps #shortsLinear Algebra in C++ - Part 3 - NxN Matrix DeterminantRay Tracing [C++ & SDL2] - Episode 18 - Texture based normal mapsRay tracing [C++ & SDL2] - Episode 7 - Simple materialsRay Tracing [C++ & SDL2] - Episode 17 - Normal Maps (Part 1)Ray tracing [C++ & SDL2] - Episode 12 - BoxesBuilding a 2D primitives library (C++ & SDL2) - Part 4 - Simple animationRay Tracing in C++ : Normal Maps Demo #shortsLinear Algebra in C++ - Part 11 - Linear Least Squares (Some examples)Linear Algebra in C++ - Part 7 - Handling unsolvable systems of equationsMerry Christmas and Best Wishes for 2023!Modelling with qbRAY - Combining Signed Distance FunctionsUV space and texture mapping - New video coming soon in the Ray Tracing in C++ series!Normal Maps - Coming soon! #shorts