Город МОСКОВСКИЙ
00:10:21

Raytracing in Python: Shading, Reflection, Refraction, Fog and More!

Аватар
Питонские шаги в программировании для новичков
Просмотры:
31
Дата загрузки:
02.12.2023 09:52
Длительность:
00:10:21
Категория:
Технологии и интернет

Описание

The graphics in many modern games look very similar to real life. This is often because they are using something called ray tracing.
In this video, I'll show you how I created my own ray tracer in Python and how you can too! I'll give you an in-depth explanation about intersections, shadows and highlights, refraction, reflection, volumetric lighting, and more, as well as the potential problems you might encounter when making a ray tracer of your own.

Timestamps:
00:20 Rays and Intersections
03:28 Spheres
03:47 Shadows and Highlights
06:20 Reflections and Refraction
08:17 Translucent Materials
08:32 Volumetric lighting

I also made a short compilation of some outputs, which you can see here:
https://youtu.be/50bsIIsnKrI
You can also find the full code in the GitHub-repository:
https://github.com/PyExplained/3D-Renderer/tree/master/3D%20Renderer%20V3.0

Music:
Deliberate Thought by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/by/4.0/
Source: http://incompetech.com/music/royalty-free/?keywords=deliberate+thought
Artist: http://incompetech.com/
October by Kai Engel https://freemusicarchive.org/music/Kai_Engel/Chapter_Four__Fall/Kai_Engel_-_Chapter_Four_-_Fall_-_05_October

#python #raytracing

Рекомендуемые видео