<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-21754758</id><updated>2009-11-08T11:16:56.864-08:00</updated><title type='text'>POVMAN</title><subtitle type='html'>POV-Ray stuff from a part time POVver.  Are you a POVMAN?</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://povman.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default?start-index=26&amp;max-results=25'/><author><name>POV Bloke</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-21754758.post-115191214164897074</id><published>2006-07-03T00:32:00.000-07:00</published><updated>2006-07-03T00:35:41.656-07:00</updated><title type='text'>Roofing Tiles</title><content type='html'>I was after a pattern to represent roof tiles.  I've tried the cells pattern before but is was never quite what it wanted.  Here's what I came up with...&lt;br /&gt;&lt;br /&gt;#include "colors.inc"&lt;br /&gt;camera { location &lt;15,20,-30&gt;  look_at &lt;0,0,0&gt;}&lt;br /&gt;light_source{&lt;-50, 100, -50&gt;color White}&lt;br /&gt;background { color &lt;0.25,0.35,0.80&gt; } &lt;br /&gt;#declare myPatt = function(x,y,z){(y - int(y)) - (int(x)/2)};&lt;br /&gt;box{&lt;-10,-10,-10&gt;,&lt;10,10,10&gt;&lt;br /&gt;rotate &lt;45,0,0&gt;&lt;br /&gt;texture {&lt;br /&gt;pigment {    function {myPatt(x,y,z)} pigment_map{[0 White][1 Black]}} scale 2 translate &lt;10,0,0&gt;} &lt;br /&gt; }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-115191214164897074?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/115191214164897074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=115191214164897074' title='32 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/115191214164897074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/115191214164897074'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/07/roofing-tiles.html' title='Roofing Tiles'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>32</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-115045978784177763</id><published>2006-06-16T05:03:00.000-07:00</published><updated>2006-06-16T05:09:47.853-07:00</updated><title type='text'>Pigment Pattern Isosurface</title><content type='html'>I was looking through the "functions.inc" file the other night when I  noticed that a function can be based on a evaluating a pigment.  I knew you could create a pigment based on the object pattern, so...&lt;br /&gt;&lt;br /&gt;I thought it might be possible to create an isosurface that evaluates an object pattern pigment.&lt;br /&gt;&lt;br /&gt;A quick question on the news groups and the kind people there told me it would be possible but slow.&lt;br /&gt;&lt;br /&gt;So I can now build a complex CSG shape, put it in an object pattern pigment, put that in a function and have an isosurface built to my specs.&lt;br /&gt;&lt;br /&gt;But!, you ask , why would you do that if it's slow and you have already buit the shape in CSG?  The answer is that I could add noise to the pattern.  This might work well for a weathered statue.  So I'll be giving this a try in the next couple of days, and let you know how it turns out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-115045978784177763?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/115045978784177763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=115045978784177763' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/115045978784177763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/115045978784177763'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/06/pigment-pattern-isosurface.html' title='Pigment Pattern Isosurface'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-115027215665639572</id><published>2006-06-14T00:54:00.000-07:00</published><updated>2006-06-14T01:02:36.666-07:00</updated><title type='text'>Clipping</title><content type='html'>Interesting side affect of using the "clipped_by".  I had an object thatwas made up of a Cylinder and two spheres, I wanted to chop off the front edge, and on a whim I decided to use the "clipped_by / bounded_by" method discussed in the manual.&lt;br /&gt;&lt;br /&gt;Rather than just shearing the front of the object as I expected it cut the object open, exposing the interior of the shape. &lt;br /&gt;&lt;br /&gt;The more normal method of using a "difference" does not expose the inside.&lt;br /&gt;&lt;br /&gt;This might be worth experimenting with!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-115027215665639572?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/115027215665639572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=115027215665639572' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/115027215665639572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/115027215665639572'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/06/clipping.html' title='Clipping'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114984051674581446</id><published>2006-06-09T01:02:00.000-07:00</published><updated>2006-06-09T01:09:38.176-07:00</updated><title type='text'>Aspect Ratio</title><content type='html'>A Little known ( or at least little used ) feature of the camera is the Aspect ratio. I've used this in the past when I've rendered a non-standard size image. If you make and extra wide image you have to widen the aspect ratio or the image gets deformed.&lt;br /&gt;&lt;br /&gt;Anyway, last night I actually used the aspect ratio to create an effect rather than avoid one.&lt;br /&gt;&lt;br /&gt;I placed the camera close to the nose of a sheep. By playing with the aspect ratio I was able to get one of these "HUGE NOSE" shots you sometimes see on TV. There are other ways to get the same effect by changing the camera type for instance. However as POV-Ray is an ongoing learning experience every idea is a new arrow for your bow.&lt;br /&gt;&lt;br /&gt;To change the aspet ratio, include the "up" and "right" settings in your camera block.&lt;br /&gt;&lt;br /&gt;up &lt;0,1,0&gt; right &lt;1,0,0&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114984051674581446?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114984051674581446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114984051674581446' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114984051674581446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114984051674581446'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/06/aspect-ratio.html' title='Aspect Ratio'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114923351405810949</id><published>2006-06-02T00:23:00.000-07:00</published><updated>2006-06-02T00:31:54.066-07:00</updated><title type='text'>Clouds Macro</title><content type='html'>I'm currently working on a macro to produce clouds.  It s not finished yet so I cant post anything but you might find the principal interesting.&lt;br /&gt;&lt;br /&gt;Currently I pass the macro a Size,Count, Samples,Seed and Flat-Bottom parameters.&lt;br /&gt;&lt;br /&gt;Size is the length of the side of a box in which the could will appear ( the macro returns a box with a cloud in it).&lt;br /&gt;&lt;br /&gt;Count is used to produce a blob made with a number of spheres equal to the count.  This Blob is then used in an object pattern media statement in the box.&lt;br /&gt;&lt;br /&gt;Samples is the number of samples used by the media.&lt;br /&gt;&lt;br /&gt;Seed is the random seed value used by macro to place blob elements.&lt;br /&gt;&lt;br /&gt;Flat-Bottom if true, is used used to move most of the blob spheres in the bottom third of the box, upwards, in effect flattening the bottom of the cloud.&lt;br /&gt;&lt;br /&gt;Overall its going quite well.  But sadly as media takes so long to render the macro is going to take a lot of effort to perfect.  I will post it when finished.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114923351405810949?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114923351405810949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114923351405810949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114923351405810949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114923351405810949'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/06/clouds-macro.html' title='Clouds Macro'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114836992045920627</id><published>2006-05-23T00:32:00.000-07:00</published><updated>2006-05-23T00:38:40.470-07:00</updated><title type='text'>Tilting the Camera</title><content type='html'>POV-Ray by default tries to keep the camera level in the x-z plane, which keeps your images "upright".  Well, in the image mentioned in the previous post I wanted a creepy camera angle so I deliberately tilted the camera.&lt;br /&gt;&lt;br /&gt;camera  {        location  &lt;4,7,-35&gt; rotate z*5       &lt;br /&gt;look_at   &lt;0,&gt;        }&lt;br /&gt;&lt;br /&gt;There you are, nice and simple, a 5 degree tilt on the camera.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114836992045920627?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114836992045920627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114836992045920627' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114836992045920627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114836992045920627'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/05/tilting-camera.html' title='Tilting the Camera'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114829897073443154</id><published>2006-05-22T04:38:00.000-07:00</published><updated>2006-05-22T05:02:21.493-07:00</updated><title type='text'>Fire</title><content type='html'>Well I've just posted my latest image in the news group that included lots of burning flames, look for "My Basement".&lt;br /&gt;&lt;br /&gt;&lt;a href="http://news.povray.org/povray.binaries.images/"&gt;http://news.povray.org/povray.binaries.images/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These were done with media, and as media is such a P.I.T.A. I thought I'd post the code here with some info about what its doing. Hopefully anyone reading this will find it helpful.&lt;br /&gt;difference {&lt;br /&gt;sphere { &lt;0,0,0&gt;, 1 }&lt;br /&gt;box { &lt;4,0,4&gt;, &lt;-4,-4,-4&gt; }&lt;br /&gt;hollow&lt;br /&gt;scale &lt;2,20,2&gt;&lt;br /&gt;interior {&lt;br /&gt;media {&lt;br /&gt;intervals 5&lt;br /&gt;samples 5&lt;br /&gt;emission .6&lt;br /&gt;density {&lt;br /&gt;spherical&lt;br /&gt;scale &lt;3,20,3&gt;&lt;br /&gt;warp {&lt;br /&gt;turbulence &lt;.8,.07,.05&gt;&lt;br /&gt;}&lt;br /&gt;density_map {&lt;br /&gt;[0 rgb 0]&lt;br /&gt;[.5 rgb 0]&lt;br /&gt;[.6 rgb Orange]&lt;br /&gt;[.7 color Yellow]&lt;br /&gt;[.8 color Yellow]&lt;br /&gt;[.9 color White]&lt;br /&gt;[1 color White ]&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;texture {&lt;br /&gt;pigment {&lt;br /&gt;Clear&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;translate &lt;0,5,0&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The Explanation.&lt;br /&gt;&lt;br /&gt;I decided to create the burning flame inside a sphere, but as the flame is sitting in a dish in the final scene I used the difference to cut off the bottom of the sphere.&lt;br /&gt;&lt;br /&gt;The Object has to be "hollow" to show the media.&lt;br /&gt;&lt;br /&gt;The CSG is stretched vertically so that the flame can be tall. Note stretching the containing CSG will not effect the shape of the media!&lt;br /&gt;&lt;br /&gt;Intervals and samples are set fairly low to speed rendering, increase these for final render. If you set these lower then the media becomes blocky, as if its made of layers. (YUK!)&lt;br /&gt;&lt;br /&gt;emission is set to .6 so that the flames will be transparent, if set to 1 then the flame would appear solid.&lt;br /&gt;&lt;br /&gt;The pattern dor the density is "spherical" basicly the overall shape I want is a stretched sphere so that from above the flame is round, and from the side, taller than it is wide.&lt;br /&gt;&lt;br /&gt;The sphereical pattern is then stretched up and down to make the flame taller rather than a round ball.&lt;br /&gt;&lt;br /&gt;The Warp is used to turbulate the pattern. Without this the media would appear as a perfect ball, that had been stretched by the scale statement above.&lt;br /&gt;&lt;br /&gt;The density map is the trick. This defines the colors used in the flame. Density 1 represents the center of the pattern (sphere) and density 0 is outside the ball. Note here the useage of the "rgb 0", this is effectively no color, that is transparent. This is used to prevent the flames reaching the edge of the containg CSG. the flames would be cut off by the edge of CSG, so this needs to be prevented. Alternatively you could scale the pattern down.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114829897073443154?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114829897073443154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114829897073443154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114829897073443154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114829897073443154'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/05/fire.html' title='Fire'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114741967601396399</id><published>2006-05-12T00:36:00.000-07:00</published><updated>2006-06-01T05:17:22.010-07:00</updated><title type='text'>Missile Source Code</title><content type='html'>I've recently donw a scene of a missile in flight. I've posted the SDL below, but knowing this Blog software it wont be formatted correctly, but there you go. You can get a better copy of the SDL over at the POV-Ray news groups, link on the right. There are a few interesting points I can raise about the resulting code, but I'll mention these in later posts ( if I remember )&lt;br /&gt;&lt;br /&gt;To Note (note to self) my first ever use of light_group and object pattern media.&lt;br /&gt;&lt;br /&gt;#include "colors.inc"&lt;br /&gt;#include "glass.inc"&lt;br /&gt;#include "stars.inc"&lt;br /&gt;#include "shapes.inc"&lt;br /&gt;#include "functions.inc"&lt;br /&gt;#declare showFire = true;&lt;br /&gt;#declare showSmoke = true;&lt;br /&gt;camera {&lt;br /&gt;// location &lt;0,0,-25&gt;// look_at &lt;10,&gt;&lt;br /&gt;location &lt;-40,-25,-25&gt; look_at &lt;0,&gt;&lt;br /&gt;// location &lt;0,20,-1&gt;// look_at &lt;0,&gt;&lt;br /&gt;}&lt;br /&gt;global_settings {max_trace_level 12 }&lt;br /&gt;light_source { &lt;-500, 2000, -500&gt; color White&lt;br /&gt;//area_light &lt;50,0,0&gt;,&lt;0,0,50&gt; 3,3&lt;br /&gt;//jitter&lt;br /&gt;//adaptive 1 media_interaction on media_attenuation on }&lt;br /&gt;background { color &lt;0.25,0.35,0.80&gt; }&lt;br /&gt;light_group {&lt;br /&gt;union {&lt;br /&gt;// sensor&lt;br /&gt;box { &lt;0,&gt;, &lt;-.1, -.2, -.2&gt;&lt;br /&gt;texture { pigment { leopard scale &lt;20,.01,.01&gt; pigment_map { [0 Orange*1.2] [.099 Orange*1.2] [.1 Black] [1 Black] } } finish { specular .1 roughness .001 ambient 0 } } } // glass sphere sphere { &lt;0,0,0&gt;,.4 scale &lt;.7,1,1&gt; interior{ ior 1.4 } texture { pigment { //Clear rgbt &lt;0.858824,0.576471,0.439216,.9&gt; } finish { specular .5 roughness .1 reflection { 0..5 } ambient 0 } } } // missile body union { cone { &lt;0,0,0&gt;,.5, &lt;3,0,0&gt;,1 } cylinder{ &lt;3,0,0&gt;, &lt;9,0,0&gt;,1 } cone { &lt;9,0,0&gt;,1, &lt;13.5,0,0&gt;,1.4 } cylinder{ &lt;13.5,0,0&gt;, &lt;20,0,0&gt;,1.4 } cone { &lt;20,0,0&gt;,1.4, &lt;21.5,0,0&gt;,1 } #declare r1 = 0; #while(r1 &lt;&gt;,&lt;1,0&gt;,&lt;1,.8&gt; rotate &lt;-90,0,0&gt; translate &lt;4,1,0&gt; rotate &lt;r1*90,0,0&gt;scale 1 } #declare r1 = r1 + 1; #end #declare r1 = 0; #while(r1 &lt;&gt;,&lt;5,0&gt;,&lt;5.2,.8&gt;,&lt;4.9,1.8&gt;,&lt;2,1.8&gt; rotate &lt;-90,0,0&gt; translate &lt;14,1.4,0&gt; rotate &lt;r1*90,0,0&gt;scale 1 } #declare r1 = r1 + 1; #end texture { pigment { White *1.5 }//*1.5 finish { specular .2 roughness 0.001 ambient 0 } normal { bumps scale .0001 bump_size .01 } } } translate &lt;-21.5,0,0&gt; rotate &lt;30,0,0&gt; }&lt;br /&gt;#if(showSmoke = true)// smoke oject #declare pObject = union { cone { &lt;2,0,0&gt;,0, &lt;15,0,0&gt;,2 } cylinder{ &lt;15,0,0&gt;, &lt;1000,0,0&gt;,2 } };&lt;br /&gt;//smoke trail cylinder { &lt;2,0,0&gt; &lt;1000,0,0&gt;, 4 hollow interior { media { intervals 5 //5 higher slows it up and gives smoother images samples 5 //5 lower = more blocky method 3 absorption 0.2 scattering { 1,color Gray25 extinction .4//1.2 //amount of above color subtracted as it passes through, darkens the cloud } density { pigment_pattern { object {pObject}} // pattern of the media warp { turbulence &lt;.5,1,1&gt; } color_map { [0 rgb 0] [.45 rgb 0] [.5 rgb 1] [1 rgb 1] } } } } texture { pigment { Clear } } }#end&lt;br /&gt;#if(showFire = true)//jet exhaustdifference { sphere { &lt;0,0,0&gt;, 1 } box { &lt;0,4,4&gt;, &lt;-4,-4,-4&gt; } hollow scale &lt;40,2,2&gt; interior { media { intervals 5 //5 higher slows it up and gives smoother images samples 5 //5 lower = more blocky emission .3 //1 brightness of glowing media density { spherical scale &lt;50,3,3&gt; warp { turbulence &lt;.8,.07,.05&gt; } density_map { [0 rgb 0] [.6 rgb 0] [.7 color Yellow] [.8 color Yellow] [.9 color White] [1 color White] } } } } texture { pigment { Clear } } }&lt;br /&gt;//cloud scape#end&lt;br /&gt;light_source { &lt;0,&gt; color White*.1 media_interaction off media_attenuation on }global_lights on}// end of light_group&lt;br /&gt;&lt;br /&gt;union { plane { y, 260 texture { finish {ambient 0 diffuse 0.7} pigment { bozo turbulence 1.00 translate 200*y color_map { [0.5, rgb 1 transmit 1.0] [1.0, rgb 1 transmit 0.6] } scale 0.125 } scale 1500 } } plane {y, 240} texture { finish {ambient 0 diffuse 0.7} pigment { bozo turbulence 0.35 translate 300*y color_map { [0.5, rgb 1 transmit 1.0] [0.8, rgb 1 transmit 0.5] } scale 10 warp {turbulence 0.7} scale 1/10 scale 0.125 } scale 2500 } texture { finish {ambient 0 diffuse 0.5} pigment { bozo turbulence 0.35 translate 400*y color_map { [0.5, rgb 1 transmit 1.0] [0.8, rgb 1 transmit 0.4] } scale 10 warp {turbulence 0.7} scale 1/10 scale 0.125 } scale 2500 } hollow double_illuminate //scale 1/200 no_shadow translate &lt;0,0,100&gt; rotate &lt;40,0,-20&gt;}&lt;br /&gt;//end of scene&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;...just as I figured a disordered mess.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114741967601396399?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114741967601396399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114741967601396399' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114741967601396399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114741967601396399'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/05/missile-source-code.html' title='Missile Source Code'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114707438460000725</id><published>2006-05-08T00:41:00.000-07:00</published><updated>2006-05-08T00:46:24.613-07:00</updated><title type='text'>SOTW Released and SDL-Switch</title><content type='html'>Well, its here at last.  Spaceship Of The Week has been released.  I've posted the macros over in the POV-Ray news groups, and also a few samples.  Although, thanks to A goof up with Outlook Express, I think I may well have posted the images twice, cane really be sure at this point.&lt;br /&gt;&lt;br /&gt;An interesting point to note is I goofed at one point withan SDL Switch Statement and forgot to put a "#break" at the end of a "#range" statement and the code simple dropped straight through to the next "#range", meaning the code in both sections ran.  I hadn't expected that!&lt;br /&gt;&lt;br /&gt;Thats something I'll be using in future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114707438460000725?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114707438460000725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114707438460000725' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114707438460000725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114707438460000725'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/05/sotw-released-and-sdl-switch.html' title='SOTW Released and SDL-Switch'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114613879208851652</id><published>2006-04-27T04:47:00.000-07:00</published><updated>2006-04-27T04:53:12.106-07:00</updated><title type='text'>SOTW Light Surprise</title><content type='html'>OK so I have up to three area lights randomly rotated around the Space Ship.  Last night I change the random seed value, havn't done that for a few renders, and suddenly all the light sources are on the far side of Space Ship. &lt;br /&gt;&lt;br /&gt;The nearside of is not lit.  I realised what had happend about 10 rows into the render and was about to stop it rendering...&lt;br /&gt;&lt;br /&gt;... when I had to let the dog out.  So I come back and the render is finshed.  WOW!  Fantstic effect, all of the structures on the Ships surface are back lit with no forward detail shown.&lt;br /&gt;&lt;br /&gt;The moral of the story, I guess, is dont stop renders that you can leave. The result might be unexpectedly good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114613879208851652?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114613879208851652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114613879208851652' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114613879208851652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114613879208851652'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/04/sotw-light-surprise.html' title='SOTW Light Surprise'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114596839585783307</id><published>2006-04-25T05:28:00.000-07:00</published><updated>2006-04-25T05:33:16.050-07:00</updated><title type='text'>SOTW Continues</title><content type='html'>Man Oh Man.  I've discovered that completely random textures are resulting in awful, terrible, in fact rubbish results, when applied to space ships.  I think I'm goige to have to come up with a few set "finish" statements, a few patterns, and a few pigments and randomly apply these.&lt;br /&gt;&lt;br /&gt;It seems to be a case of expectation.  What you expect to see on a spaceship effects your interpretation.  So the Yellow and Purple  leopard pigment with stretched agate normal is out, and the slick gray cells pattern is in.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114596839585783307?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114596839585783307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114596839585783307' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114596839585783307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114596839585783307'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/04/sotw-continues_25.html' title='SOTW Continues'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114553492870180278</id><published>2006-04-20T04:59:00.000-07:00</published><updated>2006-04-20T05:08:48.730-07:00</updated><title type='text'>SOTW Continues</title><content type='html'>The SOTW project is going on.  Huge props and thanks to the guys on the POV-Ray news groups who pointed me at the Reorient_Trans function which can be found in one of the standard includes.&lt;br /&gt;&lt;br /&gt;I needed the function to position various Widgets on the Hull surface.  I was using the Trace function to fire rays at the hull from random directions which was giving me the location of the hull-ray intersection.  So I was able to translate my Widgets to the location.&lt;br /&gt;&lt;br /&gt;Unfortunatley my Widgets where not rotated perpendicular to the hull surface and the result was awful!&lt;br /&gt;&lt;br /&gt;The simple wonderfull answer was to use the fourth parameter on the trace function, store this into a variable and then pass it to the Reorient_Trans function, which gave me the rotation I needed.&lt;br /&gt;&lt;br /&gt;Thanks you guys!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114553492870180278?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114553492870180278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114553492870180278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114553492870180278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114553492870180278'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/04/sotw-continues.html' title='SOTW Continues'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114544391707402636</id><published>2006-04-19T03:31:00.000-07:00</published><updated>2006-04-19T03:51:57.096-07:00</updated><title type='text'>A Dirty Wall</title><content type='html'>Not a real tutorial but a guide, or something like that. &lt;br /&gt;&lt;br /&gt;Anyway the sad thing is that the medium of Blogging has not caught up with POV-Ray SDL formatting I like to use ( lots of tabs ) so sadly all my nicely laid out code has had to be compressed and streamlined to fit on the blog.  Sad.&lt;br /&gt;&lt;br /&gt;The code below shows the process I followed recently when I wanted to make the bottom of a wall, dirty. You know, when all the splash and muck splats along the bottom of a wall.&lt;br /&gt;&lt;br /&gt;This scene shows the basic stages of texturing the wall. If you render the scene as is, then change the value allocated to "stage" from 1 to 2 and render again you'll see what change I made. You change the value of thru the range 1 to 9, as I've included 9 main stages in building the texture.  I've included comments in the code so that you can see what I've changed and why.&lt;br /&gt;&lt;br /&gt;#include "colors.inc"&lt;br /&gt;&lt;br /&gt;camera{location &lt;0,1.2,-5&gt;look_at&lt;0,1,0&gt;}&lt;br /&gt;light_source {&lt;-50,100,-50&gt;color White}&lt;br /&gt;background { color &lt;0.25,0.35,0.80&gt; } &lt;br /&gt;plane {y, -1 pigment{color rgb &lt;0.7,0.5,0.3&gt;}}&lt;br /&gt;#declare stage = 1;  //change from 1 through 9&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// basic brick texture to start with&lt;br /&gt;#if(stage=1)&lt;br /&gt;#declare wallTexture = texture {pigment {brick}};&lt;br /&gt;#end                               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// shrink the brick pattern as its too big&lt;br /&gt;#if(stage=2)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}};&lt;br /&gt;#end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// add in the second texture that will be the mud/dirt&lt;br /&gt;#if(stage=3)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}}&lt;br /&gt;texture {pigment {marble // parralel lines of colour&lt;br /&gt;pigment_map     {&lt;br /&gt;[0 Clear] // transparent&lt;br /&gt;[1 Black]   // muddy color}}};&lt;br /&gt;#end      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#if(stage=4)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}}&lt;br /&gt;texture {&lt;br /&gt;pigment {&lt;br /&gt;marble rotate &lt;0,0,90&gt;// rotate pattern so it lines up with floor&lt;br /&gt;pigment_map     {[0 Clear][1 Black]}}};&lt;br /&gt;#end      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#if(stage=5)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}}&lt;br /&gt;texture {pigment {&lt;br /&gt;marble rotate &lt;0,0,90&gt;&lt;br /&gt;scale 5 // enlarge the pattern&lt;br /&gt;pigment_map     {[0 Clear][1 Black]}}};&lt;br /&gt;#end      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#if(stage=6)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}}&lt;br /&gt;texture {&lt;br /&gt;pigment {&lt;br /&gt;marble&lt;br /&gt;rotate &lt;0,0,90&gt;&lt;br /&gt;scale 5&lt;br /&gt;translate &lt;0,1.4,0&gt; //translate the pattern so densest part is on the floor&lt;br /&gt;pigment_map     {&lt;br /&gt;[0 Clear]&lt;br /&gt;[1 Black]}}};&lt;br /&gt;#end      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#if(stage=7)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}}&lt;br /&gt;texture {&lt;br /&gt;pigment {&lt;br /&gt;marble&lt;br /&gt;rotate &lt;0,0,90&gt;&lt;br /&gt;scale 5&lt;br /&gt;translate &lt;0,1.4,0&gt;&lt;br /&gt;pigment_map     {&lt;br /&gt;[0 Clear]&lt;br /&gt;[.6 Clear]// extend Clear area&lt;br /&gt;[.9 Black] // extend the solid part&lt;br /&gt;[1 Black]}}};&lt;br /&gt;#end      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#if(stage=8)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}}&lt;br /&gt;texture {&lt;br /&gt;pigment {&lt;br /&gt;marble&lt;br /&gt;rotate &lt;0,0,90&gt;&lt;br /&gt;scale 5&lt;br /&gt;translate &lt;0,1.4,0&gt;    &lt;br /&gt;warp{turbulence &lt;0,.5,0&gt; } // turbulate the pattern&lt;br /&gt;pigment_map     {&lt;br /&gt;[0 Clear]&lt;br /&gt;[.6 Clear]&lt;br /&gt;[.9 Black]&lt;br /&gt;[1 Black]}}};&lt;br /&gt;#end      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#if(stage=9)&lt;br /&gt;#declare wallTexture = texture {pigment {brick scale .2}}&lt;br /&gt;texture {&lt;br /&gt;pigment {&lt;br /&gt;marble&lt;br /&gt;rotate &lt;0,0,90&gt;&lt;br /&gt;scale 5&lt;br /&gt;translate &lt;0,1.4,0&gt;    &lt;br /&gt;warp{turbulence &lt;0,.5,0&gt; }&lt;br /&gt;warp{turbulence &lt;1,0,1&gt; } // additional turbulence 'cos I had to tinker&lt;br /&gt;pigment_map     {&lt;br /&gt;[0 Clear]&lt;br /&gt;[.6 Clear]&lt;br /&gt;[.9 Black]&lt;br /&gt;[1 Black]}}};&lt;br /&gt;#end      &lt;br /&gt;&lt;br /&gt;box {&lt;-2,-1,0&gt;,&lt;2,2,.1&gt;texture { wallTexture }}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114544391707402636?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114544391707402636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114544391707402636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114544391707402636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114544391707402636'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/04/dirty-wall.html' title='A Dirty Wall'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114484405311088533</id><published>2006-04-12T04:59:00.000-07:00</published><updated>2006-04-12T05:14:13.520-07:00</updated><title type='text'>SOTW Current Project</title><content type='html'>Well I've just started a new project.  I'm calling it Spaceship Of The Week.  I'm taking my lead from the now classic Landscape Of The Week that was flying around the Message Boards a few months back.&lt;br /&gt;&lt;br /&gt;The LOTW  was a set of macros that took a random seed value and produced a random landscape, complete with sky, trees and rocks.  The end results  were fantastic. &lt;br /&gt;&lt;br /&gt;I recently knocked up a sci-fi "Lodge ship" which used random features to decorate a cylinder, including windows, lights, radio masts, and misc' blocks of unknown purpose. Each of these items was crafted to my specific needs in this case.  But I was inspired to see what I could do with it.&lt;br /&gt;&lt;br /&gt;So I started with an SDL file called "SOTW".  This includes a light, camer a couple of standard includes.&lt;br /&gt;&lt;br /&gt;Next I created another include that I've called SOTWSpace.  This returns a huge hollow sphere populated with a random selection from the "stars.inc" include that comes with POV-Ray, I intend to add a few more options  to this file later.&lt;br /&gt;&lt;br /&gt;Next I created another include called "SOTWHull" which returns a random basic shape for the ships hull.  This is  what I'm working on at the moment.  So far it selectes a random primative, which it then rotated, scaled and sheared a random number of times.&lt;br /&gt;&lt;br /&gt;Sadly the results so far are far from good.  I keep getting shapes that are too thin for my liking.  I need to modifiy the weighting of the random transformations to prevent it returning extreems.&lt;br /&gt;&lt;br /&gt;I could justify the extreem hull shapes by saying anying it viable without atmosphere, but you know, some things just dont look right. even when they are.&lt;br /&gt;&lt;br /&gt;I've a long way to go yet, I'll try and kep you "Posted".  Any suggestions for this set of macros will be gladly read...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114484405311088533?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114484405311088533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114484405311088533' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114484405311088533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114484405311088533'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/04/sotw-current-project.html' title='SOTW Current Project'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114467019908937977</id><published>2006-04-10T04:52:00.000-07:00</published><updated>2006-04-10T04:56:39.106-07:00</updated><title type='text'>Tip 18</title><content type='html'>This ones a no-brainer to old POVers but it's something I did this weekend and I thought I mention it here.&lt;br /&gt;&lt;br /&gt;I was rendering a scene with many chess pawns in it but wanted one to stand out.  I didn't want to change the scene lighting by spotlighting the pawn in question.  Instead I used a simple and sometimes subtle ambient setting on the pawn in question.&lt;br /&gt;&lt;br /&gt;All of the other pawns had an ambient of zero, but I gave this pawn an ambient of 0.2 .&lt;br /&gt;&lt;br /&gt;The result was slight "enhancing" of the one pawn.  Not too much, not too obvious, but enough to draw the eye, which is what I wanted.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114467019908937977?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114467019908937977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114467019908937977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114467019908937977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114467019908937977'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/04/tip-18.html' title='Tip 18'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114415166964595269</id><published>2006-04-04T04:49:00.000-07:00</published><updated>2006-04-04T04:54:29.660-07:00</updated><title type='text'>Oh the frustration...</title><content type='html'>Ok, so I'm doing a space ship.  Its a large space ship, so I want to give it a focal point.  Fine, no problem.  Suddenly the Starfield background stars disapear.  Perhaps I'm not destined.  Oh hang on.  Maybe if I build a CSG lens in front of the camera I can get the same effect without all of the star loss...&lt;br /&gt;&lt;br /&gt;Should have studied optics at college.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114415166964595269?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114415166964595269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114415166964595269' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114415166964595269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114415166964595269'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/04/oh-frustration.html' title='Oh the frustration...'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114371887584230139</id><published>2006-03-30T03:37:00.000-08:00</published><updated>2006-03-30T03:41:15.853-08:00</updated><title type='text'>Podcast by POVers</title><content type='html'>Dont let me mislead you with the title of this post.  The Podcast I'm talking about is not about POV-Ray, its about table top gaming.  ( Gaming in the "Monopoly" sence, not the "betting" sence). It just happens to be produced by two people who use POV-Ray.  The Podcasts web page even has a rendered image as its banner.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.roll2d6.com/"&gt;http://www.roll2d6.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114371887584230139?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114371887584230139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114371887584230139' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114371887584230139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114371887584230139'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/03/podcast-by-povers.html' title='Podcast by POVers'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114346210324290742</id><published>2006-03-27T04:14:00.000-08:00</published><updated>2006-03-27T04:21:43.256-08:00</updated><title type='text'>Tip 17 A Cheat</title><content type='html'>It's OK to cheat POV-ray, it doesn't mind.&lt;br /&gt;What I'm getting at is that sometimes it takes too long to model a "thing".  The time it would take to model is just not worth it.&lt;br /&gt;&lt;br /&gt;You want an example?&lt;br /&gt;&lt;br /&gt;Well... I was modeling a spaceship and I needed a series of lights on posts to circumnavigate to hull.  The Post was a simple cone and I wanted the light to be a Red Glass sphere on top of the cone. &lt;br /&gt;&lt;br /&gt;Now I could have spent time putting a light in a clear sphere and playing with the texture of the sphere until it glowed red.&lt;br /&gt;&lt;br /&gt;Frankly the size of the object did not warrant the effort that would have taken.&lt;br /&gt;&lt;br /&gt;So I made the sphere have a plain Red pigment with a .5 ambient setting that makes it look alight and stuck a point light above the sphere to get the illumination.  Incidentally I had top include "no_shadow" in the sphere's definition so that I didn't get a shadow underneath the sphere fom the light above it.&lt;br /&gt;&lt;br /&gt;Plain and simple, I cheated.  It worked.  It looks good.  Who'll know?!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114346210324290742?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114346210324290742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114346210324290742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114346210324290742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114346210324290742'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/03/tip-17-cheat.html' title='Tip 17 A Cheat'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114303358549221226</id><published>2006-03-22T05:14:00.000-08:00</published><updated>2006-03-22T05:19:45.510-08:00</updated><title type='text'>Tip 16 Coloured Fog</title><content type='html'>A number of times I've tried to add "atmospheric media" to a scene to give it some , well, atmosphere, this is slow when it comes to rendering.&lt;br /&gt;&lt;br /&gt;A quick alternative is to use the "fog" object.  There is a lot that can be said about fog, and I probably will some day.  But for now, just consider this.  If you use a coloured fog rather than the standard gray-white, can you add an unusual/special feel to your image. &lt;br /&gt;&lt;br /&gt;For example, a week yellow fog can add the golden feel you get on a sunny afternoon, or a blue one can add that twilight feel.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114303358549221226?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114303358549221226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114303358549221226' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114303358549221226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114303358549221226'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/03/tip-16-coloured-fog.html' title='Tip 16 Coloured Fog'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114173964853616021</id><published>2006-03-07T05:50:00.000-08:00</published><updated>2006-03-07T05:54:08.546-08:00</updated><title type='text'>Tip 15 KIS</title><content type='html'>OK, heres a real quicky.  Is it close to the camera?  No?  Well forget the detail.  Keep It Simple.&lt;br /&gt;&lt;br /&gt;When an object if far from the camera, dont bother modeling all of the details, you probably wont be able to see all of them.  Also keep in mind the time it takes to render complex textures.  It sometimes pays to keep distant textures simple.&lt;br /&gt;&lt;br /&gt;There is artistic merit in this as well, because if its in the distance it's not likely to be the focus of the scene and too much detail will distract the eye.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114173964853616021?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114173964853616021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114173964853616021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114173964853616021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114173964853616021'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/03/tip-15-kis.html' title='Tip 15 KIS'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114009524294983430</id><published>2006-02-16T05:01:00.000-08:00</published><updated>2006-02-16T05:07:22.960-08:00</updated><title type='text'>Tip 14 Clear going black.</title><content type='html'>A common problem we all hit at some point, is that we create a scene with lots of Clear/Glass objects.&lt;br /&gt;&lt;br /&gt;Well thats not the real problem.  the problem is that sometimes these render with some or all of the objects turned black. It's a nasty black, not shades of black, just plain horrid black.&lt;br /&gt;&lt;br /&gt;The common cause is that the max_trace setting is not high enough.&lt;br /&gt;&lt;br /&gt;What happens is that each time a ray passes through one of these objects it splits.  So to prevent a scene from taking forever to render the maximum number of "splits" on any one ray is quite limited.  If you up the value of "max_trace" you'll start to see the black disapear.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114009524294983430?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114009524294983430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114009524294983430' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114009524294983430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114009524294983430'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/02/tip-14-clear-going-black.html' title='Tip 14 Clear going black.'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-114000938338598274</id><published>2006-02-15T05:07:00.000-08:00</published><updated>2006-02-15T05:16:23.396-08:00</updated><title type='text'>Tip 12a Filling in the Blanks</title><content type='html'>Hi.  This is 12a because that other number is a bit unlucky.&lt;br /&gt;&lt;br /&gt;The Tip today, is to use a "fill" light.  A Fill light is not some POV-Ray object but rather a concept for lighting scenes.  Still and Video people know all about Fill lights. &lt;br /&gt;&lt;br /&gt;Basicly a fill light is (usually a dim and unfocused light that adds depth to a scene.  If it's done properly then you generally dont even know its there.&lt;br /&gt;&lt;br /&gt;A Fill light is often set to the side or rear of the "subject".  It gives definition and depth to background.  Sometimes it gives definition to the "subject" with a low level of back-lighting.&lt;br /&gt;&lt;br /&gt;Below is my standard fill "light_source", I call it "the Daniel Prust", as he was the guy who gave it to me.  I've used the Daniel Prust in so many scenes I consider it a standard.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;light_source { &lt;-70, 20, -15&gt; color rgb &lt;0.2,&gt; shadowless }&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-114000938338598274?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/114000938338598274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=114000938338598274' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114000938338598274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/114000938338598274'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/02/tip-12a-filling-in-blanks.html' title='Tip 12a Filling in the Blanks'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-113992488400706105</id><published>2006-02-14T05:41:00.000-08:00</published><updated>2006-02-14T05:48:04.016-08:00</updated><title type='text'>Tip 12 Realism with area_light.</title><content type='html'>There is a simple tip for adding realism to your scene.&lt;br /&gt;&lt;br /&gt;Use "area_light"!!!!!!!!&lt;br /&gt;&lt;br /&gt;This alone will not make a scene real. but when you've finished modeling and the textures are just right, hit the whole thing with area_light.&lt;br /&gt;&lt;br /&gt;Make all your "light_source"s into what I call "High Def" area lights, that is to say using big numbers in the array of lights.  My final renders usually end with 25 x 25 area_light's.  This gives you some good strong shadows, and pen umbra, with very little chance of the specking effect you can get with lower numbers.&lt;br /&gt;&lt;br /&gt;There are a whole bunch of "realism" tips, of which this is only one.  But every little helps...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-113992488400706105?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/113992488400706105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=113992488400706105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/113992488400706105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/113992488400706105'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/02/tip-12-realism-with-arealight.html' title='Tip 12 Realism with area_light.'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-113983557326598010</id><published>2006-02-13T04:53:00.000-08:00</published><updated>2006-02-13T04:59:33.276-08:00</updated><title type='text'>Tip 11 Fading your lights</title><content type='html'>When you set up a scene, I would recommend that you always ensure that you set the fade_distance and fade_power on your light_source(s) when nearing completion.&lt;br /&gt;&lt;br /&gt;As a rule, unless you only light source is the Sun you should do this.  Why?  because it gives the scene a feeling of depth and realism.&lt;br /&gt;&lt;br /&gt;Even if the Sun is your light_source, and the scene is set in a room, adding a fade to the light still adds that little-something to the amount of reflected light.&lt;br /&gt;&lt;br /&gt;If you havn't used the fade settings, stick a light_source next to a plane and you'll see the effects easily.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-113983557326598010?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/113983557326598010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=113983557326598010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/113983557326598010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/113983557326598010'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/02/tip-11-fading-your-lights.html' title='Tip 11 Fading your lights'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21754758.post-113957752567346657</id><published>2006-02-10T04:37:00.000-08:00</published><updated>2006-02-10T10:04:59.373-08:00</updated><title type='text'>Tip 10 Include files</title><content type='html'>Okay, heres a tip for the man who going to be poving for a long time. When you finish an object, say a chair or a mug, or a spaceship create an include file for it.&lt;br /&gt;&lt;br /&gt;For instance if you have a "mug" save just the code to create the mug into a file called "mug.inc".&lt;br /&gt;&lt;br /&gt;Now you can use that include file in any future scene easily by using the "#include" syntax.&lt;br /&gt;&lt;br /&gt;Rather than just copy the outer most "union" or "merge" or "difference" into the include file, declare it as a variable so that you can call it with the "object" syntax.&lt;br /&gt;&lt;br /&gt;So in your include file...&lt;br /&gt;&lt;br /&gt;#declare povmanMUG = union { blar blat blud };&lt;br /&gt;&lt;br /&gt;... and then in you new scene you would put...&lt;br /&gt;&lt;br /&gt;object { povmanMUG }&lt;br /&gt;&lt;br /&gt;Now theres one little thing you might want to keep in mind.&lt;br /&gt;&lt;br /&gt;Declare any textures for the object you in the include file as well. That way you dont have to look through all of your pov files scanning for "that texture you used 3 months ago".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21754758-113957752567346657?l=povman.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://povman.blogspot.com/feeds/113957752567346657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=21754758&amp;postID=113957752567346657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/113957752567346657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21754758/posts/default/113957752567346657'/><link rel='alternate' type='text/html' href='http://povman.blogspot.com/2006/02/tip-10-include-files.html' title='Tip 10 Include files'/><author><name>POV Bloke</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02904359663579096663'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>