POV-Ray : Newsgroups : povray.general : Index of Refraction Question : Re: Index of Refraction Question Server Time
29 Jul 2024 20:25:38 EDT (-0400)
  Re: Index of Refraction Question  
From: David Miller
Date: 15 Jul 2010 22:10:01
Message: <web.4c3fbef6e54b8db5c59334e00@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > I'm trying to set up a model for a physics experiment I'm doing. The gist of it
> > is there is a crystal suspended in a liquid over a light source with a camera
> > above it. I'm trying to set up a povray model where the liquid and the crystal
> > have different indexes of refraction. The problem is it seems that changing the
> > index of refraction of the crystal has no effect on the model. IE, if the index
> > of refraction of both the crystal and the liquid are one, the crystal is still
> > visible. Any help doing this would be appreciated.
> >
> > I've pasted my code below. The liquid is the ellipsoid and the crystal is the
> > box.
> >
>
> A few questions:
> Why are your dimentions so small?
> The camera is at 0.01 unit, the sphere have a 0.001 unit radius, the box
> is only 2/10000 unit whide.
>
> You seems to be working in meters, there is nothing preventing you from
> working in mm or smaller units.

I'm probably missing some kind of functionality in Pov-ray but I'm doing it in
order to keep the ellipsoid from refracting the fall off in lighting from the
area_light. Keeping it small and close to the light gives the minimum amount of
distortion. Is there another way to make a light source that illuminates a wider
area? Ideally I'd like an infinitely large (or at least very large in comparison
the the objects) plane of white light below the crystal. In the actual
experiment, the crystal will be many orders of magnitude smaller then the light
source.
Thanks again for everyone's help


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.