summaryrefslogtreecommitdiffstats
path: root/libdimension/canvas_pigment.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-think colors.Tavian Barnes2011-12-141-4/+2
| | | | | | | | | 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.
* Make API more consistent.Tavian Barnes2011-10-301-1/+2
| | | | Object methods should be dmnsn_<object>_<fn>().
* Round correctly when converting colors to integers.Tavian Barnes2011-09-181-3/+3
|
* Vast libdimension API and internals improvements.Tavian Barnes2011-06-131-2/+0
| | | | | Couldn't really do these while I was trying to be POV-Ray compatible, 'cause they would've broken compatibility.
* Don't use awkward (*fptr)() syntax.Tavian Barnes2011-04-031-2/+2
|
* Update email address.Tavian Barnes2011-03-081-1/+1
|
* Document libdimension with Doxygen.Tavian Barnes2010-11-141-20/+21
|
* Rename dmnsn_matrix_*_mul() to dmnsn_transform_*().Tavian Barnes2010-04-171-1/+1
|
* Fix canvas_pigments with negative coordinates.Tavian Barnes2010-04-151-7/+4
|
* Add transformations to textures and pigments.Tavian Barnes2010-04-151-0/+2
| | | | | Also, object intersection callbacks are now responsible for handling their own transformations.
* New canvas pigment (image map).Tavian Barnes2010-04-131-0/+58