Difference between revisions of "Reference:Consts.inc"
Jump to navigation
Jump to search
(Created page with "{{#indexentry:include files, const.inc}} <p>This file defines a number of constants, including things such as mapping types and ior definitions.</p> {{#indexentry:include fil...") |
m (Indexentries fix) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
<p>This file defines a number of constants, including things such as mapping types and ior definitions.</p> | <p>This file defines a number of constants, including things such as mapping types and ior definitions.</p> | ||
+ | ==Vector constants== | ||
{{#indexentry:include files, vector constants}} | {{#indexentry:include files, vector constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>o</code> = < 0, 0, 0> (origin)<!--</dt>---> | <dt><code>o</code> = < 0, 0, 0> (origin)<!--</dt>---> | ||
Line 11: | Line 11: | ||
</dl> | </dl> | ||
+ | ==Map type constants== | ||
{{#indexentry:include files, map type constants}} | {{#indexentry:include files, map type constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>Plane_Map</code> = 0<!--</dt>---> | <dt><code>Plane_Map</code> = 0<!--</dt>---> | ||
Line 20: | Line 20: | ||
</dl> | </dl> | ||
+ | ==Interpolation type constants== | ||
{{#indexentry:include files, interpolation type constants}} | {{#indexentry:include files, interpolation type constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>Bi</code> = 2<!--</dt>---> | <dt><code>Bi</code> = 2<!--</dt>---> | ||
Line 27: | Line 27: | ||
</dl> | </dl> | ||
+ | ==Fog type constants== | ||
{{#indexentry:include files, fog type constants}} | {{#indexentry:include files, fog type constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>Uniform_Fog</code> = 1<!--</dt>---> | <dt><code>Uniform_Fog</code> = 1<!--</dt>---> | ||
Line 34: | Line 34: | ||
</dl> | </dl> | ||
+ | ==Focal blur hexgrid constants== | ||
{{#indexentry:include files, focal blur hexgrid constants}} | {{#indexentry:include files, focal blur hexgrid constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>Hex_Blur1</code> = 7<!--</dt>---> | <dt><code>Hex_Blur1</code> = 7<!--</dt>---> | ||
Line 42: | Line 42: | ||
</dl> | </dl> | ||
+ | ==IORs== | ||
{{#indexentry:include files, ior constants}} | {{#indexentry:include files, ior constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>Air_Ior</code> = 1.000292<!--</dt>---> | <dt><code>Air_Ior</code> = 1.000292<!--</dt>---> | ||
Line 73: | Line 73: | ||
</dl> | </dl> | ||
+ | ==Dispersion amounts== | ||
{{#indexentry:include files, dispersion amount constants}} | {{#indexentry:include files, dispersion amount constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>Quartz_Glass_Dispersion</code> = 1.012<!--</dt>---> | <dt><code>Quartz_Glass_Dispersion</code> = 1.012<!--</dt>---> | ||
Line 82: | Line 82: | ||
</dl> | </dl> | ||
+ | ==Scattering media type constants== | ||
{{#indexentry:include files, scattering media type constants}} | {{#indexentry:include files, scattering media type constants}} | ||
− | |||
<dl> | <dl> | ||
<dt><code>ISOTROPIC_SCATTERING</code> = 1;<!--</dt>---> | <dt><code>ISOTROPIC_SCATTERING</code> = 1;<!--</dt>---> |
Latest revision as of 01:30, 17 December 2016
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;