Procedural 3D Engine. Ray Marching OpenGL Tutorial

preview_player
Показать описание
Python OpenGL Tutorial on creating Procedural 3D Graphics Engine using the Ray Marching technique. To work with OpenGL, the Python language and the ModernGL module will be used, and all the main work will take place in a Fragment Shader in GLSL

Project code:

Link to file with SDF functions:

Inigo Quilez (All the most useful for Ray Marching):

#coderspace #python #opengl #raymarching #moderngl
#programming #coding #programmer #developer #technology #code
Рекомендации по теме
Комментарии
Автор

I have been blown away by how well done and cool these little projects are. Nice stuff

harleyfillus
Автор

Really impresive video, you deserve much more views

luki
Автор

Brilliant! Loved the structure of the. Nice how you added things in one at a time. Goes a long way explaining the same named concepts. Would love to see more of the world of shaders like this.

unmodify
Автор

Very powerful vids, keep the great work!

miumenk
Автор

Wow. This video packed so much information in one shot. Truly impressive.

willw
Автор

I just love it even though I understand 2% of the content. Keep the content coming, I'm trapped into this

tonnysocrates
Автор

wow I stumble across your channel by accident. Instant Sub.

yangdeveloper
Автор

How would you implement keyboard movement, sort of like a FPS.

theattic
Автор

What text2speech engine are you using? Love the video btw!!

blindne
Автор

Can you please tell what FOV is measured in?

MrMagno-nilf
Автор

Great video! I have a question though: at 2:40 why are you not substracting ro from rd? Like this:
vec3 rd = normalize(vec3(uv, FOV) - ro) This is confusing me a lot. What is the actual difference between rd vs rd - ro in this case?

marcosdanieltorres
Автор

float d = rayMarch(p + N * 0.02, normalize(lightPos)).x;
if (d < length(lightPos - p)) return vec3(0);
return diffuse;

i have same code as you still this part is not working can you help me with this??

khatriiman_b
Автор

I'll return here the day i understand ALL this stuff

sivaramakrishnanr.
Автор

hey, I know this is old but do you know why I am not getting any shadows (I am at 8:24)

XENON
Автор

Did you write these codes by yourself? I'm impressed, you must be some genius....

warrior
Автор

how many functions does the shader can handle with 60 fps ?

dimitrisgkofas
Автор

Wow, I am truly impressed. How did you learn about Ray Marching?

whupass
Автор

Слушай, я тут просто нашел канал который ты скорее всего переводишь
Надеюсь, это вы договорились

docname
Автор

I cloned your repository but can't make it to work... 😢
i got :

GLSL Compiler failed

fragment_shader

ERROR: 0:728: 'pMod1' : no matching overloaded function found (using implicit conversion)
ERROR: 0:728: 'pMod1' : function is not known

BaguetteDeP
Автор

Inspirational video, though not very useful unfortunately - more of a brief exposition to the topic than a tutorial, so the most that newcomers could hope to come out of watching it with, is being able to make some nice tasty code copy-pasta ;)
Each of about a dosent theoretical nuggets here can easilly fill a whole tutorial unto themselves to really cover properly and provide a concrete grasp of how things work. Would be great if that could happen as a series of follow-ups! :)

More specifically, while the video includes a combination of rough coverage interwoven with code-snippets, there's very little to tie them together. So the video comes across as: "hey, look at all those cool stuff I can do! (and maybe you could too, if you spend some weeks/months learning them elsewhere...)"

AinurEru