POV-Ray : Newsgroups : povray.binaries.scene-files : Illusions : Illusions Server Time
2 Sep 2024 14:20:29 EDT (-0400)
  Illusions  
From: Nekar Xenos
Date: 24 Feb 2001 05:55:57
Message: <3a97933d@news.povray.org>
I was trying to make a gold texture rendering similar to the golden 'mushy
sphere posted by Tor Olev Kristensen when I accidentally came across an
optical illusion. I always thought you HAD to use a parabolic dish to get
this effect but it seems not .

I've only recently started using PoV again so please excuse any messy code.
Suggestions are always welcome.

Nekar


// Persistence Of Vision raytracer version 3.1 sample file.
// File by Alexander Enzmann
#include "metals.inc"
#include "golds.inc"
#include "shapes.inc"
#include "colors.inc"
#include "textures.inc"
#include "shapesq.inc"

global_settings { assumed_gamma 2.2 }

camera {
   location  <0, 0, -5>
   direction <0, 0, 1.2071>
   look_at   <0, 0, 0>
}



light_source { < 0, -10, -30> color red 1 green 1 blue .75 }
light_source { < 0, -10, 15> color red 1 green 0.2 blue 0.1 }
light_source { < 0, 10, 15> color red 0.1 green 0.5 blue 0.75 }

blob {
   threshold 0.6
   component 1.0, 1.0, <0.75, 0, 0>
   component 1.0, 1.0, <-0.375, 0.64952, 0>
   component 1.0, 1.0, <-0.375, -0.64952, 0>


   texture { T_Gold_1E }
   normal{
     bumps 1
     scale 0.1
   }



}



 sphere {<0, 0, 0>,1
   texture { T_Chrome_1E }
   scale 30

   }


Post a reply to this message

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