Coding Adventure: Ray Tracing

Coding Adventure: Ray Tracing

Sebastian Lague

1 год назад

1,148,250 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@robostew
@robostew - 07.01.2024 04:27

How in the world is he rendering a compute shader in the editor this is witchcraft

Ответить
@EdwardPierce-ue9fz
@EdwardPierce-ue9fz - 06.01.2024 20:04

Now make glass with it

Ответить
@danm3573
@danm3573 - 05.01.2024 18:06

The quality of these videos is through the roof. I can imagine how much work goes into each video and I'm honestly floored.

Ответить
@jeanjacquesstrydom
@jeanjacquesstrydom - 04.01.2024 23:02

These renders are so damn good. I was so sad when the video ended 😂

Ответить
@sangamo38
@sangamo38 - 31.12.2023 08:34

I am Seb's age but I abandon every project after first milestone and never get the motivation to finish it

Ответить
@proggyproggerson
@proggyproggerson - 31.12.2023 02:58

I feel so stupid watching your videos! Helps one to stay grounded.

Ответить
@jjesin_j
@jjesin_j - 28.12.2023 19:54

im so impressed with the level of programming knoledge here, im a begginer programer and watching this video was not only relaxing but entertaing, although ( although i didnt understand alot of it) watching your breakdown and following your thought process really made me understand, keep going with this chanel!

Ответить
@thatprogramer
@thatprogramer - 21.12.2023 23:30

yo!

Ответить
@deletedpvp4703
@deletedpvp4703 - 21.12.2023 08:43

please add a part 2

Ответить
@Cezarj59
@Cezarj59 - 05.12.2023 04:58

É o unico canal que eu assisto um video do começo ao fim, é sensacional.

Ответить
@linuxonly4671
@linuxonly4671 - 03.12.2023 12:06

Good content! BTW, can i run it on my intel iris xe graphics :_( ?

Ответить
@fahd2372
@fahd2372 - 29.11.2023 08:49

You didn't use an acceleration structure? What if you want to draw high poly scenes?

Ответить
@NikitaShokin2003
@NikitaShokin2003 - 28.11.2023 19:30

"My computer is dying, but it looks nice." goes to the quotebook

Ответить
@johnpb83
@johnpb83 - 24.11.2023 19:33

Impressive, really. How much time you spend on average on these projects?

Ответить
@jajoothecoolman
@jajoothecoolman - 23.11.2023 18:18

Wait, he just releases the code for these?!

Ответить
@user-bs9hl2ne7m
@user-bs9hl2ne7m - 18.11.2023 20:06

Hi guys, does anybody have problems running this with new objects? even when I try to add a new cube and set up the script it doesn't even register on the screen, as if it was invisible.

Ответить
@cheesyyy3028
@cheesyyy3028 - 18.11.2023 12:33

i need someone to reupload this video with the rock raising eyebrow meme and a loud vineboom everytime Sebastian says balls 💀

Ответить
@michaeljensen8867
@michaeljensen8867 - 13.11.2023 21:54

What software are you using? Maybe do a video focused on that

Ответить
@lumbahrye
@lumbahrye - 13.11.2023 13:36

Good save, buddy 🫠

Ответить
@Killerkraft975
@Killerkraft975 - 09.11.2023 20:04

What i find so interesting in these series is that it takes a very complex subject and experiements with them during the development process which really does help in understanding.

Ответить
@GArts89
@GArts89 - 07.11.2023 11:36

Awesome! Can't wait for part 2.

Ответить
@IwouldBeImmortal
@IwouldBeImmortal - 03.11.2023 09:08

I need to say that I love the tone of your voice! It sounds like you have a genuine big smile while you talk, it makes me feel happy for no reason ^^

Ответить
@LE0NSKA
@LE0NSKA - 02.11.2023 22:48

is it just me or do his videos make you question reality every time

Ответить
@estebanjacome6663
@estebanjacome6663 - 01.11.2023 11:28

I always feel so amazed by Sebastian yet I feel so dumb and useless

Ответить
@riseoblivion237
@riseoblivion237 - 01.11.2023 10:05

wtf so much fun omg lol

Ответить
@bumblinggimp
@bumblinggimp - 31.10.2023 23:40

a great video, many thanks. the inclusion of the code snippets is a real help!

Ответить
@javali1678
@javali1678 - 29.10.2023 14:20

just another unity noob, who understands nothing about coding. now try to do it without "press a button" software aids

Ответить
@happygarlic13
@happygarlic13 - 28.10.2023 22:28

You make great videos. Really impressive stuff.
But cpuld ypu kindly consider dropping the ASMR voice, please? Or at least tone it out a bit...

Ответить
@photonpattern
@photonpattern - 23.10.2023 22:48

Great work! It's amazing to see this raytracing in close to real time. When I played with POVray in the late 80s any of these scenes would make my 286 cry for days. Moore's Law is indeed a wonderful thing.

Ответить
@annadream5501
@annadream5501 - 22.10.2023 22:45

Hey
Love your videos)
I was thinking
You seem to be using the generator of random points on the sphere quite a bit. I think using polar coordinates (just generating two random angles with uniform distribution) can make it a little faster? And if you need the cosine distribution just generate one angle and one linear coordinate. Square the coordinate and you’ve got a distribution, where probability density at each value is proportional to the value itself.
So, imagine your normal vector aligns with the x axis. You generate the x coordinate of your point on a sphere, such that it’s probably is proportional to x coordinate. X coordinate is precisely the cosine of the angle between your random vector and x axis if you take a unit sphere
(I’m not extremely sure in the cosine one, but the uniform definitely works)
And one more question. I don’t really understand why would you generate a random value at each pixel and then namely average it out over time or number of rays. Wouldn’t it be faster and less noise, if you straight up give the expected value of your distribution?

