summaryrefslogtreecommitdiffstats
path: root/libdimension/texture.c
Commit message (Collapse)AuthorAgeFilesLines
* texture: Use pool.Tavian Barnes2014-05-311-21/+6
|
* finish: Use pool.Tavian Barnes2014-05-311-1/+0
|
* pigment: Use pool.Tavian Barnes2014-05-311-2/+0
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-061-2/+2
|
* Use macros to initialize refcounts.Tavian Barnes2011-12-241-1/+1
|
* Make API more consistent.Tavian Barnes2011-10-301-3/+3
| | | | Object methods should be dmnsn_<object>_<fn>().
* Update copyright years.Tavian Barnes2011-08-311-1/+1
|
* Vast libdimension API and internals improvements.Tavian Barnes2011-06-131-7/+31
| | | | | Couldn't really do these while I was trying to be POV-Ray compatible, 'cause they would've broken compatibility.
* Don't allocate reference counts on the heap.Tavian Barnes2011-05-281-2/+1
|
* Add a refcount to objects.Tavian Barnes2011-05-161-1/+1
|
* Consolidate reference counting code.Tavian Barnes2011-05-161-11/+6
|
* Update email address.Tavian Barnes2011-03-081-1/+1
|
* Split pigments and finishes into their own headers/sources.Tavian Barnes2010-12-021-63/+1
|
* Make some empty parameter lists explicit.Tavian Barnes2010-11-301-3/+3
|
* Rename dmnsn_*_init() to dmnsn_initialize_*().Tavian Barnes2010-11-221-10/+10
|
* Document libdimension with Doxygen.Tavian Barnes2010-11-141-0/+5
|
* Add quick_color to pigments.Tavian Barnes2010-11-081-3/+5
|
* Fix double-init bug for inherited textures.Tavian Barnes2010-11-081-5/+6
|
* Add pattern framework, impelement checker pattern.Tavian Barnes2010-11-061-0/+5
|
* Add dmnsn_free() to match dmnsn_malloc().Tavian Barnes2010-09-261-4/+4
|
* Rename `precompute' to `init'.Tavian Barnes2010-06-041-3/+3
|
* Add refcounts to textures and interiors.Tavian Barnes2010-06-031-6/+13
|
* Fix some copyright dates.Tavian Barnes2010-05-101-1/+1
|
* Fix some includes.Tavian Barnes2010-04-271-0/+1
|
* Add transformations to textures and pigments.Tavian Barnes2010-04-151-0/+21
| | | | | Also, object intersection callbacks are now responsible for handling their own transformations.
* Remove a bunch of errno.h includes.Tavian Barnes2010-04-131-1/+0
|
* New dmnsn_malloc() function, and friends.Tavian Barnes2010-04-071-24/+11
| | | | | | I'm tired of checking for malloc failures everywhere, considering it never happens. So just bail out whenever it does. A lot of stuff is guaranteed to succeed if it returns now.
* Set errno on failures.Tavian Barnes2010-04-011-0/+7
|
* New dmnsn_interior* type.Tavian Barnes2010-02-251-1/+1
|
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* Split finish_fn into diffuse_fn and specular_fn.Tavian Barnes2010-01-131-1/+2
|
* Implement reflection.Tavian Barnes2010-01-091-3/+4
|
* Separate finishes into single-purpose finishes.Tavian Barnes2009-12-231-1/+3
|
* Add support for finishes (BRDFs).Tavian Barnes2009-11-091-2/+27
|
* Fix some memory leaks.Tavian Barnes2009-10-191-2/+7
| | | | | dmnsn_delete_pigment() was not using the free_fn, and kD splay trees were not being deleted after raytracing finished.
* Improve garbage handling of dmnsn_delete_object().Tavian Barnes2009-10-191-1/+4
|
* Add destructor callbacks for polymorphic C types, and use their baseTavian Barnes2009-07-161-2/+10
| | | | dmnsn_delete_*() function.
* Begin dmnsn_texture* type.Tavian Barnes2009-07-121-0/+50