summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
Commit message (Collapse)AuthorAgeFilesLines
* finish: Remove ->ptr fields.Tavian Barnes2014-05-271-23/+36
|
* interior: Kill ->ptr field.Tavian Barnes2014-05-271-5/+4
|
* pattern: Kill ->ptr field.Tavian Barnes2014-05-271-4/+14
|
* pigment: Kill ->ptr field.Tavian Barnes2014-05-271-7/+16
|
* light: Get rid of ->ptr field.Tavian Barnes2014-05-263-7/+16
|
* camera: Kill the ->ptr field.Tavian Barnes2014-05-261-5/+15
|
* Coding style fixes.Tavian Barnes2014-05-261-1/+1
|
* object: Get rid of void *ptr field.Tavian Barnes2014-05-261-4/+14
| | | | | | Instead, allow dmnsn_object to be embedded in a larger struct. This gives a consistent 1% speed boost.
* geometry: Add a matrix constructor from column vectors.Tavian Barnes2014-05-221-0/+11
|
* geometry.h: Fix copy-pasta.Tavian Barnes2014-05-221-2/+2
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-061-1/+9
|
* gl: Make drawing faster by using a better pixel format.Tavian Barnes2014-04-271-0/+11
|
* canvas: Avoid copying entire dmnsn_canvas_optimizer structs.Tavian Barnes2014-04-261-12/+8
|
* future: Add a dmnsn_future_is_done() function.Tavian Barnes2014-04-261-0/+7
|
* future: Add a race-free way to examine a partial computation.Tavian Barnes2014-04-231-1/+14
| | | | | | This allows safe OpenGL previews, for example. dmnsn_future* learned the dmnsn_future_{pause,resume}() functions which cause all worker threads to block. render.test now survives Helgrind with no errors.
* compiler.h: Fix extra semicolon in macro.Tavian Barnes2014-04-231-2/+2
|
* Don't check for NULL in DMNSN_INCREF().Tavian Barnes2014-04-101-8/+1
|
* Fix comment on dmnsn_sRGB_inverse_gamma().Tavian Barnes2014-04-101-3/+3
|
* Add some unit tests for dictionaries.Tavian Barnes2012-12-191-1/+1
|
* Make dmnsn_clear actually clear.Tavian Barnes2012-08-211-1/+1
|
* Add debugging tests for NaN values.Tavian Barnes2012-02-064-0/+54
|
* Print a backtrace on both warnings and errors.Tavian Barnes2012-01-011-2/+2
|
* Use macros to initialize refcounts.Tavian Barnes2011-12-241-3/+3
|
* Add dmnsn_tcolor printf macros.Tavian Barnes2011-12-171-0/+5
|
* Make triangles smooth.Tavian Barnes2011-12-171-4/+18
|
* Make refcount declarations uniform.Tavian Barnes2011-12-1510-29/+24
|
* Re-think colors.Tavian Barnes2011-12-147-97/+249
| | | | | | | | | 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.
* Rename raytrace.{c,h} to ray_trace.{c,h}.Tavian Barnes2011-12-051-0/+0
|
* Be more consistent about using sRGB in the client.Tavian Barnes2011-11-281-2/+7
| | | | Also, expose the sRGB C and C^-1 functions.
* Fix up malloc.h documentation.Tavian Barnes2011-11-191-1/+1
|
* Get rid of dmnsn_vector_element().Tavian Barnes2011-11-171-33/+0
|
* Add a dmnsn_unreachable() macro.Tavian Barnes2011-11-162-7/+24
| | | | Also rename inline.h to compiler.h.
* Get rid of DMNSN_ARRAY_FOREACH_REVERSE.Tavian Barnes2011-11-131-11/+0
|
* Get rid of dmnsn_color_is_black().Tavian Barnes2011-11-071-10/+0
|
* Use Rouillier and Zimmerman's version of the Uspensky algorithm.Tavian Barnes2011-10-311-4/+9
|
* Make API more consistent.Tavian Barnes2011-10-3010-30/+21
| | | | Object methods should be dmnsn_<object>_<fn>().
* Rename progress objects to future objects.Tavian Barnes2011-10-193-22/+22
|
* Correct pattern documentation.Tavian Barnes2011-09-231-1/+1
|
* Round correctly when converting colors to integers.Tavian Barnes2011-09-181-0/+12
|
* Transform normals as pseudovectors, not vectors.Tavian Barnes2011-09-142-29/+39
| | | | | | | | Also clarify the vector transformation API. Instead of dmnsn_transform_vector(), we have: - dmnsn_transform_point() - dmnsn_transform_direction() - dmnsn_transform_normal()
* Use dmnsn_object::intrinsic_trans from Python.Tavian Barnes2011-09-121-1/+1
|
* Add dmnsn_color printf macros.Tavian Barnes2011-09-121-3/+9
|
* Update copyright years.Tavian Barnes2011-08-3120-20/+20
|
* Replace sky_spheres with a single background pigment.Tavian Barnes2011-08-212-63/+1
|
* Don't dynamically allocate timers.Tavian Barnes2011-08-212-15/+7
|
* Support thread cancelation, and handle ^C in the client.Tavian Barnes2011-08-191-0/+6
|
* Handle reflection of light and transmitted rays.Tavian Barnes2011-08-182-3/+5
|
* Rename "translucency" to "transparency".Tavian Barnes2011-08-122-3/+3
| | | | Perhaps I should look up terms before I use them.
* Support rendering image subregions.Tavian Barnes2011-07-291-0/+6
| | | | This is the first step to supporting distributed renders.
* Add leopard pigment.Tavian Barnes2011-07-281-0/+6
|