Ray Casting versus Ray Tracing (Volumetric): A Quick and Convenient Comparison

Поділитися
Вставка
  • Опубліковано 5 лют 2025

КОМЕНТАРІ • 67

  • @shreeyaksajjan1200
    @shreeyaksajjan1200 4 роки тому +3

    Thank you for this quick video! I was very confused when I first came across a paper that used ray casting, since I assumed it's the same as ray tracing.

  • @linden5480
    @linden5480 2 роки тому +1

    Thanks for the explanation, very clear and simple to understand!

  • @fredg8328
    @fredg8328 4 роки тому +10

    Let's add more confusion :) Raycasting was the common name of the engine used to render games like Wolfenstein and Doom. The main difference was that in raytracing you cast one ray per pixel, while in these games, you cast only one ray per column of pixels on the screen. Each pixel of this column were then computed by stretching a texture. The rays were not even cast in 3D, as you only needed one ray per column, the game casted them in 2D on the "level map" from the 2D coordinates of the player.

    • @schrodle
      @schrodle 2 роки тому +1

      Doom is not a raycaster. Doom's rendering is actually closer to modern game engines than it is to Wolf 3D.

  • @AvnishKumar-it3sf
    @AvnishKumar-it3sf 2 роки тому +1

    Love from India

  • @Domajnik
    @Domajnik 3 роки тому +1

    thank you

  • @diyajoseph8619
    @diyajoseph8619 4 роки тому +1

    Thank you!

  • @khodahh
    @khodahh 5 років тому +4

    I though Ray casting was also used for Somme effects like sub surface scattering ang volumetric fog rendering for example. Great video!

    • @BobLaramee
      @BobLaramee  5 років тому +1

      An entire book could be written on this topic. Check out the book chapter in the description.

  • @realcygnus
    @realcygnus 6 років тому +6

    cool what about ray marching ?

    • @BobLaramee
      @BobLaramee  6 років тому

      I don't know about that marching

    • @realcygnus
      @realcygnus 6 років тому +2

      @@BobLaramee Got you......I just heard its like the big brother of tracing, in the world of GPU shaders.

    • @iamlordstarbuilder5595
      @iamlordstarbuilder5595 4 роки тому +1

      @@realcygnus it isn’t the best for global illumination. It’s an alternative rasterizer to triangles

  • @krgrief
    @krgrief 7 років тому +33

    starts at 1:10

  • @justgame5508
    @justgame5508 5 років тому +1

    Ray tracing/casting is used in more than just graphics. Radio-propagation models are usually based on some form of ray tracing

  • @beaumanVienna
    @beaumanVienna 2 роки тому

    Now that Vulkan has a ray tracing extension, do you guys know if I can use it for ray casting as well?

  • @oLOo0o0oOLo
    @oLOo0o0oOLo 8 років тому +5

    Thank you for a lovely explanation! :)

    • @BobLaramee
      @BobLaramee  8 років тому +2

      My pleasure. Thanks for watching.

  • @Han-wg8zw
    @Han-wg8zw 5 років тому +1

    Really really helpful

    • @BobLaramee
      @BobLaramee  5 років тому

      韓汯勳 thanks for watching

  • @daveb4711
    @daveb4711 5 років тому +7

    ray tracing: 3:09, ray casting:4:25

  • @andreaschristianlouk6891
    @andreaschristianlouk6891 6 років тому +1

    Thank you for the Explanation..

  • @int16_t
    @int16_t 4 роки тому +1

    Wait... ray casting and ray tracing are different? Never knew that.

  • @stefanbanev
    @stefanbanev 9 років тому

    What prohibits (besides time) to reflect/refract ray-forking at each sample for volumetric data (rhetorical ?). Once transfer function has information of speed of light in media the math is straightforward. Apparently volumetric ray tracing may yield an ultimately realistic visualization a way beyond what ray-tracing with surface-boundaries polygonal representation may do.... with millions scalar cores on chip (massive MIMD) it may become doable....

    • @BobLaramee
      @BobLaramee  8 років тому

      Some very advanced lighting and shading techniques have been developed for ray casting as well, resulting in some impressive imagery. See the work by Markus Hadwiger et al.

  • @md.rasheduzzaman6928
    @md.rasheduzzaman6928 5 років тому +1

    That was great

    • @BobLaramee
      @BobLaramee  5 років тому

      Fashion and Style happy holidays.

  • @crysicle
    @crysicle 4 роки тому +1

    Ray Tracing(Graphics) in physics is called Ray Casting, though generally only hit point, distance traveled, and normal of the surface are needed to calculate. Ray Casting(Graphics) is generally called the same name in physics with an "All" attached to it's functions "RaycastAll". How come there's a name disconnect between these techniques? Furthermore, if you consider what is actually being done, which is casting points, why are these techniques called ray x instead of point x? If you cast a sphere you call it spherecasting, capsule -> capsulecasting, box -> boxcasting so on and so forth, yet if we're casting points they're called raycasting? None of these names match up to what is actually being done. Did someone just name these techniques once and noone bothered to correct it similarly how Native Americans are still being called Indians after hundreads of years?

  • @jamesrockford2626
    @jamesrockford2626 7 років тому +3

    are you from Boston?

    • @BobLaramee
      @BobLaramee  7 років тому +1

      James Rockford , yes well done.

    • @decrodedart2688
      @decrodedart2688 5 років тому

      James Rockford i live in Australia and I could tell haha

  • @lucaya
    @lucaya 8 років тому +3

    I was very impressed by this comparison.

    • @BobLaramee
      @BobLaramee  8 років тому

      Thanks. Happy Black Friday!

  • @webgpu
    @webgpu 4 роки тому +1

    This woman has more sideburns than myself!!!

    • @BobLaramee
      @BobLaramee  4 роки тому

      Profound. A sexy woman indeed.

    • @webgpu
      @webgpu 4 роки тому

      @@BobLaramee blergh! heheheheh!

  • @H3000-v7i
    @H3000-v7i 7 років тому +3

    Usually when comparing ray tracing with ray casting, its surface ray casing, which is something different. Should be a bit more clearly expressed.

    • @BobLaramee
      @BobLaramee  7 років тому

      Yes, that point could be clearer.

  • @BobLaramee
    @BobLaramee  9 років тому

    The introductory comments from the legendary Nelson Max from this course would be a big shock for any module in the UK!
    ua-cam.com/video/k9Nz2z1jTFQ/v-deo.html

  • @vladimirvasilev5796
    @vladimirvasilev5796 6 років тому +9

    Way too slow even on 1.5x. The information density is quite low, and trying desparately to hit the 10 minute mark

    • @BobLaramee
      @BobLaramee  6 років тому +2

      I'm a slow speaker.

    • @vraimonds
      @vraimonds 6 років тому

      Well at least there's a speed up option.

  • @BobLaramee
    @BobLaramee  9 років тому +2

    There certainly has been a lot of great work on lighting and shading for more realistic ray casting. This video describes just the basic, elementary idea(s), not the state-of-the-art in ray casting techniques.

    • @chinmaypatil5190
      @chinmaypatil5190 8 років тому

      Can you mention any good research papers or books where the state-of-the-art techniques are explained? And I can't thank you enough for this wonderfully short and succinct explanation of rendering techniques. Good job!

    • @BobLaramee
      @BobLaramee  8 років тому

      Thank you Chinmay. Are you looking for state-of-the-art in the ray tracing direction? Or ray casting. Because ray tracing is more in the CG direction. Ray casting in the vis. So the books and papers will be different.

    • @chinmaypatil5190
      @chinmaypatil5190 8 років тому

      DataVisBob i am looking for techniques in ray casting. Also, if it's not much of a pain, could you tell me what's your take on rendering techniques especially for VR? I have read papers using both tracing and casting, but I am not able to make out which one gives what advantages. For eg. latency is a big issue in VR and ray tracing, because of it's recursive nature, could result in more realistic renders at the cost of latency.

    • @BobLaramee
      @BobLaramee  8 років тому

      For more on state-of-the-art ray casting, I recommend a book called, Real-Time Volume Graphics by K Engel et al., AK Peters/CRC Press, 2006. ISBN-13: 978-1568812663
      As for VR rendering techniques, I am not an expert in VR. Perhaps one of our viewers could recommend a book? I'll post if I come across anything.

  • @SaurabhNair739
    @SaurabhNair739 7 років тому +1

    really great..second half is superb..thanx for this video

  • @antonykoshi7169
    @antonykoshi7169 7 років тому +1

    Can you explain ray casting in detail

    • @BobLaramee
      @BobLaramee  7 років тому

      Yes! ua-cam.com/video/X1BrR3MSSog/v-deo.html

  • @sujay2999
    @sujay2999 8 років тому +1

    Thanx a ton!

  • @BobLaramee
    @BobLaramee  9 років тому

    Look! An introduction to Ray Casting by non other then Ken Joy:
    ua-cam.com/video/Ahp6LDQnK4Y/v-deo.html

  • @chrischoir3594
    @chrischoir3594 4 роки тому +1

    Are you from Boston?