This is initially based on the v4.10b that I released back in 2001-03-09 (The first version was released back in 1994!). My use of POV-Ray have been rather infrequent since then, but I have now started to "play around" with it a little bit again. 😏
That old version is still available on a free webhosting site, but I don't have the password to it anymore. I also don't have access to the email address the site was registered with… 😉
So instead, I decided to put it up here on Github and update it for newer versions of POV-Ray, the latest version I did back in 2001 was for POV-Ray v3.1.
- Some have been forgotten due to malfunctions in wetware and hardware…
- Mikhail Elashkin from the Independent Group "Developing Games Software", Russia, Moscow
- Sigmund Kyrre Aas (was a student at NTNU, Trondheim, Norway)
- Mineralogy Database have a lot of information and images, plus a large link-section to other related sites. A large portion of the values in these files are from that site.
- This site has a page with links to pdf's for making paper models of crystal shapes, and a program for crystal shape editing called KrystalShaper that can be used for creating pdf's and POV-files!
- The Mineral and Gemstone Kingdom - The Mineral and Gemstone Kingdom is a free informational and educational guide to rocks, minerals, gemstones, and jewelry. This site has been providing detailed information and photos of hundreds of mineral and gemstone since 1997 and is one of the leading education resources on minerals and gemstones.
- List of refractive indices at Wikipedia and many other pages at Wikipedia
- Mindat.org - According to their site, they are the world’s leading authority on minerals and their localities, deposits, and mines worldwide.
- Gemdat.org - Sister site to Mindat, the gemstone and gemology information website
- Amethyst Galleries' Mineral Gallery. If you want to know more about crystals, gemstones and other minerals then this is a fine startpoint.
- List of Refractive Indices of Solvents from Louisiana State University
- The Engineering ToolBox - Refractive Index for some common Liquids, Solids and Gases - Refractive Index for some common Liquids, Solids and Gases
- LHCb - The IOR value for Perfluoro-n-butane, used in the RICH1 detector at the LHCb experiment comes from here.
- The Physics Hypertextbook - Refraction - The Physics Hypertextbook - Refraction
- International Gem Society's list of Gemstones and Refraction Liquids and list of Common Household Liquids
- RefractiveIndex.INFO- Refractive index database
- PubChem - U.S. National Library of Medicin PubChem - the world's largest collection of freely accessible chemical information.
- List of solvents at the Polymer Analysis Laboratory at Louisiana State University
- For all the values, the source is refererenced in a comment after the IOR value like this [1]. The number is refering to a numbered link in the sources.md file.
Birefringence is the difference between the highest and lowest IOR in a mineral. Most minerals have a very low birefringence, notable exceptions is the carbonates. The birefringence causes the ray of light that enters a mineral to split in two rays, one slow and one fast. When the two rays exits the crystal they are bent in two different angles. If you were to look through such a mineral (maybe calcite, it has one of the highest birefringence values), you would see two pictures. This is also called double refraction. I will include the birefringence values that I have, which is for most of the uniaxial and biaxial minerals. Hopefully someone will create a patch so it can be of use someday. The birefringence values have been separated into its own file, IOR_Birefringence.inc that will not be loaded by default. To include it, change the value of the flag Use_Birefringence
to TRUE
in the NewIOR.inc file.
Dispersion is a little more complex than birefringence. Birefringence is affecting all wavelengths of light equally. But refraction is affected by the wavelength too. Blue light is bent more than green light, which is bent more than red light. When the dispersion is low, the white light exits the crystal almost unaffected and we see it as white light. But if the dispersion is high, the different colours are bent in different angles. This is the effect that causes the fire or flashes of colours in cut gemstones like diamond and zircon. This is also the effect that causes the light to split in a glass prism or a drop of water, giving us the rainbow. The dispersion values are declared after the IOR-value for those minerals I have values for.
The crystals have been separated into 3 files based on their cleavage structure. The subject is fairly complex, and I have not figured it all out yet. So I will not have a long explanation on the subject here. If you want to read up on it, then take a look at some of the websites that I have listed above.
Isometric and amorphous (like glass) minerals have essentially the same structure or lack there of, in all directions and so have only one index of refraction and are called isotropic minerals. These minerals are listed in the IOR_Isotropic.inc file. Other elements like various organic or artificial compounds are also included here.
Hexagonal, trigonal and tetragonal minerals have a different structure along their primary axes than they do in all other directions and for this reason they have two indices of refraction, one along the primary axis and one for every other direction. These minerals are called uniaxial minerals for their one unique direction. These minerals are listed in the IOR_Uniaxial.inc file.
Orthorhombic, monoclinic and triclinic minerals have two planes of equal refractive indices and are called biaxial. These minerals are listed in the IOR_Biaxial.inc file.
These minerals do not have an ordered structure like crystals. They include most types of glass, and minerals like amber, opal, tektites and obsidian. These minerals are listed in the IOR_Isotropic.inc file with the isometric minerals.
You will find the IOR-values for gasses and liquids in IOR_Gases.inc and IOR_Liquids.inc.
This is an extract from the other files containing the IOR-values for various common gemstones. These minerals are listed in the IOR_Gemstones.inc file. The selection is based on the minerals that are listed as gemstones on Gemdat.org.
From an old include file called Gems.inc. Creator is unknown. Anyone who recognice this? It contains object definitions for 6 different common gemstone cuts (Brillant57, Brillant58, Stairs, Square_Stairs, Emerald_Stairs and Cabochon). It also contains formulaes for calculating the carat weight for many cuts. You find these in the Gem_Cuts.inc file.
These two files are not loaded by default, to include them, change the flag Use_Specials
to TRUE
in the NewIOR.inc file.
- - Decide if going to order the minerals based on Dana classification in addition to the current cleavage ordering.
- - Use
MEDIAN
instead ofAVERAGE
in calculations