Ответить
@judegibson6577
@judegibson6577 - 21.10.2023 16:46

Currently studying a 3D graphics module for a computer science degree and this is explained so much better than my lecturer. Thank you :)

Ответить
@agonygoose
@agonygoose - 20.10.2023 21:24

Best cat video I've seen this year.

Ответить
@weckar
@weckar - 20.10.2023 14:38

I've been thinking. Why not use this to do even better portals? It will even allow light and shadows to pass through

Ответить
@atharvataras
@atharvataras - 19.10.2023 19:34

Forget the code, where can I download those cats?

Ответить
@JCake
@JCake - 19.10.2023 01:04

I'm a bit late here, but when generating random directions, wouldn't it make sense to generate polar coordinates instead of continuing to pick values until one is inside a sphere? Why not generate three angles and build a vector from there?

Ответить
@colmanian
@colmanian - 18.10.2023 22:12

Awesome 😃😃😃

Ответить
@Y0urL0caldumbass.
@Y0urL0caldumbass. - 18.10.2023 05:04

I know someone who found out how to use ai algerithems to simulate ray tracing on any computer, and made a game to demo it, even my 5 year old laptop can run it at around 50 fps with out an rtx card

Ответить
@mojogo1735
@mojogo1735 - 18.10.2023 03:33

You are on a whole new level of awesome brother! I envy your work!

Ответить
@Alex26194
@Alex26194 - 17.10.2023 22:50

Seb‘s videos are so great honestly

Ответить
@robwatson826
@robwatson826 - 17.10.2023 14:37

Wow, another amazing video, thank you very much for sharing!

Ответить
@UJustGotGamed
@UJustGotGamed - 13.10.2023 22:03

the sponsorblock highlight is the cat portion of the video

Ответить
@murkywters
@murkywters - 13.10.2023 18:33

I don't code, so I can't vouch for Sebastian's skills objectively, but to me, he is a magician. And his videos are comfort food for my soul.

Ответить