Below are some common questions regarding Refraction settings in Ray Dream Designer 3 and how they are calculated.
A: The Index of refraction = 100 / (100 - Slider value) This equation is an approximation, but should be close enough.
A: Refraction is calculated at surface normals. Curvature is taken into account. Since refraction is calculated on every surface, if you place a refractive sphere in front of a pattern, the pattern will be refracted twice before it hits the camera. Once when it enters the sphere and again when it exits the sphere.
A: The correlation is linear (i.e. a gray value of 127 would be about 50. The conversion factor is 2.55. The index of refraction of glass would be 1.5 which would be a numerical value of about 39 which would be a gray value of about 100 (39 * 2.55).