What is Ray Marching?

  Рет қаралды 19,295

Suboptimal Engineer

Suboptimal Engineer

Күн бұрын

Пікірлер: 18
@saltukkezer5100
@saltukkezer5100 Жыл бұрын
Awesome! It's awesome to see graphics content being explained so clearly. Wish you all the best.
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Thanks, I’m glad my teaching style is helpful!
@sergeys7603
@sergeys7603 Жыл бұрын
It's a very helpful video. Thank you.
@pedrohov
@pedrohov Жыл бұрын
Thank you so much for this! I'm trying to make a shader to simulate liquid, making small circles in a particle system seem to belong to a bigger drop of liquid when they are close to each other. I don't know if I'm making myself clear, but I think this video is putting me in the right direction, thanks!
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Fluid simulations are always really cool, I’ve been wanting to make one for a while! Glad the video was able to help.
@cast_e899
@cast_e899 Жыл бұрын
how would you change camera rotation?
@Sammysapphira
@Sammysapphira 6 ай бұрын
Translate the entire scene
@suvetar
@suvetar Жыл бұрын
That looks really nice and I love that it feels like there's a lot of cool things you can do with the algorithm; Blending the shapes like that is a nice looking technique too - some lovely organic surfaces possible! I'm interested to combine this technique with a varient of shell texturing ... no specific reason, I just want to play with it and see what happens - with any luck I can turn my central heating off and let my 3070 warm up the room 😀
@SuboptimalEng
@SuboptimalEng Жыл бұрын
If you do, you should post some demos on KZbin! Always nice to see what other graphics engineers are up to 🤓
@anirbandeshmukh9128
@anirbandeshmukh9128 Жыл бұрын
Excellent tutorial!! Just one thing, I'm having an issue where if I move the sphere along the x axis, the lighting gets all messed up (if i offset the sphere to the left, the normals also point slightly towards the left, skewing the lighting in the wrong direction). If you encountered this issue as well, how did you resolve it?
@clifflin2307
@clifflin2307 Жыл бұрын
Can ray marching replace shadow mapping?
@alanwolfe9138
@alanwolfe9138 Жыл бұрын
yes, and some games do this! It's also useful for ambient occlusion (smaller scale shadowing), sub surface scattering, and many other things. It's a great tool in the toolbox. It isn't always the right tool, but it is a nice option to have!
@clifflin2307
@clifflin2307 Жыл бұрын
@@alanwolfe9138 which one is more efficient?
@hortonmark6793
@hortonmark6793 6 ай бұрын
"vec3 lightDirection = normalize(lightSource);" confused me. I think it should be "vec3 lightDirection = normalize(lightSource - p);", although both i tried did the same work
@ralkey
@ralkey Жыл бұрын
I see a lot of these ray marching videos but I still don't understand why you would even want this? Like what are some real practical applications, does it make games faster?
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Ray marching is a simple technique to display objects on a scene. It also has the nice properties of being able to easily calculate normals and shadows. This makes it easy to implement various computer graphics techniques and share them on the web. You can see tons of examples on Shadertoy. Shadertoy is to computer graphics engineers as LeetCode is to software engineers.
@tripik426
@tripik426 Жыл бұрын
damn you really indian?
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Yep, and English is my second language 😅
Graphics Programming Interview Question Tutorial
5:26
Suboptimal Engineer
Рет қаралды 2 М.
I Made A Blob Shooting Game With Ray Marching
13:33
Visionary 3D
Рет қаралды 43 М.
Ray Marching, and making 3D Worlds with Math
6:28
SimonDev
Рет қаралды 260 М.
Introduction to shaders: Learn the basics!
34:50
Barney Codes
Рет қаралды 377 М.
Coding Challenge 145: 2D Raycasting
36:02
The Coding Train
Рет қаралды 647 М.
What is Perlin Noise?
7:49
Suboptimal Engineer
Рет қаралды 17 М.
Coding Adventure: Ray Marching
5:06
Sebastian Lague
Рет қаралды 1,1 МЛН
Signed Distance Functions & Ray-Marching
24:14
Sum and Product
Рет қаралды 33 М.
What is WebGPU?
14:09
Suboptimal Engineer
Рет қаралды 70 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
It Takes Two, lava lamps, Raymarching in Godot 4.1.
12:42
Martin Donald
Рет қаралды 54 М.