Reference:Consts.inc
Jump to navigation
Jump to search
This file defines a number of constants, including things such as mapping types and ior definitions.
Vector constants
o
= < 0, 0, 0> (origin)xy
= < 1, 1, 0>yz
= < 0, 1, 1>xz
= < 1, 0, 1>
Map type constants
Plane_Map
= 0Sphere_Map
= 1Cylinder_Map
= 2Torus_Map
= 5
Interpolation type constants
Bi
= 2Norm
= 4
Fog type constants
Uniform_Fog
= 1Ground_Fog
= 2
Focal blur hexgrid constants
Hex_Blur1
= 7Hex_Blur2
= 19Hex_Blur3
= 37
IORs
Air_Ior
= 1.000292Amethyst_Ior
= 1.550Apatite_Ior
= 1.635Aquamarine_Ior
= 1.575Beryl_Ior
= 1.575Citrine_Ior
= 1.550Crown_Glass_Ior
= 1.51Corundum_Ior
= 1.765Diamond_Ior
= 2.47Emerald_Ior
= 1.575Flint_Glass_Ior
= 1.71Flint_Glass_Heavy_Ior
= 1.8Flint_Glass_Medium_Ior
= 1.63Flint_Glass_Light_Ior
= 1.6Fluorite_Ior
= 1.434Gypsum_Ior
= 1.525Ice_Ior
= 1.31Plexiglas_Ior
= 1.5Quartz_Ior
= 1.550Quartz_Glass_Ior
= 1.458Ruby_Ior
= 1.765Salt_Ior
= 1.544Sapphire_Ior
= 1.765Topaz_Ior
= 1.620Tourmaline_Ior
= 1.650Water_Ior
= 1.33
Dispersion amounts
Quartz_Glass_Dispersion
= 1.012Water_Dispersion
= 1.007Diamond_Dispersion
= 1.035Sapphire_Dispersion
= 1.015
Scattering media type constants
ISOTROPIC_SCATTERING
= 1;MIE_HAZY_SCATTERING
= 2;MIE_MURKY_SCATTERING
= 3;RAYLEIGH_SCATTERING
= 4;HENYEY_GREENSTEIN_SCATTERING
= 5;