{"video_id":"0FMlPUEAZfs","title":"What is Ray Tracing?","channel":"Techquickie","show":"Techquickie","published_at":"2019-05-06T14:58:16Z","duration_s":323,"segments":[{"start_s":0.08,"end_s":5.2,"text":"thanks for watching techwiki click the subscribe button then enable","speaker":null,"is_sponsor":0},{"start_s":3.2,"end_s":8.96,"text":"notifications with the bell icon so you won't miss any future videos","speaker":null,"is_sponsor":0},{"start_s":7.6,"end_s":11.599,"text":"unless you're sitting in complete darkness i'd like for you to do me a","speaker":null,"is_sponsor":0},{"start_s":10.719,"end_s":18.08,"text":"favor take a look around the room you're in and notice a spot on the wall","speaker":null,"is_sponsor":0},{"start_s":15.839,"end_s":22.32,"text":"then draw a line out of your eyes towards that spot and then follow it on","speaker":null,"is_sponsor":0},{"start_s":20.48,"end_s":25.84,"text":"the angle that it would take towards the light source in your room","speaker":null,"is_sponsor":0},{"start_s":24.24,"end_s":30.24,"text":"congratulations you've just done the same thing that","speaker":null,"is_sponsor":0},{"start_s":27.359,"end_s":33.92,"text":"happens in ray tracing a graphics rendering technique that's been in the","speaker":null,"is_sponsor":0},{"start_s":31.84,"end_s":38.96,"text":"tech news quite a bit lately on the heels of the launch of NVIDIA's touring","speaker":null,"is_sponsor":0},{"start_s":36.0,"end_s":44.239,"text":"family of gpus which tout real time ray tracing as a way to get better looking","speaker":null,"is_sponsor":0},{"start_s":41.36,"end_s":49.44,"text":"games but what exactly is ray tracing well to understand ray tracing it helps","speaker":null,"is_sponsor":0},{"start_s":46.48,"end_s":53.92,"text":"to know why it's considered a step up from the traditional method by which","speaker":null,"is_sponsor":0},{"start_s":51.2,"end_s":57.28,"text":"games draw or render scenes onto your screen","speaker":null,"is_sponsor":0},{"start_s":55.039,"end_s":60.719,"text":"most games today use a technique called rasterization","speaker":null,"is_sponsor":0},{"start_s":58.48,"end_s":66.32,"text":"where the game code will direct your GPU to draw a 3d scene with polygons","speaker":null,"is_sponsor":0},{"start_s":64.32,"end_s":70.479,"text":"these two-dimensional shapes usually triangles make up most of the visual","speaker":null,"is_sponsor":0},{"start_s":68.64,"end_s":75.84,"text":"elements that you see after the scene is drawn it gets","speaker":null,"is_sponsor":0},{"start_s":72.64,"end_s":78.4,"text":"translated or rasterized into individual","speaker":null,"is_sponsor":0},{"start_s":75.84,"end_s":84.159,"text":"pixels which are then processed by a shader which affects colors textures and","speaker":null,"is_sponsor":0},{"start_s":81.439,"end_s":88.799,"text":"lighting effects on a per pixel basis to give you a fully rendered frame then you","speaker":null,"is_sponsor":0},{"start_s":86.64,"end_s":92.24,"text":"do this 30 or 60 times per second depending who you ask and you've got","speaker":null,"is_sponsor":0},{"start_s":90.4,"end_s":95.68,"text":"yourself a fully responsive video game to enjoy","speaker":null,"is_sponsor":0},{"start_s":93.52,"end_s":101.119,"text":"but while rasterization has served us well for a long time trying to","speaker":null,"is_sponsor":0},{"start_s":98.159,"end_s":106.56,"text":"approximate an image by translating 3d shapes onto a 2d screen and then using","speaker":null,"is_sponsor":0},{"start_s":104.079,"end_s":111.2,"text":"shaders to estimate what the lighting should be has inherent limitations","speaker":null,"is_sponsor":0},{"start_s":109.36,"end_s":116.56,"text":"because this method of rendering has a hard time tracking exactly how light","speaker":null,"is_sponsor":0},{"start_s":114.32,"end_s":120.719,"text":"should travel and bounce within a certain scene","speaker":null,"is_sponsor":0},{"start_s":118.159,"end_s":124.96,"text":"ray tracing does a much better job of this and you've actually probably been","speaker":null,"is_sponsor":0},{"start_s":122.479,"end_s":128.8,"text":"enjoying it without knowing it for years if you've gone to any recent movie that","speaker":null,"is_sponsor":0},{"start_s":126.88,"end_s":133.44,"text":"features cgi effects what made this possible in movies though","speaker":null,"is_sponsor":0},{"start_s":131.12,"end_s":139.92,"text":"is that big budget productions have the luxury of lots of money to render those","speaker":null,"is_sponsor":0},{"start_s":136.8,"end_s":142.64,"text":"effects on large server farms a process","speaker":null,"is_sponsor":0},{"start_s":139.92,"end_s":147.68,"text":"that can take months and uses much more computationally intensive techniques","speaker":null,"is_sponsor":0},{"start_s":144.64,"end_s":149.599,"text":"with many bounces for each photons and a","speaker":null,"is_sponsor":0},{"start_s":147.68,"end_s":154.4,"text":"huge number of light rays coming from each source just check out this still","speaker":null,"is_sponsor":0},{"start_s":151.84,"end_s":158.879,"text":"life created with a ray tracing program you would be forgiven for thinking that","speaker":null,"is_sponsor":0},{"start_s":156.16,"end_s":162.319,"text":"it is a real photograph at first glance okay so ray tracing is amazing right","speaker":null,"is_sponsor":0},{"start_s":160.64,"end_s":167.76,"text":"let's use it for everything well not quite the downside of ray","speaker":null,"is_sponsor":0},{"start_s":164.64,"end_s":170.08,"text":"tracing is the computational cost and","speaker":null,"is_sponsor":0},{"start_s":167.76,"end_s":174.879,"text":"the average 20 something gaming at home doesn't have millions of dollars or a","speaker":null,"is_sponsor":0},{"start_s":172.48,"end_s":180.08,"text":"rendering server and on top of that games have to be rendered at at least 25","speaker":null,"is_sponsor":0},{"start_s":177.519,"end_s":185.44,"text":"or so frames per second not one frame per day as has been the case in some","speaker":null,"is_sponsor":0},{"start_s":182.4,"end_s":187.84,"text":"pixar films so instead of tracking","speaker":null,"is_sponsor":0},{"start_s":185.44,"end_s":192.56,"text":"however many trillions of rays that come from each light source consumer grade","speaker":null,"is_sponsor":0},{"start_s":190.239,"end_s":197.92,"text":"ray tracing lessens the computational load by instead tracing a path from a","speaker":null,"is_sponsor":0},{"start_s":195.68,"end_s":204.08,"text":"virtual camera that represents the user's eyes through a single pixel then","speaker":null,"is_sponsor":0},{"start_s":201.36,"end_s":206.879,"text":"to whatever object is behind that pixel and finally back to the inseam light","speaker":null,"is_sponsor":0},{"start_s":205.92,"end_s":212.0,"text":"source for added realism if whatever that ray","speaker":null,"is_sponsor":0},{"start_s":209.28,"end_s":216.64,"text":"bounced off of absorbs or diffuses the light like a rough rock or a tree trunk","speaker":null,"is_sponsor":0},{"start_s":214.56,"end_s":221.44,"text":"the ray tracing algorithm can take these additional rays of light into account as","speaker":null,"is_sponsor":0},{"start_s":218.799,"end_s":225.599,"text":"well so that any refraction effects or shadows are displayed accurately","speaker":null,"is_sponsor":0},{"start_s":223.84,"end_s":230.08,"text":"and because lighting is such an important aspect of achieving a","speaker":null,"is_sponsor":0},{"start_s":227.28,"end_s":235.68,"text":"convincing 3d render once this process is completed for each pixel your GPU can","speaker":null,"is_sponsor":0},{"start_s":232.959,"end_s":240.48,"text":"throw out some insanely detailed images like any new GPU feature though it'll","speaker":null,"is_sponsor":0},{"start_s":237.76,"end_s":244.48,"text":"come down to industry support now on the hardware side given AMD's professional","speaker":null,"is_sponsor":0},{"start_s":242.56,"end_s":249.519,"text":"grade ray tracing solutions we'll probably see both teams add support in","speaker":null,"is_sponsor":0},{"start_s":246.48,"end_s":250.48,"text":"the future as for the game developers","speaker":null,"is_sponsor":0},{"start_s":249.519,"end_s":256.32,"text":"well there's no guarantee so all we can really do is hope that you won't end up","speaker":null,"is_sponsor":0},{"start_s":254.4,"end_s":259.6,"text":"paying a premium for some feature that you'll never actually use","speaker":null,"is_sponsor":0},{"start_s":258.079,"end_s":263.919,"text":"like that time that you were planning to get ripped on your new wii fit","speaker":null,"is_sponsor":0},{"start_s":262.479,"end_s":267.68,"text":"speaking of things you'll actually use check out private internet access not","speaker":null,"is_sponsor":0},{"start_s":265.919,"end_s":271.68,"text":"only does private internet access work on up to five devices at once hiding","speaker":null,"is_sponsor":0},{"start_s":269.919,"end_s":275.199,"text":"your true ip address and allowing you to bypass geo restrictions and censorship","speaker":null,"is_sponsor":0},{"start_s":273.6,"end_s":279.04,"text":"by making you appear as though you are connecting from somewhere else it also","speaker":null,"is_sponsor":0},{"start_s":277.12,"end_s":283.36,"text":"blocks unwanted connections to help prevent attacks autoblocks all traffic","speaker":null,"is_sponsor":0},{"start_s":281.6,"end_s":287.759,"text":"if the vpn disconnects it keeps your data out of the hands of advertisers and","speaker":null,"is_sponsor":0},{"start_s":285.04,"end_s":292.4,"text":"other snoops and even includes mace pia's built-in malware blocker pia","speaker":null,"is_sponsor":0},{"start_s":290.32,"end_s":295.52,"text":"supports multiple vpn protocols and encryption levels allowing you to dial","speaker":null,"is_sponsor":0},{"start_s":294.0,"end_s":300.08,"text":"in the exact level of protection you need they've got apps for Windows mac","speaker":null,"is_sponsor":0},{"start_s":297.68,"end_s":305.52,"text":"Android iOS Linux and a chrome extension and they've got over 3 000 servers in 28","speaker":null,"is_sponsor":0},{"start_s":302.24,"end_s":307.84,"text":"countries with no user activity logs so","speaker":null,"is_sponsor":0},{"start_s":305.52,"end_s":310.4,"text":"check them out at the link below so thanks for watching guys like dislike","speaker":null,"is_sponsor":0},{"start_s":309.28,"end_s":315.759,"text":"check out our other videos don't forget to leave a comment with video suggestions don't forget to","speaker":null,"is_sponsor":0},{"start_s":313.919,"end_s":319.28,"text":"subscribe don't forget to follow don't forget to hit the bell","speaker":null,"is_sponsor":0},{"start_s":317.44,"end_s":324.479,"text":"people be like i didn't forget to hit the bell","speaker":null,"is_sponsor":0},{"start_s":321.039,"end_s":324.479,"text":"i didn't want to","speaker":null,"is_sponsor":0}],"full_text":"thanks for watching techwiki click the subscribe button then enable notifications with the bell icon so you won't miss any future videos unless you're sitting in complete darkness i'd like for you to do me a favor take a look around the room you're in and notice a spot on the wall then draw a line out of your eyes towards that spot and then follow it on the angle that it would take towards the light source in your room congratulations you've just done the same thing that happens in ray tracing a graphics rendering technique that's been in the tech news quite a bit lately on the heels of the launch of NVIDIA's touring family of gpus which tout real time ray tracing as a way to get better looking games but what exactly is ray tracing well to understand ray tracing it helps to know why it's considered a step up from the traditional method by which games draw or render scenes onto your screen most games today use a technique called rasterization where the game code will direct your GPU to draw a 3d scene with polygons these two-dimensional shapes usually triangles make up most of the visual elements that you see after the scene is drawn it gets translated or rasterized into individual pixels which are then processed by a shader which affects colors textures and lighting effects on a per pixel basis to give you a fully rendered frame then you do this 30 or 60 times per second depending who you ask and you've got yourself a fully responsive video game to enjoy but while rasterization has served us well for a long time trying to approximate an image by translating 3d shapes onto a 2d screen and then using shaders to estimate what the lighting should be has inherent limitations because this method of rendering has a hard time tracking exactly how light should travel and bounce within a certain scene ray tracing does a much better job of this and you've actually probably been enjoying it without knowing it for years if you've gone to any recent movie that features cgi effects what made this possible in movies though is that big budget productions have the luxury of lots of money to render those effects on large server farms a process that can take months and uses much more computationally intensive techniques with many bounces for each photons and a huge number of light rays coming from each source just check out this still life created with a ray tracing program you would be forgiven for thinking that it is a real photograph at first glance okay so ray tracing is amazing right let's use it for everything well not quite the downside of ray tracing is the computational cost and the average 20 something gaming at home doesn't have millions of dollars or a rendering server and on top of that games have to be rendered at at least 25 or so frames per second not one frame per day as has been the case in some pixar films so instead of tracking however many trillions of rays that come from each light source consumer grade ray tracing lessens the computational load by instead tracing a path from a virtual camera that represents the user's eyes through a single pixel then to whatever object is behind that pixel and finally back to the inseam light source for added realism if whatever that ray bounced off of absorbs or diffuses the light like a rough rock or a tree trunk the ray tracing algorithm can take these additional rays of light into account as well so that any refraction effects or shadows are displayed accurately and because lighting is such an important aspect of achieving a convincing 3d render once this process is completed for each pixel your GPU can throw out some insanely detailed images like any new GPU feature though it'll come down to industry support now on the hardware side given AMD's professional grade ray tracing solutions we'll probably see both teams add support in the future as for the game developers well there's no guarantee so all we can really do is hope that you won't end up paying a premium for some feature that you'll never actually use like that time that you were planning to get ripped on your new wii fit speaking of things you'll actually use check out private internet access not only does private internet access work on up to five devices at once hiding your true ip address and allowing you to bypass geo restrictions and censorship by making you appear as though you are connecting from somewhere else it also blocks unwanted connections to help prevent attacks autoblocks all traffic if the vpn disconnects it keeps your data out of the hands of advertisers and other snoops and even includes mace pia's built-in malware blocker pia supports multiple vpn protocols and encryption levels allowing you to dial in the exact level of protection you need they've got apps for Windows mac Android iOS Linux and a chrome extension and they've got over 3 000 servers in 28 countries with no user activity logs so check them out at the link below so thanks for watching guys like dislike check out our other videos don't forget to leave a comment with video suggestions don't forget to subscribe don't forget to follow don't forget to hit the bell people be like i didn't forget to hit the bell i didn't want to"}