Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Re-think colors. | Tavian Barnes | 2011-12-14 | 28 | -887/+716 | |
| | | | | | | | | | 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. | |||||
* | Fix reading of 8-bit PNG files. | Tavian Barnes | 2011-12-06 | 1 | -7/+7 | |
| | ||||||
* | Rename raytrace.{c,h} to ray_trace.{c,h}. | Tavian Barnes | 2011-12-05 | 5 | -4/+4 | |
| | ||||||
* | Hide the presence of dimension.wrapper from wrapper types. | Tavian Barnes | 2011-12-05 | 4 | -7/+9 | |
| | ||||||
* | Rename complex test to cube test. | Tavian Barnes | 2011-12-04 | 2 | -3/+3 | |
| | ||||||
* | Use a separate class for sRGB colors. | Tavian Barnes | 2011-12-04 | 6 | -81/+114 | |
| | ||||||
* | Use correct D65 values for dmnsn_color_intensity(). | Tavian Barnes | 2011-12-03 | 1 | -2/+1 | |
| | ||||||
* | Add .intensity() and .gray() methods to Colors. | Tavian Barnes | 2011-12-01 | 1 | -0/+5 | |
| | ||||||
* | Evaluate specular highlights before reflection. | Tavian Barnes | 2011-12-01 | 1 | -9/+11 | |
| | ||||||
* | Be more consistent about using sRGB in the client. | Tavian Barnes | 2011-11-28 | 6 | -56/+77 | |
| | | | | Also, expose the sRGB C and C^-1 functions. | |||||
* | Fix up malloc.h documentation. | Tavian Barnes | 2011-11-19 | 1 | -1/+1 | |
| | ||||||
* | Get rid of dmnsn_vector_element(). | Tavian Barnes | 2011-11-17 | 1 | -33/+0 | |
| | ||||||
* | Add a non-cached case to the PR-tree benchmark. | Tavian Barnes | 2011-11-17 | 1 | -0/+5 | |
| | ||||||
* | Add some branch instrumentation from gcov profile. | Tavian Barnes | 2011-11-16 | 3 | -6/+7 | |
| | ||||||
* | Add a dmnsn_unreachable() macro. | Tavian Barnes | 2011-11-16 | 7 | -14/+30 | |
| | | | | Also rename inline.h to compiler.h. | |||||
* | Pass -q to libtoolize in autogen.sh. | Tavian Barnes | 2011-11-15 | 1 | -1/+1 | |
| | ||||||
* | Get rid of DMNSN_ARRAY_FOREACH_REVERSE. | Tavian Barnes | 2011-11-13 | 1 | -11/+0 | |
| | ||||||
* | Get rid of dmnsn_color_is_black(). | Tavian Barnes | 2011-11-07 | 5 | -31/+15 | |
| | ||||||
* | Let Future objects be used as context managers. | Tavian Barnes | 2011-11-04 | 2 | -41/+36 | |
| | ||||||
* | Prevent hangs in dmnsn_polynomial_solve. | Tavian Barnes | 2011-11-04 | 1 | -13/+21 | |
| | ||||||
* | Add a preview window written with PyQt. | Tavian Barnes | 2011-11-04 | 4 | -3/+96 | |
| | ||||||
* | Don't hold the GIL for blocking operations. | Tavian Barnes | 2011-11-03 | 2 | -4/+8 | |
| | ||||||
* | Simplify loop condition in PR-tree traversal. | Tavian Barnes | 2011-11-03 | 1 | -6/+4 | |
| | | | | | Doing this used to actually generate *worse* code, but now it looks like it generates much better code. | |||||
* | Clean up PR-tree intersection code. | Tavian Barnes | 2011-11-02 | 1 | -24/+23 | |
| | ||||||
* | Add --enable-debug configure option. | Tavian Barnes | 2011-10-31 | 2 | -1/+16 | |
| | ||||||
* | Ship dimension client inside the Python package. | Tavian Barnes | 2011-10-31 | 13 | -253/+328 | |
| | ||||||
* | Use Rouillier and Zimmerman's version of the Uspensky algorithm. | Tavian Barnes | 2011-10-31 | 3 | -191/+153 | |
| | ||||||
* | Make PNG and GL share the same optimizer. | Tavian Barnes | 2011-10-30 | 6 | -74/+103 | |
| | ||||||
* | Make API more consistent. | Tavian Barnes | 2011-10-30 | 43 | -182/+215 | |
| | | | | Object methods should be dmnsn_<object>_<fn>(). | |||||
* | Rename progress objects to future objects. | Tavian Barnes | 2011-10-19 | 19 | -307/+303 | |
| | ||||||
* | Add a getrusage() implementation of dmnsn_get_times(). | Tavian Barnes | 2011-09-30 | 2 | -13/+58 | |
| | ||||||
* | Don't import dimension right away in dimension.in. | Tavian Barnes | 2011-09-29 | 1 | -1/+2 | |
| | | | | Fixes make distcheck. | |||||
* | Make the default background for a scene Black. | Tavian Barnes | 2011-09-29 | 1 | -4/+2 | |
| | | | | Fixes segfault on Scene(...).raytrace(). | |||||
* | Add `doc' target to libdimension-python, using pydoc. | Tavian Barnes | 2011-09-25 | 3 | -6/+15 | |
| | ||||||
* | Correct pattern documentation. | Tavian Barnes | 2011-09-23 | 1 | -1/+1 | |
| | ||||||
* | Document the _Transformable methods. | Tavian Barnes | 2011-09-23 | 1 | -0/+3 | |
| | ||||||
* | Use double rather than single quotes for Python strings. | Tavian Barnes | 2011-09-22 | 5 | -17/+17 | |
| | ||||||
* | Use a sandbox dict for globals when exec()ing the scene file. | Tavian Barnes | 2011-09-22 | 1 | -116/+120 | |
| | ||||||
* | Add a filename parameter to _raise_OSError(). | Tavian Barnes | 2011-09-20 | 1 | -5/+8 | |
| | ||||||
* | chdir() into the same directory as the scene file. | Tavian Barnes | 2011-09-20 | 1 | -3/+17 | |
| | ||||||
* | Make dmnsn_color_mul() scale dmnsn_color::trans too. | Tavian Barnes | 2011-09-19 | 1 | -2/+7 | |
| | ||||||
* | Fix --disable-png behaviour in the Python module. | Tavian Barnes | 2011-09-18 | 4 | -6/+23 | |
| | ||||||
* | Fix ./configure --{enable,disable}-png. | Tavian Barnes | 2011-09-18 | 1 | -0/+1 | |
| | | | | | If the first call to PKG_CHECK_MODULES() doesn't happen, a PKG_PROG_PKG_CONFIG is needed. | |||||
* | Add ImageMaps to Python module. | Tavian Barnes | 2011-09-18 | 5 | -9/+63 | |
| | ||||||
* | Round correctly when converting colors to integers. | Tavian Barnes | 2011-09-18 | 4 | -24/+35 | |
| | ||||||
* | Add finalizers to Progress objects. | Tavian Barnes | 2011-09-18 | 1 | -1/+11 | |
| | | | | | Allows fclose() to be called after the PNG file is written, for example. | |||||
* | Add .scale(), .translate(), and .rotate() methods to transformable objects. | Tavian Barnes | 2011-09-18 | 2 | -19/+23 | |
| | ||||||
* | Document and fix some things in the Python module. | Tavian Barnes | 2011-09-16 | 1 | -22/+28 | |
| | ||||||
* | Make Textures transformable. | Tavian Barnes | 2011-09-16 | 1 | -0/+5 | |
| | ||||||
* | Transform normals as pseudovectors, not vectors. | Tavian Barnes | 2011-09-14 | 8 | -47/+71 | |
| | | | | | | | | Also clarify the vector transformation API. Instead of dmnsn_transform_vector(), we have: - dmnsn_transform_point() - dmnsn_transform_direction() - dmnsn_transform_normal() |