|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |