Menu

Commit [r189]  Maximize  Restore  History

Added color conversion functions (rgb>spec6>rgb), based on Mario Marengo's VEX functions from his glass shader. Added optics data (Schott catalogue) for glass types, generated by modified mktables.C, also taken from Mario Marengo's glass shader. Changed the glass block so that dispersion in RYGCBV is done optionally if "usespec6" is toggled on, in which case the "ior" variable is ignored in favor of the IOR data taken from the tables, controlled by the "optics" variable (range [0,112]). Tables will get FreeSnell/Sopra n+k data later, color header will get extra color space conversions later as well.

rconstruct 2009-09-23

changed /blocks/ShadingFunctions/Complete/rtglass.xml
added /data/rib/shaders/rsl_shrimp_color.h
added /data/rib/shaders/rsl_shrimp_data.h
changed /data/rib/shaders/rsl_shrimp_shadingmodels.h
/blocks/ShadingFunctions/Complete/rtglass.xml Diff Switch to side-by-side view
Loading...
/data/rib/shaders/rsl_shrimp_color.h Diff Switch to side-by-side view
Loading...
/data/rib/shaders/rsl_shrimp_data.h Diff Switch to side-by-side view
Loading...
/data/rib/shaders/rsl_shrimp_shadingmodels.h Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.