Ray Tracing

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2014
  • Lecture 15: A Ray Tracing algorithm is described.

ความคิดเห็น • 118

  • @ashiningworld
    @ashiningworld 8 ปีที่แล้ว +383

    Lecture starts at 7:33

  • @TABRO284
    @TABRO284 8 ปีที่แล้ว +262

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

  • @p00pie
    @p00pie 8 ปีที่แล้ว +201

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

  • @GeForece6200
    @GeForece6200 4 ปีที่แล้ว +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 7 ปีที่แล้ว +69

    Now make a raytracer for curved spacetime

    • @isaacjones5937
      @isaacjones5937 7 ปีที่แล้ว +7

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

    • @SerBallister
      @SerBallister 6 ปีที่แล้ว +5

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

    • @__mk_km__
      @__mk_km__ 4 ปีที่แล้ว +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 3 ปีที่แล้ว

      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 9 หลายเดือนก่อน +1

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

  • @abdulrahmankerim2377
    @abdulrahmankerim2377 7 ปีที่แล้ว +4

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

  • @---si3nu
    @---si3nu 5 ปีที่แล้ว +71

    RTX ON

    • @everope
      @everope 4 ปีที่แล้ว +8

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

  • @petterboussard
    @petterboussard 4 ปีที่แล้ว

    This lecture is GREAT! Thanks

  • @cris3758
    @cris3758 4 ปีที่แล้ว +8

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

  • @bran_rx
    @bran_rx 3 หลายเดือนก่อน

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

  • @sshawarma
    @sshawarma 2 ปีที่แล้ว +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.

  • @JesseHolbrook
    @JesseHolbrook 6 ปีที่แล้ว +78

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

  • @fredow123456
    @fredow123456 5 ปีที่แล้ว +1

    very interesting and well explained, ty!

  • @JackLe1127
    @JackLe1127 8 ปีที่แล้ว +36

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

    • @CP200S
      @CP200S 8 ปีที่แล้ว +3

      That should become a meme...

    • @markanderson439
      @markanderson439 7 ปีที่แล้ว

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

    • @maaadkat
      @maaadkat 7 ปีที่แล้ว

      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 7 ปีที่แล้ว +1

      TL;DR dooo concretely proves the Universe is an illusion

  • @GeekTeach
    @GeekTeach 11 หลายเดือนก่อน

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

  • @user-mo9tx4me9w
    @user-mo9tx4me9w 8 ปีที่แล้ว +11

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

    • @cesteres
      @cesteres 5 ปีที่แล้ว

      It's pr0n

  • @lemon5501
    @lemon5501 4 ปีที่แล้ว +7

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

  • @philcoulson1431
    @philcoulson1431 5 ปีที่แล้ว +8

    NVIDIA brings me here

  • @TheGreatArlei
    @TheGreatArlei 2 ปีที่แล้ว +7

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

    • @BSPNode
      @BSPNode 2 ปีที่แล้ว +2

      2009

  • @MasterOfTheX
    @MasterOfTheX 3 ปีที่แล้ว

    Why I just found this ray tracing comments are best comms on TH-cam ever

  • @gmax3408
    @gmax3408 6 ปีที่แล้ว +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.

  • @alessiotucci0
    @alessiotucci0 หลายเดือนก่อน

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

  • @SJ-ds8lp
    @SJ-ds8lp 9 ปีที่แล้ว +5

    wow very informative

    • @plavix221
      @plavix221 8 ปีที่แล้ว

      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 7 ปีที่แล้ว

      +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 5 ปีที่แล้ว +6

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

  • @Steve.Nguyen
    @Steve.Nguyen 4 ปีที่แล้ว +8

    What class is this?

    • @Steve.Nguyen
      @Steve.Nguyen 4 ปีที่แล้ว +8

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

  • @KyobuFumiya
    @KyobuFumiya ปีที่แล้ว

    Damn. I'm the chosen one

  • @pknyan5803
    @pknyan5803 2 ปีที่แล้ว +4

    What if the rays were parabolas?

  • @POWERon4ik
    @POWERon4ik 7 ปีที่แล้ว +3

    lecture is OK

  • @vorname1485
    @vorname1485 5 ปีที่แล้ว +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

  • @sadteeto
    @sadteeto 5 ปีที่แล้ว +5

    Now we have real time ray tracing yeah

  • @corey333p
    @corey333p 7 ปีที่แล้ว +12

    The solution to the shadow problem sounds really obvious

    • @oliverhathaway7248
      @oliverhathaway7248 6 ปีที่แล้ว +24

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

    • @xanderlinhares
      @xanderlinhares 6 ปีที่แล้ว +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 6 ปีที่แล้ว

      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 5 ปีที่แล้ว +2

    Is this a Computer Science Major class?

    • @EarFarce4
      @EarFarce4 5 ปีที่แล้ว +8

      Yes specifically computer graphics

  • @plavix221
    @plavix221 8 ปีที่แล้ว +7

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

    • @plavix221
      @plavix221 8 ปีที่แล้ว +4

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

    • @AdrianReef
      @AdrianReef 8 ปีที่แล้ว +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 8 ปีที่แล้ว +1

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

    • @plavix221
      @plavix221 8 ปีที่แล้ว

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

    • @JackLe1127
      @JackLe1127 8 ปีที่แล้ว

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

  • @creed3500
    @creed3500 2 ปีที่แล้ว

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

    • @le_cognito
      @le_cognito 4 หลายเดือนก่อน

      computer graphics and light transport

  • @perplexedmoth
    @perplexedmoth 7 ปีที่แล้ว +2

    I'm jizzing my pants right now.

  • @mellang1725
    @mellang1725 5 ปีที่แล้ว +1

    *Not today TH-cam*

  • @blenderinfocentro
    @blenderinfocentro 3 ปีที่แล้ว

    Goob explications boys :)

  • @isaacthani
    @isaacthani 3 ปีที่แล้ว

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

    • @eygs493
      @eygs493 ปีที่แล้ว

      you cant, niga

  • @cankocyigitoglu4214
    @cankocyigitoglu4214 2 ปีที่แล้ว

    10:37 heeeeeere

  • @marcokok9814
    @marcokok9814 7 ปีที่แล้ว +2

    4 D divide by W?

    • @derekmallory985
      @derekmallory985 6 ปีที่แล้ว +20

      Look up homogenous coordinates and perspective projection

  • @Mikewee777
    @Mikewee777 6 ปีที่แล้ว

    7:37

  • @mrnobody2100
    @mrnobody2100 2 ปีที่แล้ว

    13:28 iihaaaaaghhh

  • @TitusSc
    @TitusSc 4 ปีที่แล้ว

    is this a graduate course?

    • @eygs493
      @eygs493 ปีที่แล้ว

      elementary school course

  • @bwatspro
    @bwatspro 5 ปีที่แล้ว +9

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

  • @INFLAMESM2G
    @INFLAMESM2G 5 ปีที่แล้ว +10

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

    • @roachey
      @roachey 5 ปีที่แล้ว

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

    • @FanShowSix
      @FanShowSix 5 ปีที่แล้ว +3

      coz this is inovation, u pay 4 that

    • @Ale-kc9pq
      @Ale-kc9pq 3 ปีที่แล้ว

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

  • @hashcr
    @hashcr 4 ปีที่แล้ว

    if Louis CK had a computer scientist brother..

  • @qfksspecial7866
    @qfksspecial7866 6 ปีที่แล้ว +1

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

  • @Voldein
    @Voldein 3 ปีที่แล้ว

    graphics

  • @nightfox6738
    @nightfox6738 ปีที่แล้ว

    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.

    • @kamogelokekae6877
      @kamogelokekae6877 9 หลายเดือนก่อน

      What do you do?

    • @nightfox6738
      @nightfox6738 9 หลายเดือนก่อน

      @@kamogelokekae6877 I work with realtime graphics for game dev

  • @noct1scxiv709
    @noct1scxiv709 3 ปีที่แล้ว +3

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

  • @victorsegoviapalacios4710
    @victorsegoviapalacios4710 4 ปีที่แล้ว +5

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

    • @veloce5491
      @veloce5491 4 ปีที่แล้ว +6

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

    • @IvanRandomDude
      @IvanRandomDude 4 ปีที่แล้ว +1

      Gender studies are way more important than computer graphics BIGOT

    • @victorsegoviapalacios4710
      @victorsegoviapalacios4710 4 ปีที่แล้ว +4

      @@IvanRandomDude Go back to get your soy.

    • @st0a
      @st0a 3 ปีที่แล้ว +3

      @@victorsegoviapalacios4710 Agreed.

    • @themeangene
      @themeangene ปีที่แล้ว +1

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

  • @TheBeorn123
    @TheBeorn123 5 ปีที่แล้ว

    Traduzcan al.español