|
![](/i/fill.gif) |
Micha Riser <mri### [at] gmx net> wrote in news:3d3a6e8b@news.povray.org
> sphere{<-1,0,0>,2 pigment{rgbt 0.8} finish{ior 1.5}}
> sphere{<1,0,0>,2 pigment{rgbt 0.8} finish{ior 1.2}}
> How does POV-Ray handle this? In the intersection of the spheres there
> are two ior values defined. Which one does POV use?
If You have i.e. big box (A) and small (B) placed like :
aaaaa
abbba
abbba
abbba
aaaaa
Then in 'a' area (that is inside of object A) - ior will be as in A object
In 'b' are - with is both inside A and B - AFAIK ior will be like in 'B' -
because this object is closest to tested points - in other words - ray
intersect surface of B at last.
in area 'A' ray traveled trought A surface so ior is A
in 'B' tray traveled trought A, and later trought B - and the last value is
important
If You talk about two _ideal_ same objects in same space like
sphere { 0 1 } and sphere {0 1 } - this will always result errors, not only
in interior
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
![](/i/fill.gif) |