Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle degenerate cases in ray/box intersections. | Tavian Barnes | 2010-05-08 | 2 | -1/+19 |
| | |||||
* | Fix argument to malloc(). | Tavian Barnes | 2010-05-07 | 1 | -1/+1 |
| | |||||
* | Don't store unbounded objects (planes, etc.) in the PR-tree. | Tavian Barnes | 2010-05-07 | 2 | -24/+94 |
| | | | | | Keep them in a dmnsn_array* instead. This makes the tree better and saves us some search time. | ||||
* | New dmnsn_array_from_list() function. | Tavian Barnes | 2010-05-07 | 2 | -7/+24 |
| | |||||
* | Use C99 for loop initializers. | Tavian Barnes | 2010-05-05 | 12 | -99/+78 |
| | |||||
* | Optimize ray-AABB intersection tests a bit. | Tavian Barnes | 2010-05-05 | 1 | -51/+29 |
| | |||||
* | Make dmnsn_new_prtree() handle empty scenes. | Tavian Barnes | 2010-05-05 | 1 | -0/+6 |
| | |||||
* | Replace BVSTs with priority R-trees. | Tavian Barnes | 2010-05-05 | 6 | -446/+606 |
| | |||||
* | Optimize cube intersection function a bit. | Tavian Barnes | 2010-05-04 | 1 | -59/+82 |
| | |||||
* | Add dmnsn_{min,max}() inlines. | Tavian Barnes | 2010-05-04 | 1 | -0/+14 |
| | |||||
* | Remove debugging code from dmnsn_list_sort(). | Tavian Barnes | 2010-05-03 | 1 | -8/+2 |
| | |||||
* | Fix list sorting. | Tavian Barnes | 2010-05-01 | 2 | -9/+25 |
| | |||||
* | Implement list sorting. | Tavian Barnes | 2010-04-30 | 2 | -18/+109 |
| | |||||
* | Use dmnsn_assert() for array and list range checks. | Tavian Barnes | 2010-04-30 | 4 | -38/+19 |
| | |||||
* | Add a generic list type. | Tavian Barnes | 2010-04-30 | 5 | -2/+244 |
| | |||||
* | Fix some includes. | Tavian Barnes | 2010-04-27 | 19 | -2/+19 |
| | |||||
* | Fix some spurious includes. | Tavian Barnes | 2010-04-27 | 2 | -4/+3 |
| | |||||
* | Rename dmnsn_matrix_*_mul() to dmnsn_transform_*(). | Tavian Barnes | 2010-04-17 | 10 | -38/+38 |
| | |||||
* | Don't render transparent shadows with transparency off. | Tavian Barnes | 2010-04-17 | 1 | -1/+2 |
| | |||||
* | Fix canvas_pigments with negative coordinates. | Tavian Barnes | 2010-04-15 | 1 | -7/+4 |
| | |||||
* | Add plane object. | Tavian Barnes | 2010-04-15 | 3 | -0/+87 |
| | |||||
* | Support infinitely large bounding boxes. | Tavian Barnes | 2010-04-15 | 2 | -10/+17 |
| | |||||
* | Add transformations to textures and pigments. | Tavian Barnes | 2010-04-15 | 9 | -131/+149 |
| | | | | | Also, object intersection callbacks are now responsible for handling their own transformations. | ||||
* | New canvas pigment (image map). | Tavian Barnes | 2010-04-13 | 3 | -0/+61 |
| | |||||
* | Remove a bunch of errno.h includes. | Tavian Barnes | 2010-04-13 | 19 | -19/+0 |
| | |||||
* | Fix low-quality renders. | Tavian Barnes | 2010-04-11 | 1 | -0/+2 |
| | |||||
* | Get rid of some duplication in csg.c, and fix missed add of dmnsn_epsilon. | Tavian Barnes | 2010-04-11 | 1 | -163/+23 |
| | |||||
* | Don't use dynamic memory for dmnsn_intersection's. | Tavian Barnes | 2010-04-07 | 8 | -234/+224 |
| | | | | Drops us from ~400,000 allocs to ~1000. Oops ><. | ||||
* | Calculate CSG bounding boxes more accurately. | Tavian Barnes | 2010-04-07 | 1 | -9/+3 |
| | |||||
* | New dmnsn_malloc() function, and friends. | Tavian Barnes | 2010-04-07 | 30 | -696/+411 |
| | | | | | | 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. | ||||
* | Implement CSG differences in libdimension. | Tavian Barnes | 2010-04-06 | 1 | -1/+139 |
| | |||||
* | Re-cast rays properly in intersections and merges. | Tavian Barnes | 2010-04-06 | 1 | -9/+38 |
| | |||||
* | Add CSG merges to libdimension. | Tavian Barnes | 2010-04-06 | 1 | -0/+125 |
| | |||||
* | Add CSG intersections to libdimension. | Tavian Barnes | 2010-04-06 | 1 | -0/+125 |
| | |||||
* | Add CSG unions to libdimension. | Tavian Barnes | 2010-04-06 | 4 | -0/+179 |
| | |||||
* | New dmnsn_bounding_box type. | Tavian Barnes | 2010-04-06 | 7 | -104/+129 |
| | |||||
* | New dmnsn_vector_min() and _max() functions. | Tavian Barnes | 2010-04-06 | 2 | -7/+22 |
| | |||||
* | Make inside_fn's return bool. | Tavian Barnes | 2010-04-05 | 3 | -8/+10 |
| | |||||
* | Set errno on failures. | Tavian Barnes | 2010-04-01 | 22 | -39/+117 |
| | |||||
* | Add --disable-png configure option. | Tavian Barnes | 2010-04-01 | 2 | -2/+61 |
| | |||||
* | Add --disable-gl configure option. | Tavian Barnes | 2010-04-01 | 2 | -2/+50 |
| | |||||
* | New dmnsn_clear_canvas() function. | Tavian Barnes | 2010-03-24 | 2 | -0/+14 |
| | | | | Makes valgrind happier about the GL test. | ||||
* | Make float equality comparisons more relaxed. | Tavian Barnes | 2010-03-19 | 2 | -14/+17 |
| | |||||
* | Fix some warnings reported by clang static analysis. | Tavian Barnes | 2010-03-18 | 1 | -1/+0 |
| | |||||
* | Rename dmnsn_bvst_copy() to dmnsn_copy_bvst(). | Tavian Barnes | 2010-03-16 | 3 | -3/+3 |
| | |||||
* | Handle nested refractive objects correctly. | Tavian Barnes | 2010-03-02 | 1 | -11/+24 |
| | |||||
* | Implement refraction. | Tavian Barnes | 2010-02-25 | 1 | -5/+39 |
| | |||||
* | Point the normal vectors away from the object. | Tavian Barnes | 2010-02-25 | 5 | -13/+10 |
| | |||||
* | Add the dmnsn_interior* to dmnsn_intersection*. | Tavian Barnes | 2010-02-25 | 3 | -11/+14 |
| | |||||
* | Forgot to dmnsn_delete_interior() in dmnsn_delete_object(). | Tavian Barnes | 2010-02-25 | 1 | -0/+1 |
| |