|
|
This is the source to the example colour dispersion image I just now
posted on povray.binaries.images.
By posting different things in different newsgroups, everyone will find
out how slick and wonderful this new feature is.
For more examples, source code patches, and so on, visit my web site at
http://www.newcolor.com/darenw/dswpov/disp.html (Won't be ready until
Monday, though.) The patch should soon also be available on Twyst's
Patch Station.
--
Daren Scot Wilson
dar### [at] pipelinecom
TWOBALLS.POV:
/* test dispersion */
plane { z, 10
pigment { checker color rgb 0 color rgb .9 }
finish { ambient 1 }
hollow
}
plane { z, -100
pigment { color rgb 0 }
finish { ambient 0 diffuse 0 }
hollow
}
cylinder {
<-1000, 30, -90>,
< 1000, 30, -90>,
7
pigment { color rgb <0,0,1> }
finish { ambient 1 }
}
// CLEAN WHITE DOT AGAINST BLACK BAR
box {
<-999, -.1, 9>, <999, -1.6, 9>
pigment { color rgb 0}
}
disc { <-5.29,-0.8, 8.99>, <0,0,-1>, .1
pigment { color rgb 1 }
finish { ambient 1.99 diffuse 0 }
}
disc { <5.29, -0.8, 8.99>, <0,0,-1>, .1
pigment { color rgb 1 }
finish { ambient 1.99 diffuse 0 }
}
disc { <-4.70,-0.8, 8.99>, <0,0,-1>, .05
pigment { color rgb 1 }
finish { ambient 1.99 diffuse 0 }
}
// TEST BALLS
sphere { <-5.1,0,0>, 5
pigment { color rgb 1 filter .81 }
finish { ambient 0 diffuse .3 phong 1 reflection 0 }
interior { ior 1.2 dispersion 1.1 disp_nelems 120 }
}
sphere { <5.1,0,0>, 5
pigment { color rgb 1 filter .81 }
finish { ambient 0 diffuse .3 phong 1 reflection 0}
interior { ior 1.2 dispersion 1.1 disp_nelems 3
}
}
light_source { <-40, 100, -25> rgb .8 }
light_source { <-80, 80, -25> rgb .8 }
light_source { <90, 80, 5> rgb <.9,.9,.4> }
camera {
location <0, 0, -30>
look_at 0
angle 41
}
(((END OF FILE)))
Post a reply to this message
|
|