{"id":138,"date":"2010-01-03T01:14:13","date_gmt":"2010-01-03T01:14:13","guid":{"rendered":"https:\/\/deepubalan.com\/blog\/?p=138"},"modified":"2013-04-02T06:30:43","modified_gmt":"2013-04-02T06:30:43","slug":"pov-ray-the-power-of-ray-tracing","status":"publish","type":"post","link":"https:\/\/deepubalan.com\/blog\/2010\/01\/03\/pov-ray-the-power-of-ray-tracing\/","title":{"rendered":"POV-Ray : The Power of Ray Tracing"},"content":{"rendered":"<div class=\"imgborder\">\nHave a look at the below photograph of a busy city, Just click on it and open the larger version and see the details.<\/p>\n<p><a rel=\"nofollow\" href=\"http:\/\/www.oyonale.com\/images\/3D\/mouille.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-158\" title=\"The Wet Bird - by Gilles Tran (2001)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-12.jpg\" alt=\"The Wet Bird - by Gilles Tran (2001)\" width=\"400\" height=\"533\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-12.jpg 400w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-12-225x300.jpg 225w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Would you believe me if I tell you that it&#8217;s an artificial graphic created with the help of a computer program, by applying millions and even billions of complex mathematical calculations? Believe me it&#8217;s pure mathematics which rules over creativity and in-born talents like ability to paint, draw or sculpt. This wonderful mathematical model is called Ray-Tracing.<br \/>\n<br \/>[ad#ad-3]<\/p>\n<h2>What is Ray-Tracing?<\/h2>\n<p>Ray-tracing is a method of creating visual art in which a description of an object or scene is mathematically converted into a picture. In more specific terms, ray-tracing is the process of mathematically generating near-photorealistic images from a given description of a scene via geometrical modeling of light rays.<br \/>\nOne of the most important factors which I believe about computer based ray-tracing over traditional art forms is that it does not require in-born talents like drawing or painting skills which in some cases requires years of hard work to master, but here it places the burden on a computer program called POV-Ray.<\/p>\n<h2>So, what is POV-Ray?<\/h2>\n<p>The <strong>Persistence of Vision Raytracer<\/strong>, or <strong>POV-Ray<\/strong>, is a high-quality, freely available ray-tracing software package that is available for Windows, Mac and UNIX platforms. Yes of course, it\u2019s free! If you&#8217;re a programmer interested in POV-Ray, you can even pick up a copy of the source code without charge. POV-Ray is definitely one of the most commonly used ray-tracing software to date, because of its relative ease of use and powerful features.<\/p>\n<p>Instead of calling it a software, POV-Ray is more of a rendering engine, which means it takes a file as an input and gives the output after rendering it without much help in the way of a user interface.<br \/>\nDescribing scenes to POV-Ray is fairly simple. We give POV-Ray, a file containing a description of every object in the scene, written in the POV-Ray language (<a href=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-code.txt\" target=\"_blank\"><strong>Click Here<\/strong><\/a> to see a sample piece of POV-Ray code). Each object&#8217;s description consists of:<\/p>\n<p>1.\tWhat type of object you want (one of POV-Ray&#8217;s simple objects or one you&#8217;ve created yourself); and<br \/>\n2.\tVarious attributes of the object (its color, how it reflects light, etc).<\/p>\n<p>POV-Ray takes this file and generates a picture, which you can then view.<br \/>\n<br \/>[ad#ad-1]<\/p>\n<h2>Some more samples<\/h2>\n<p>Please go through some amazing ray-traced images&nbsp; created with POV-Ray. Click on these images to view it&#8217;s larger version.<\/p>\n<p style=\"text-align: center;\"><a rel=\"nofollow\" href=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/e\/ec\/Glasses_800_edit.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-164\" title=\"Glasses - created by Gilles Tran\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-13.jpg\" alt=\"Glasses - created by Gilles Tran\" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-13.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-13-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><a rel=\"nofollow\" href=\"http:\/\/hof.povray.org\/images\/kitchen.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-164\" title=\"The Kitchen - by Jaime Vives Piqueres (2005)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-9.jpg\" alt=\"The Kitchen&quot; by Jaime Vives Piqueres (2005)\" width=\"530\" height=\"250\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p style=\"text-align: center;\"><a rel=\"nofollow\" href=\"http:\/\/www.ignorancia.org\/uploads\/images\/boltstill\/boltstill3.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-140\" title=\"Still with Bolts - by Jaime Vives Piqueres (2002)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-2.jpg\" alt=\"pov-ray-2\" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-2.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-2-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p><a rel=\"nofollow\" href=\"http:\/\/hof.povray.org\/images\/DistantShores.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-148\" title=\"Distant Shores - by Christoph Gerber (2003)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-10.jpg\" alt=\"Distant Shores - by Christoph Gerber (2003)\" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-10.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-10-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><a rel=\"nofollow\" href=\"http:\/\/www.oyonale.com\/images\/3D\/appel_1.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"Call of the Wild - by Gilles Tran (2001)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-7.jpg\" alt=\"Call of the Wild - by Gilles Tran (2001)\" width=\"530\" height=\"250\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><a rel=\"nofollow\" href=\"http:\/\/hof.povray.org\/images\/pebbles.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-139\" title=\"Pebbles - by Jonathan Hunt (2008)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-1.jpg\" alt=\"Pebbles - by Jonathan Hunt (2008)\" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-1.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-1-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><a rel=\"nofollow\" href=\"http:\/\/hof.povray.org\/images\/River.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-144\" title=\"Evening at the River - by Christoph Gerber (2002 and 2004)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-6.jpg\" alt=\"Evening at the River - by Christoph Gerber (2002 and 2004)\" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-6.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-6-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><a rel=\"nofollow\" href=\"http:\/\/www.ignorancia.org\/uploads\/images\/patio\/patio.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-142\" title=\"Patio - by Jaime Vives Piqueres (2003)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-4.jpg\" alt=\"Patio - by Jaime Vives Piqueres (2003)\" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-4.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-4-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><a rel=\"nofollow\" href=\"http:\/\/hof.povray.org\/images\/indoor_aqueduct.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-141\" title=\"Indoor Aqueduct - by Samuel Benge (2002) \" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-3.jpg\" alt=\"Indoor Aqueduct - by Samuel Benge (2002) \" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-3.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-3-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><a rel=\"nofollow\" href=\"http:\/\/hof.povray.org\/images\/autobahn-050501-2.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-146\" title=\"Autobahn WIP - by Jaime Vives Piqueres (2005)\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-8.jpg\" alt=\"Autobahn WIP - by Jaime Vives Piqueres (2005)\" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-8.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-8-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><a rel=\"nofollow\" href=\"http:\/\/www.povray.org\/i\/hof\/12b.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-143\" title=\"Virtual Joy of Life - \u00a9 Tom Aust (2002) \" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-5.jpg\" alt=\"Virtual Joy of Life - \u00a9 Tom Aust (2002) \" width=\"530\" height=\"250\" srcset=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-5.jpg 530w, https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/01\/pov-ray-5-300x141.jpg 300w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>I\u2019m sure, if you are a graphic geek you will definitely look for the POV-Ray download link now. Here it is&#8230;<\/p>\n<h2>Download and Install POV-Ray<\/h2>\n<p>The latest version of POV-Ray can always be found at <a rel=\"nofollow\" title=\"Download POV-Ray\" href=\"http:\/\/povray.org\/download\/\" target=\"_blank\">http:\/\/povray.org\/download\/<\/a> You will have to download the correct version for your computer (there are versions available for most operating systems) and to set it up. The current official version of POV-Ray for the Windows platform is 3.6.2, which was released on 1 June 2009.<br \/>\n<br \/>[ad#ad-3]<\/p>\n<h2>Conclusion<\/h2>\n<p>Now don&#8217;t think that creating a photo-realistic image using POV-Ray is as simple as creating an image using photoshop. For example, the beach pebbles picture shown above took 4.5 days to render on an Athlon 5600+. In their journey, the light rays can be reflected by mirrors, refracted by glass, or undergo various other contortions, all of which result in a single pixel of the final image. Because the ray-tracing software must trace one ray of light for each pixel in the output image, and because the light rays can undergo so many contortions, the process of ray-tracing can take a very long time, depending on the size and complexity of the image and the processing power of your computer. Unless you have an extraordinarily fast computer, you will most likely find yourself waiting around impatiently for your scene to finish rendering once you&#8217;ve begun to ray-trace. POV-Ray is unique and special because of its ray-tracing abilities and powerful Libraries. It requires real passion towards mathematical modeling and continuous hard-work to master this great tool. At the same time its pointless to compare POV-Ray with modern 3D tools with glossy UI. <\/p>\n<h2>Further Reading<\/h2>\n<p>http:\/\/en.wikipedia.org\/wiki\/POV-Ray<br \/>\nhttp:\/\/en.wikipedia.org\/wiki\/Ray_tracing_(graphics)<br \/>\nhttp:\/\/www.povray.org\/documentation\/view\/3.6.0\/7\/<br \/>\nhttp:\/\/hof.povray.org\/\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Have a look at the below photograph of a busy city, Just click on it and open the larger version and see the details. Would you believe me if I&#8230;<\/p>\n","protected":false},"author":1,"featured_media":139,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[32],"tags":[284,30,31],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/posts\/138"}],"collection":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":0,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/media\/139"}],"wp:attachment":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}