|
|
On 7-5-2019 18:28, Albun wrote:
> Hi,
>
> With 3.6 version, i use a photon #macro like under this line, and the 'no_image'
> for object, to see the refraction appeer on a plane and it's ok.
> But with the 3.7 version, and the same file, there is nothing appeer on plane,
> and no photons count on render.
>
> #macro PhotonBlock()
> #if(Photons)
> photons {
> target
> collect off
> reflection off
> refraction on
> }
> #end
> #end
>
> Do you see a solution with 3.7 language ?
>
You didn't tell, do you have a photons statement in the global_settings?
That is essential.
either:
global_settings {
photons {
spacing 0.02
}
}
or:
global_settings {
photons {
count 1000
}
}
Also, the photons-receiving objects need a photons definition, like the
following example:
plane {
y, 0
texture {
pigment { color srgb <1.0, 0.8, 0.6> }
}
photons {collect on}
}
Maybe also the light source:
light_source {
<100, 300, 500>
color rgb 1.0
parallel
photons {
refraction on
reflection on
}
}
See the appropriate sections in the docs.
--
Thomas
Post a reply to this message
|
|