|
![](/i/fill.gif) |
> Hi Y'all
>
> I'm a new pov user (physics grad student) and I want to do a project that seems
> both simple and complex at the same time.
>
> The simple thing is that I want to do a plane of fog with a single inplane light
> source and to view it from above. I have a background with c++ and autocad, and
> am pretty sure I can figure this part out.
>
> The hard thing is that I want the fog to have either variable density and/or a
> medium with a variable index of refraction. Either one.
>
> I'm doing this so I can view some data from an experiment. The data I want to
> view is in the form of 480x480x1 arrays, stored either as a fit or bmp or tiff
> file.
>
> So, a plane of fog and light source is surely doable. Linking fog density to a
> grid of numbers and thus importing the numbers into the script seems much
> harder.
>
> Can someone point me in the right direction? Is what I want to do possible?
>
> I have looked at scripting language and documentation but it looks like I could
> spend years figuring out all the options.
>
> Thanks in advance,
>
> Michael
>
The fog feature can't be illuminated by a light_source.
For that, you need to use scattering media.
Your media will then be contained in a whide box or between two planes.
As your data are only 1 layer deep, you can use your BMP or TIFF
directly as an image_map that can directly determine the density of the
media.
As for variable ior, sory, that's not possible, and may never be.
It may be simulated to a sertain degree by giving your object an ior and
altering it's normal according to some pattern.
Alain
Post a reply to this message
|
![](/i/fill.gif) |