Ray Tracing

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • Lecture 15: A Ray Tracing algorithm is described.

Komentáře • 118

  • @ashiningworld
    @ashiningworld Před 8 lety +385

    Lecture starts at 7:33

  • @TABRO284
    @TABRO284 Před 8 lety +264

    I was watching cats and ended up here watching a lecture on ray tracing

  • @p00pie
    @p00pie Před 8 lety +202

    Lecture starts at 7:37. Before that he speaks with the students about projects and miscellaneous spatial rendering problems

  • @GeForece6200
    @GeForece6200 Před 5 lety +44

    Very good lecture! It's really interesting that Nvidia's CEO basically explained pretty much the same thing in RTX's launch event.

  • @MaxwellsWitch
    @MaxwellsWitch Před 7 lety +69

    Now make a raytracer for curved spacetime

    • @iambugking
      @iambugking Před 7 lety +7

      The Misanthropic Nihilist It's much harder to represent a curved line than a straight one.

    • @SerBallister
      @SerBallister Před 6 lety +5

      You could ray march as a series of small line segments, obviously much more expensive that way

    • @__mk_km__
      @__mk_km__ Před 5 lety +8

      One guy actually did it, google "Raytracing a Blackhole"
      Okay, its raytracing just one particular version of curved spacetime, but you get the idea, its cool(and quite simple to implement too).

    • @noct1scxiv709
      @noct1scxiv709 Před 4 lety

      Checkout Scott manleys video on wormholes. He wrote a raytracer for non Euclidean space to show what it would look like going into a wormhole

    • @mastershooter64
      @mastershooter64 Před rokem +1

      It's basically the same thing, you just change the metric

  • @CrisMW98
    @CrisMW98 Před 4 lety +8

    This is so cool when you finally understand the math behind it! xD

  • @---si3nu
    @---si3nu Před 5 lety +72

    RTX ON

    • @everope
      @everope Před 4 lety +9

      That must be why the frame rate of this video is so low

  • @JesseHolbrook
    @JesseHolbrook Před 6 lety +78

    If you close your eyes, Kermit the Frog will teach you the basics of ray tracing.

  • @JackLe1127
    @JackLe1127 Před 8 lety +36

    33:00 "Run the code... dooo...."

    • @CP200S
      @CP200S Před 8 lety +3

      That should become a meme...

    • @markanderson439
      @markanderson439 Před 7 lety

      I have NO clue what's going on. BUT, could this describe the holographic universe?

    • @maaadkat
      @maaadkat Před 7 lety

      If you're referring to the hypothesis that we live in a simulation - and setting aside any opinion of plausibility of the theory - we couldn't really say for sure. If there's nobody there to see something, is it visible? If a tree falls in the forest, does it make a sound? Do these phenomena exist even if there are no eyes to see, noses to smell, ears to hear, nerves to feel, tongues to taste? Is Schrodinger's cat dead or alive if we have no observable evidence of either state? This is a fun one to think about: We can't visually observe the cat without opening the box, but maybe we can observe the temperature. If we put an ice cube on the box, it will melt faster if the cat is alive than if the cat is dead. This alone will constitute observation. In fact any interaction between the cat and the outside of the box is "considered" observation, even if we don't pay attention to the ice cube. So are our senses simulated? Do our eyes see raytraced images, i.e. only the observed "exists"? Or are the stimuli - the photons - simulated? If we were building this simulation, we wouldn't be able to tell if any given photon is going to interact with an observing organism without simulating every photon to its eventual absorption. So it's more likely that for such a rich and complete simulation. photons would *need* to be simulated from their source rather than traced from our retinas.

    • @ancientapparition1638
      @ancientapparition1638 Před 7 lety +1

      TL;DR dooo concretely proves the Universe is an illusion

  • @GeekTeach
    @GeekTeach Před rokem

    I just got back from Pixar's Elemental after having watched this video last week - and my mind is blown. All of the things!

  • @sshawarma
    @sshawarma Před 3 lety +2

    I was wondering if there was a way to do Ray tracing with polynomials, seems like there currently isn't (efficiently anyway). This video is a gem for understanding what the current limitations are before making your own.

  • @abdulrahmankerim2377
    @abdulrahmankerim2377 Před 7 lety +4

    Thank you for the great explanation ....really helpful introductory.

  • @bran_rx
    @bran_rx Před 6 měsíci

    "Don't worry about the holes"... my new mantra

  • @王煜东
    @王煜东 Před 8 lety +11

    well I was just wondering what the name of the video is which would be played on Friday , seems to be very interesting.

  • @lemon5501
    @lemon5501 Před 5 lety +7

    So this is Ray tracing before it was cool? nice.

  • @gmax3408
    @gmax3408 Před 6 lety +8

    Well by now it's a trending topic to the gaming community. Can't wait to see what are they going to do with 'Ray Tracing' on upcoming games.

  • @TheGreatArlei
    @TheGreatArlei Před 3 lety +7

    From what year is this lecture? I am loving it!

  • @Steve.Nguyen
    @Steve.Nguyen Před 4 lety +8

    What class is this?

    • @Steve.Nguyen
      @Steve.Nguyen Před 4 lety +8

      Never mind, google answered my question. It's "CSCI 420 Computer Graphics" for those curious.

  • @petterboussard
    @petterboussard Před 4 lety

    This lecture is GREAT! Thanks

  • @philcoulson1431
    @philcoulson1431 Před 6 lety +8

    NVIDIA brings me here

  • @alessiotucci0
    @alessiotucci0 Před 4 měsíci

    anyone knows where I can find the videos he is talking about?

  • @MasterOfTheX
    @MasterOfTheX Před 3 lety

    Why I just found this ray tracing comments are best comms on CZcams ever

  • @pknyan5803
    @pknyan5803 Před 3 lety +4

    What if the rays were parabolas?

  • @fredow123456
    @fredow123456 Před 5 lety +1

    very interesting and well explained, ty!

  • @vorname1485
    @vorname1485 Před 6 lety +5

    Why did you put C (speed of light) on the desk. And why do you always tell "as you can C"? :D :D :D

  • @plavix221
    @plavix221 Před 9 lety +7

    Why does a ray hit a sphere in 2 places?????
    I cant imagine that one.

    • @plavix221
      @plavix221 Před 9 lety +4

      plavix221 oh ok i see. there are acutally two sides a sphere has, not? XD

    • @AdrianReef
      @AdrianReef Před 8 lety +1

      +plavix221 nope.
      It all depends on how you consider the surface.
      It can be one sided,two-sided (outer surface-inner surface) but,"digitally speaking",often a sphere has many sides since we have to use triangles or quads to describe it.
      There are other exotic digital representations(actually,the real term to use is *approximations*) but we get in the realm of dot-clouds,fractals,voronoi diagrams and "who knows what else"... :P

    • @JackLe1127
      @JackLe1127 Před 8 lety +1

      +plavix221 he meant 2 surfaces of the sphere: front and back

    • @plavix221
      @plavix221 Před 8 lety

      Jack Le But which one? There is an infinite amount of them. XD

    • @JackLe1127
      @JackLe1127 Před 8 lety

      plavix221 whichever one intersects the ray ;) the sphere is hollow

  • @SJ-ds8lp
    @SJ-ds8lp Před 9 lety +5

    wow very informative

    • @plavix221
      @plavix221 Před 9 lety

      Swoorup Joshi yeah right. it is so much better to see a lecture given by a native english speaking guy. Also, this Professor is really presenting it nicely.why even bother about rasterization? throw it out of the window, in 4 years will have real time raytracing.

    • @BlackXxScopez
      @BlackXxScopez Před 7 lety

      +plavix221 if it takes 2 minutes to render the sample image of a bmw with cycles in blender, and we want 60 fps, we need gpus that are 7200x as powerful. If it takes four years for power to double, a conservative estimate since we are reaching the size limit of traditional transistors, we can find out how long it should take. with x= number of years, 7200=(1/4*x)^2,x=339. However, if we can keep up moore's law, 7200=(1/2*x)^2,x=169. Of course, we can always say that you can use $10,000 worth of equipment, which is when the consumer market usually starts getting it. I'd say about 20 seconds is more like what you would see. Now it's only 1200x less powerful than what is needed. now let's say they can put up with 20 fps for some reason. We will also say that moore's law still applies, doubling once every two years. 1200=(1/2*x)^2. In 69 years, you'll be able to spend $10,000 and watch the bmw benchmark at 20 fps. Finally, let's say right now you have some uber $1,000,000 array that can render it at blazing speeds of 0.2 seconds per frame. being 12x less powerful, you can either spend $12,000,000 and play at 20 fps ($36,000,000 if you want 60 fps), or keep waiting until prices go down to be able to do this. I haven't taken into account optimizations in render technologies, but the gist is you CAN do it in 4 years, if you have $2,500,000 or so laying around. This does not take into consideration any other parts of the PC you may need :^)

    • @newkid9807
      @newkid9807 Před 5 lety +6

      plavix221 DAMM your prediction was on point, around 4 years later we have it

  • @corey333p
    @corey333p Před 7 lety +12

    The solution to the shadow problem sounds really obvious

    • @oliverhathaway7248
      @oliverhathaway7248 Před 6 lety +24

      A good lecturer makes everything they're explaining sound obvious.

    • @xanderlinhares
      @xanderlinhares Před 6 lety +3

      It is when you are ray casting with no time limit but when you are attempting real-time cg (especially back then), that isn’t an option.

    • @MatheusLB2009
      @MatheusLB2009 Před 6 lety

      Even when you are ray casting with "no time limit", it might take too damn long or the machine crashes mid-trace (especially back then)

  • @saultube44
    @saultube44 Před 5 lety +2

    Is this a Computer Science Major class?

    • @EarFarce4
      @EarFarce4 Před 5 lety +8

      Yes specifically computer graphics

  • @sadteeto
    @sadteeto Před 5 lety +5

    Now we have real time ray tracing yeah

  • @perplexedmoth
    @perplexedmoth Před 7 lety +2

    I'm jizzing my pants right now.

  • @KyobuFumiya
    @KyobuFumiya Před rokem

    Damn. I'm the chosen one

  • @POWERon4ik
    @POWERon4ik Před 7 lety +3

    lecture is OK

  • @creed3500
    @creed3500 Před 2 lety

    What kind of course do I go to learn about this stuff?

    • @le_cognito
      @le_cognito Před 8 měsíci

      computer graphics and light transport

  • @bwatspro
    @bwatspro Před 5 lety +9

    Didnt you get little nervous, when he starts talking about assignments ? Not cool, dude (xD)

  • @isaacthani
    @isaacthani Před 3 lety

    22:42 - One of the jobs I'd like to have also :)

  • @INFLAMESM2G
    @INFLAMESM2G Před 6 lety +10

    FU Nvidia... I'm still not going to pay $1000+ for a RTX 2080 Ti.

    • @roachey
      @roachey Před 6 lety

      Just for gaming it's too much. The RTX could be really good for animators and 3D artists though.

    • @FanShowSix
      @FanShowSix Před 6 lety +3

      coz this is inovation, u pay 4 that

    • @thequarrymen58
      @thequarrymen58 Před 4 lety

      There's not enough games that really requires RT, it's just a novelty...

  • @marcokok9814
    @marcokok9814 Před 7 lety +2

    4 D divide by W?

    • @derekmallory985
      @derekmallory985 Před 6 lety +20

      Look up homogenous coordinates and perspective projection

  • @mellang1725
    @mellang1725 Před 5 lety +1

    *Not today CZcams*

  • @cankocyigitoglu4214
    @cankocyigitoglu4214 Před 2 lety

    10:37 heeeeeere

  • @TitusSc
    @TitusSc Před 4 lety

    is this a graduate course?

    • @eygs493
      @eygs493 Před rokem

      elementary school course

  • @blenderinfocentro
    @blenderinfocentro Před 4 lety

    Goob explications boys :)

  • @mrnobody2100
    @mrnobody2100 Před 2 lety

    13:28 iihaaaaaghhh

  • @qfksspecial7866
    @qfksspecial7866 Před 6 lety +1

    I'm not visualizing the illustrations. It would be better if it is 3D animation, or use some objects to illustrate.

  • @nightfox6738
    @nightfox6738 Před rokem

    5:50 This is an incredibly bad practice that nobody does for what should be obvious reasons. He says they do that but as a professional in the industry I can tell you, no. Nobody in their right mind does this.

  • @Mikewee777
    @Mikewee777 Před 6 lety

    7:37

  • @victorsegoviapalacios4710

    When universities really taught something, no like the Gender/Black/Mexicans/Etc. Studies courses they offer right now.

    • @veloce5491
      @veloce5491 Před 4 lety +6

      it depends on what you take. they still teach that stuff. what a dumb comment.

    • @IvanRandomDude
      @IvanRandomDude Před 4 lety +1

      Gender studies are way more important than computer graphics BIGOT

    • @victorsegoviapalacios4710
      @victorsegoviapalacios4710 Před 4 lety +4

      @@IvanRandomDude Go back to get your soy.

    • @st0a
      @st0a Před 4 lety +3

      @@victorsegoviapalacios4710 Agreed.

    • @themeangene
      @themeangene Před 2 lety +1

      ​​@@veloce5491 If you take gender studies you're wasting your time and not helping humanity

  • @Voldein
    @Voldein Před 3 lety

    graphics

  • @hashcr
    @hashcr Před 4 lety

    if Louis CK had a computer scientist brother..

  • @noct1scxiv709
    @noct1scxiv709 Před 4 lety +3

    100 lines of code to see if it’s inside a triangle is bollocks. I did it in 20

  • @TheBeorn123
    @TheBeorn123 Před 5 lety

    Traduzcan al.español