|
|
Am 09.02.2011 04:44, schrieb Robert McGregor:
> Well, after looking over some basic dielectric equations I came up with this
> simple POV-SDL setup for the following basic dielectric material in POV-Ray. The
> transparency and reflection of the material automatically tune themselves
> according to the material's IOR value:
>
> //------------------------------------------------------------------------------
> // Dielectric Ball
> /------------------------------------------------------------------------------
> global_settings { photons { spacing 0.01 } }
>
> #declare IOR = 1.33;
> #declare REFL = pow(((1-IOR)/(1+IOR)), 2);
> #declare TRANS = 1 - REFL;
>
> sphere { 0, 1
> texture {
> pigment { rgb 0 transmit TRANS }
> finish {
> reflection {0, REFL fresnel on } conserve_energy
> specular REFL roughness 0.005
> }
> }
> interior { ior IOR }
> photons {
> target
> refraction on
> reflection on
> collect off
> }
> }
>
Hmm, this does not look right to me - as far as I understand this
dielectric matter. Sadly Kari Kivisalo seems to be no more around, the
one that did just *know* such things.
Anyway it reminds me that I've never done any glass objects so thanks
for the inspiration on that ;)
-Ive
Post a reply to this message
|
|