|
|
Hi,
I have a little problem - how can I show photons (using media?)
My scene (will be posted in .b.i in a minute) looks like :
* Y=0 spot light
^ 1 light
/ \ 2 light
===== 3 glass = box+ior+normal + photons{refraction on}
//|\\ 4 photons
///|\\\ 5 photons
-------- 6 photons stored on floor (collect=on)
Scattering media is everywhere in scene (global).
Problem is, that media shows light in Y=1,2, BUT photons in Y=4,5 are NOT
showned in media - this photons do NOT light scattering media. In area 4,5
media acts exacly as the box would be totaly solid and as this part of
media was in shadow.
Photons are correcly shown on floor (Y=6).
In global_settings i use
radiosity { media on }
photons { count 100*1000 media 100 }
and glass box is :
pigment { rgbf .99 }
finish { reflection .2 specular .9 roughness 0.02 }
interior { ior 1.3 }
normal { bozo scale .4 }
photons { refraction on target on }
What can be wrong ?
Second box (on image in b.i) has in addition :
dispersion 1.04 dispersion_samples 20
--
#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
|
|