Okay, some info about the complex ior files (which btw in RC4 on my system ended up in the wrong directory: ior)
[edit: this could well be the right one, see PS below post]
Normally when rendering you assume a fixed index of refraction. There are lists for water, glass, diamond etc all over the internet. However in reality IOR is influenced by the actual photons you put through them. The physical explanation has to do with slowing down of photons based on their specific energy and the material (and angle + temperature) involved.
In actual nature it's the reason that we see colour dispersion like in rainbows or prisma's. Not every colour gets the same reflection or refraction going through the material so sometimes we see the original light breaking up in 'rainbow' colours. So to simulate reality we have to account for these differences and that's were this file based IOR (see P.S.) comes in to play. In maxwell that means you select an entry from a database of publically known values and use these in your renderings.
I you wonder what is actually stored there, this is going to be a good read. Otherwise stop here and be happy that you're just interested in visual pleasing pictures.
If you would open a file f.i. H2O.ior (water) you would see a first line like 1 1 1.5 6 90
Lets call these four figures a,b,c en d
a states the measurement unit used 1=Ev 2=Nm 3=Mm 4=Cm. Here we see it uses Ev.
b is the lowest end of the range measured (1.5 Ev)
c is the highest end of the range measured (6 Ev)
d is the highest index of the measurement range and as they start counting at zero we know the total number of measurement points is d+1. (91 in this case)
Ev is even farther from our classic colour notion than nm already is for most people, but simply stated the visible range in Ev is 3.1 to 1.8 and this corresponds roughly to wavelengths 400-700. There is a handy calculator to be found here
http://www.ilpi.com/msds/ref/energyunits.html (do't forget to press enter after putting in the number at the left!!)
After this line a long list of values (d+1 see above) follows with two numbers stating the measured behaviour of this material. The first is the real number and corresponds to what we consider IOR, the second number, the imaginary part roughly indicates the transmittance at that wavelength (to state it in classic render terms it says something about the absorbtion). For a more precise definition of 'roughly' you'll have to read a lot of theses with some complex math which went beyond me and are anyway not interesting for our rendering purposes.
These numbers are normally called n and k, so these files are often referred to as .nk files.
The value for n, the IOR will show some considerable changes over the visible spectrum with some materials. Aluminium for instance varies from about 1,4 to 0,4. See
.
Water is not sensitive at all as it's IOR only changes from 1.34 to 1.36 over a very wide range. Just checked with three different coloured drinking straws in a glass of water and indeed can't notice it. The tools of a small child can do miracles for science
In our H20 case the k values are all zero. Take note howevever that in a lot of metals the colour dependant absorbtion can be quite relevant. A factor two in the visible range for silver f.i.
I'm not sure if maxwell uses the k value for its calculations or is planning to do.
I'm also not completely sure how the interpolation is done in the range of measurements, but I guess they are linear so you can find a value for a specific wavelength by dividing the total range (c-b) by the steps (d+1).
In the list of materials you'll find the same material measured at different temperatures. Although it really makes some difference, on the materials typically used in renderings the effect is very, very small.
to do: a virtual experiment
Like I said I'm not sure if maxwell uses the k value for its calculations or is planning to do, but it's easy to test as soon as the materials work as they should do. The way I should do it is writing a custom IOR file and use that for testing purposes.
This file should look like this:
test.ior
2 400 650 2 (so nm are used, range is 400-650 and 3 measurements)
1.0 0.0
1.5 2.0
2.0 4.0
after applying it to a block you should see the effect on three differently coloured objects going through the block. In a perfect world the spectrum colour picker would be ready in maxwell, so you choose two extremes and one in the middle. If you stick to real blue and warm reds and something in between you could try the same with RGB. The strong differences in refractions would show if it works at all. The absorbion should be compared. If it's still hard to judge you could rewrite the test file for constant IOR and even higher differences in absorbtion.
I would be very pleased with additional info or corrections on the above. I just made this up researching this stuff for the first time. I'm definitely no expert in this field. It's just meant to be helpful. So please comment.
P.S. I thought about it and maybe this topic has the wrong title. At the moment [rc4] these ior files are in the IOR map, not the complex ior map. This way you can use them in combination with the rest of your material editor and that's exactly what you want. Maybe complex ior (which disables all options) has a completely different purpose.