summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/color.h
Commit message (Collapse)AuthorAgeFilesLines
* Modularize the libdimension codebase.Tavian Barnes2015-10-251-164/+13
|
* geometry: New dmnsn_clamp() function.Tavian Barnes2014-08-151-3/+3
|
* color: Rename saturate to clamp.Tavian Barnes2014-08-151-2/+2
|
* Add a C89 compliance test for the headers.Tavian Barnes2014-06-121-43/+47
| | | | | Technically we still require a couple things from C99 like "bool", but it works with -std=c89 under gcc.
* Add a C99 conformance test for the headers.Tavian Barnes2014-06-121-46/+42
|
* Fix comment on dmnsn_sRGB_inverse_gamma().Tavian Barnes2014-04-101-3/+3
|
* Add debugging tests for NaN values.Tavian Barnes2012-02-061-0/+7
|
* Re-think colors.Tavian Barnes2011-12-141-61/+131
| | | | | | | | | Color is a property of light, and thus doesn't include information about transparency. But canvas pixels and object pigments represent a color and a degree of transparency. The new type dmnsn_tcolor/ TColor encapsulates that information. Also, fix the transparent shadow implementation.
* Be more consistent about using sRGB in the client.Tavian Barnes2011-11-281-2/+7
| | | | Also, expose the sRGB C and C^-1 functions.
* Get rid of dmnsn_color_is_black().Tavian Barnes2011-11-071-10/+0
|
* Round correctly when converting colors to integers.Tavian Barnes2011-09-181-0/+12
|
* Add dmnsn_color printf macros.Tavian Barnes2011-09-121-3/+9
|
* Update copyright years.Tavian Barnes2011-08-311-1/+1
|
* Handle reflection of light and transmitted rays.Tavian Barnes2011-08-181-1/+3
|
* Rename "translucency" to "transparency".Tavian Barnes2011-08-121-2/+2
| | | | Perhaps I should look up terms before I use them.
* Handle sRGB gamma correctly.Tavian Barnes2011-05-281-0/+4
|
* Calculate alpha correctly for canvas exports.Tavian Barnes2011-05-201-0/+2
|
* Switch to Blender model of filtered transparency.Tavian Barnes2011-05-201-6/+4
|
* Get rid of include guards on sub-headers.Tavian Barnes2011-05-161-5/+0
|
* Make colors less abstract.Tavian Barnes2011-04-221-70/+28
|
* Take into account color intensity for filtered transparency in canvas export.Tavian Barnes2011-04-221-0/+2
|
* Fix up translucency semantics and API.Tavian Barnes2011-04-121-2/+6
|
* Fix '?.' typos.Tavian Barnes2011-04-111-1/+1
|
* Update email address.Tavian Barnes2011-03-081-1/+1
|
* Implement sky spheres.Tavian Barnes2010-11-191-0/+1
|
* End sentences with periods.Tavian Barnes2010-11-151-17/+17
|
* Document libdimension with Doxygen.Tavian Barnes2010-11-141-29/+69
|
* Add dmnsn_orange color.Tavian Barnes2010-11-081-1/+1
|
* Fix some copyright dates.Tavian Barnes2010-05-101-1/+1
|
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* New use dmnsn_color_gradient() for weighted reflections.Tavian Barnes2010-01-131-1/+1
|
* Clean up internal raytracing API a bit.Tavian Barnes2010-01-131-0/+5
|
* Implement reflection.Tavian Barnes2010-01-091-0/+1
|
* Work in sRGB to be more like POV-Ray.Tavian Barnes2009-12-071-8/+2
|
* Translucency support.Tavian Barnes2009-11-181-0/+1
|
* Use CIE 1931 RGB for dmnsn_color_illuminate().Tavian Barnes2009-11-171-1/+8
|
* Rudimentary light/shadow handling.Tavian Barnes2009-11-091-3/+3
|
* Render pigments.Tavian Barnes2009-07-161-0/+3
|
* Update license copyrights to 2009.Tavian Barnes2009-07-081-1/+1
|
* Yet more documentation.Tavian Barnes2009-06-271-1/+1
|
* Wrote more documentation.Tavian Barnes2009-06-271-1/+1
|
* Add lots of comments, and some code fixes discovered in the process.Tavian Barnes2009-06-261-3/+3
|
* Add new general array interface.Tavian Barnes2009-05-071-3/+3
|
* Add some comments.Tavian Barnes2009-04-121-8/+5
|
* Write C++ libdimension-png wrapper.Tavian Barnes2009-04-121-0/+1
|
* Make dmnsn_whitepoint const.Tavian Barnes2009-04-101-1/+1
|
* Rename whitepoint to dmnsn_whitepoint.Tavian Barnes2009-04-101-1/+1
|
* Clarify licenses; add libdimensionxx library.Tavian Barnes2009-04-101-8/+8
|
* Revamp color handling.Tavian Barnes2009-03-201-5/+46
|
* Use CIE xyY internally, rather than CIE XYZ.Tavian Barnes2009-03-011-7/+8
|