POV-Ray : Newsgroups : povray.binaries.images : My version of the reflecting sphere on checkered plane : Re: My version of the reflecting sphere on checkered plane Server Time
3 Oct 2024 07:08:25 EDT (-0400)
  Re: My version of the reflecting sphere on checkered plane  
From: Michael Andrews
Date: 3 Mar 2000 14:13:45
Message: <38C00F5A.AD1B1001@reading.ac.uk>
Hi Niemenen,

Since we are showcasing megapov, I added an isosurface to give a truely
bevelled surface.

Here's a small image and the code that replaces the plane in your posted
scene file.

#declare fnBevel = function { 
  pigment { 
    gradient x 
    colour_map {
      [0 rgb 0.03]
      [0.03 rgb 0]
      [0.97 rgb 0]
      [1 rgb 0.03]
    } 
  } 
}

isosurface {
  function { y + max(fnBevel(x,0,0), fnBevel(z,0,0)) }
  contained_by { box { -<10,0.1,10>, <10,0.1,10> } }
  eval
  texture
  { pigment { checker pigment { Marble1 }, pigment { Marble2 rotate
<30,50> } }
    normal { bumps .2/2.4 scale .03 }
    finish
    { specular .75
      reflection .5 reflection_blur .05 reflection_samples 20
    }
  }
  scale 2
  translate -y
}


Nieminen Juha wrote:
> 
>   The classic got new clothes.
>   I thought that since we have got lots of new cool features, why not try
> them on the classic image? The image uses the following features:
> 
>   - Blinn highlights
>   - Variable reflection
>   - Blurred reflection
>   - Photon mapping (unfortunately almost invisible)
>   - Radiosity (gives the overall orange tint to the image)
>   - Soft-glow
> 
>     Total Time:    2 hours 43 minutes  12.0 seconds (9792 seconds)
> 
>   Perhaps it could be used as example scene in pov 3.5?
> 
>  [Image]
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message


Attachments:
Download 'plane.jpg' (13 KB)

Preview of image 'plane.jpg'
plane.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.