POV-Ray : Newsgroups : povray.binaries.images : shiny shiny shiny : Re: shiny shiny shiny Server Time
2 Aug 2024 10:18:39 EDT (-0400)
  Re: shiny shiny shiny  
From: Bill Pragnell
Date: 11 Dec 2007 08:15:01
Message: <web.475e8cab1bb4a81e731f01d10@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> I'll post it tomorrow (I don't have it on this machine...)

Here it is:

----------
#version unofficial megapov 1.2;
#include "shapes.inc"
#include "colors.inc"

global_settings {
  assumed_gamma 1
  radiosity {
    pretrace_start 0.08
    pretrace_end 0.0025
    count 1000
    nearest_count 4
    error_bound 0.4
    recursion_limit 2
    low_error_factor 0.5
    gray_threshold 0.0
    minimum_reuse 0.001
    brightness 1
    adc_bailout 0.01/2 } }

camera {
  location <18, 15, -40>
  up y
  right x
  angle 22
  look_at 0 }

#macro Knot(a)
  (<sin(a) + 2*sin(2*a), 1.25*sin(3*a), cos(a) - 2*cos(2*a)>)
#end

blob {
  threshold 0.9
  #local ang = 0;
  #while (ang < 2*pi)
    sphere { Knot(ang), 1.5, 0.5 }
    #local ang = ang + 0.01;
  #end
  pigment { color Black }
  finish { ambient 0 diffuse 0 reflection { 1 } } }

sphere {
  <0, 0, 0>, 1000
  pigment {
    image_map {
      hdr "uffizi_probe.hdr"
      map_type 7
      interpolate 2 } }
  finish { ambient 1 diffuse 0 } }

object {
  Round_Box_Union(<-6, -3.1, -6>, <6, -2.5, 6>, 0.25
  pigment { color Gray25 }
  finish { ambient 0 } }


Post a reply to this message

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