Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix some spurious includes. | Tavian Barnes | 2010-04-27 | 2 | -4/+3 | |
| | ||||||
* | Rename dmnsn_matrix_*_mul() to dmnsn_transform_*(). | Tavian Barnes | 2010-04-17 | 2 | -7/+7 | |
| | ||||||
* | Add plane object. | Tavian Barnes | 2010-04-15 | 1 | -0/+3 | |
| | ||||||
* | Add transformations to textures and pigments. | Tavian Barnes | 2010-04-15 | 2 | -0/+15 | |
| | | | | | Also, object intersection callbacks are now responsible for handling their own transformations. | |||||
* | New canvas pigment (image map). | Tavian Barnes | 2010-04-13 | 1 | -0/+2 | |
| | ||||||
* | Don't use dynamic memory for dmnsn_intersection's. | Tavian Barnes | 2010-04-07 | 1 | -7/+3 | |
| | | | | Drops us from ~400,000 allocs to ~1000. Oops ><. | |||||
* | New dmnsn_malloc() function, and friends. | Tavian Barnes | 2010-04-07 | 3 | -23/+42 | |
| | | | | | | 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. | |||||
* | Add CSG unions to libdimension. | Tavian Barnes | 2010-04-06 | 1 | -0/+33 | |
| | ||||||
* | New dmnsn_bounding_box type. | Tavian Barnes | 2010-04-06 | 2 | -6/+20 | |
| | ||||||
* | New dmnsn_vector_min() and _max() functions. | Tavian Barnes | 2010-04-06 | 1 | -0/+20 | |
| | ||||||
* | Make inside_fn's return bool. | Tavian Barnes | 2010-04-05 | 1 | -2/+4 | |
| | ||||||
* | New dmnsn_clear_canvas() function. | Tavian Barnes | 2010-03-24 | 1 | -0/+1 | |
| | | | | Makes valgrind happier about the GL test. | |||||
* | Make float equality comparisons more relaxed. | Tavian Barnes | 2010-03-19 | 1 | -1/+17 | |
| | ||||||
* | Add the dmnsn_interior* to dmnsn_intersection*. | Tavian Barnes | 2010-02-25 | 1 | -3/+4 | |
| | ||||||
* | New dmnsn_interior* type. | Tavian Barnes | 2010-02-25 | 2 | -0/+45 | |
| | ||||||
* | Rename `limit' scene field to `reclimit'. | Tavian Barnes | 2010-02-23 | 1 | -2/+2 | |
| | ||||||
* | Revert "Use dmnsn_assert for array range checks." | Tavian Barnes | 2010-02-10 | 1 | -3/+14 | |
| | | | | | | This reverts commit a4eb36a5df16fadfb0d86167acaaef7bd60daf7c. Having dmnsn_assert() in inline functions may change their definition depending on the value of NDEBUG, which violates C++ inline rules. | |||||
* | Use dmnsn_assert for array range checks. | Tavian Barnes | 2010-02-10 | 1 | -14/+3 | |
| | ||||||
* | New dmnsn_assert() macro for invariant violations. | Tavian Barnes | 2010-02-09 | 1 | -0/+10 | |
| | ||||||
* | Fix up license blurbs and copyright year. | Tavian Barnes | 2010-01-27 | 18 | -18/+18 | |
| | ||||||
* | Check for empty array in dmnsn_array_pop(). | Tavian Barnes | 2010-01-18 | 1 | -0/+5 | |
| | ||||||
* | Add proper range checks to dmnsn_array_insert() and _remove(). | Tavian Barnes | 2010-01-18 | 1 | -4/+11 | |
| | ||||||
* | Don't use __FILE__ as a fallback for DMNSN_FUNC. | Tavian Barnes | 2010-01-18 | 1 | -1/+1 | |
| | | | | We already print __FILE__, so that would look weird. | |||||
* | Make quality flags work in C++. | Tavian Barnes | 2010-01-17 | 1 | -2/+4 | |
| | | | | C++ doesn't handle bitwise ops for enum types. | |||||
* | Make number of raytracing worker threads configurable. | Tavian Barnes | 2010-01-14 | 1 | -0/+3 | |
| | ||||||
* | New use dmnsn_color_gradient() for weighted reflections. | Tavian Barnes | 2010-01-13 | 1 | -1/+1 | |
| | ||||||
* | Clean up internal raytracing API a bit. | Tavian Barnes | 2010-01-13 | 1 | -0/+5 | |
| | ||||||
* | Split finish_fn into diffuse_fn and specular_fn. | Tavian Barnes | 2010-01-13 | 1 | -6/+10 | |
| | ||||||
* | Implement reflection. | Tavian Barnes | 2010-01-09 | 4 | -3/+13 | |
| | ||||||
* | Make recursion limit a scene parameter. | Tavian Barnes | 2010-01-08 | 1 | -0/+3 | |
| | ||||||
* | Kill DMNSN_RENDER_OBJECTS. | Tavian Barnes | 2010-01-08 | 1 | -5/+4 | |
| | ||||||
* | Make quality settings into flags. | Tavian Barnes | 2010-01-06 | 1 | -8/+8 | |
| | ||||||
* | Separate finishes into single-purpose finishes. | Tavian Barnes | 2009-12-23 | 2 | -6/+11 | |
| | ||||||
* | Work in sRGB to be more like POV-Ray. | Tavian Barnes | 2009-12-07 | 2 | -9/+3 | |
| | ||||||
* | Fake camera semantics until I figure out the real ones. | Tavian Barnes | 2009-11-27 | 1 | -0/+16 | |
| | ||||||
* | Add source filename to dmnsn_error() output. | Tavian Barnes | 2009-11-25 | 1 | -2/+5 | |
| | ||||||
* | Use dmnsn_new_*() rather than dmnsn_*_construct(). | Tavian Barnes | 2009-11-19 | 1 | -6/+6 | |
| | ||||||
* | Translucency support. | Tavian Barnes | 2009-11-18 | 2 | -0/+2 | |
| | ||||||
* | Use CIE 1931 RGB for dmnsn_color_illuminate(). | Tavian Barnes | 2009-11-17 | 1 | -1/+8 | |
| | ||||||
* | Implement phong shading. | Tavian Barnes | 2009-11-17 | 1 | -2/+3 | |
| | ||||||
* | Make finish callback a propper BRDF. | Tavian Barnes | 2009-11-17 | 2 | -3/+14 | |
| | ||||||
* | Use "diffuse" instead of "specular" for diffuse finish. | Tavian Barnes | 2009-11-17 | 1 | -2/+2 | |
| | ||||||
* | Use finishes. | Tavian Barnes | 2009-11-09 | 1 | -0/+1 | |
| | ||||||
* | Add support for finishes (BRDFs). | Tavian Barnes | 2009-11-09 | 2 | -0/+58 | |
| | ||||||
* | Calculate surface normals in intersection callbacks. | Tavian Barnes | 2009-11-09 | 1 | -0/+3 | |
| | ||||||
* | Store inverse object transformation in a separate field. | Tavian Barnes | 2009-11-09 | 1 | -1/+1 | |
| | ||||||
* | Rudimentary light/shadow handling. | Tavian Barnes | 2009-11-09 | 2 | -3/+4 | |
| | ||||||
* | Add lights to scenes. | Tavian Barnes | 2009-11-09 | 1 | -3/+6 | |
| | ||||||
* | Add support for lights. | Tavian Barnes | 2009-11-09 | 2 | -0/+77 | |
| | ||||||
* | Clean up some dmnsn_new_*() functions. | Tavian Barnes | 2009-10-26 | 1 | -10/+11 | |
| | | | | | Rather than special-case every failed memory allocation, just make dmnsn_delete_*() more robust and call it. |