|
![](/i/fill.gif) |
Kevork Abadjian wrote:
>
> I was looking at the two replies posted to my message and as far as I can see
> Ken explained the situation even better than I could; but he stopped just short
> of a suggestion to fix the problem.
>
> there is nothing special about the source, I am using the std seen file and
> just and std texture for glass and a switch to toggle on an off the photones.
Stripped down and rearranged for clarity and examples sake I offer the
following two examples of correct and incorrect behavior. Which is which
I leave to the person who renders it to decide but it should be as obvious
as obvious can be.
camera{
location <0.0, 0, -5.0>
look_at <0.0, 0.0, 0.0>}
light_source{<0,440,-300>rgb 1 }
plane { y,-3 pigment{ rgb 1}}
plane { z, 3 pigment{ rgb 1}}
#declare Ball1 =
sphere{0,0.4
pigment{rgbf<1,1,1,0.97>}
translate<-0.4,-0.2,0>
interior {ior 1.99}
}
#declare Ball2 =
sphere{0,0.4
pigment{rgbf<0,0,1,0.97>}
translate<-0.4, 0.2,0>
interior {ior 1.19}
}
#declare cnt=0
merge {
#while (cnt < 4)
object {Ball1 rotate z*90*cnt}
object {Ball2 rotate z*90*cnt}
#declare cnt=cnt+1
#end
translate x*1.25
}
#declare cnt=0
#while (cnt < 4)
merge {
object {Ball1 rotate z*90*cnt}
object {Ball2 rotate z*90*cnt}
translate x*-1.35 }
#declare cnt=cnt+1
#end
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
![](/i/fill.gif) |