Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move platform-specific stuff in libdimension into platform.c. | Tavian Barnes | 2010-06-29 | 4 | -26/+48 | |
| | ||||||
* | Use sched_getaffinity() rather than sysconf(_SC_NPROCESSORS_ONLN). | Tavian Barnes | 2010-06-28 | 5 | -10/+72 | |
| | | | | Also, abstract cpu counting into dedicated dmnsn_ncpus() function. | |||||
* | Don't make a degenerate sphere in transformations.pov. | Tavian Barnes | 2010-06-28 | 3 | -7/+7 | |
| | ||||||
* | Whitespace fixes. | Tavian Barnes | 2010-06-20 | 2 | -2/+2 | |
| | ||||||
* | Add some macros to make printf()-ing geometric types easier. | Tavian Barnes | 2010-06-20 | 1 | -0/+18 | |
| | ||||||
* | Abstract syntax tree improvements. | Tavian Barnes | 2010-06-19 | 9 | -139/+138 | |
| | | | | Keep objects in a single DMNSN_AST_OBJECT node type. | |||||
* | Fully implement POV-Ray transformations. | Tavian Barnes | 2010-06-17 | 13 | -57/+324 | |
| | ||||||
* | Fix some -Wextra warnings. | Tavian Barnes | 2010-06-15 | 2 | -4/+4 | |
| | ||||||
* | Bulk-load CSG unions. | Tavian Barnes | 2010-06-14 | 3 | -11/+40 | |
| | | | | The old way made O(n) PR-trees for no particular reason. | |||||
* | Add dmnsn_prtree_inside() benchmark. | Tavian Barnes | 2010-06-07 | 1 | -11/+32 | |
| | ||||||
* | New dmnsn_bounding_box_is_infinite() predicate. | Tavian Barnes | 2010-06-06 | 3 | -8/+10 | |
| | ||||||
* | Don't use an anonymous union in prtree.c. | Tavian Barnes | 2010-06-06 | 1 | -25/+25 | |
| | ||||||
* | New bounding box special constructors. | Tavian Barnes | 2010-06-06 | 5 | -31/+37 | |
| | ||||||
* | New dmnsn_prtree_inside() function, rename dmnsn_prtree_search(). | Tavian Barnes | 2010-06-06 | 6 | -20/+59 | |
| | ||||||
* | Add children to dmnsn_objects, which enables splitting unions. | Tavian Barnes | 2010-06-05 | 5 | -62/+68 | |
| | | | | Also, use PR-trees for unions internally. | |||||
* | Rename `precompute' to `init'. | Tavian Barnes | 2010-06-04 | 6 | -34/+34 | |
| | ||||||
* | Use precompute callback for CSG objects. | Tavian Barnes | 2010-06-04 | 1 | -76/+123 | |
| | ||||||
* | Add refcounts to textures and interiors. | Tavian Barnes | 2010-06-03 | 4 | -11/+31 | |
| | ||||||
* | Add precompute callback to objects. | Tavian Barnes | 2010-05-31 | 2 | -4/+12 | |
| | ||||||
* | Precompute objects in dmnsn_raytrace_scene() rather than dmnsn_new_prtree(). | Tavian Barnes | 2010-05-30 | 3 | -11/+8 | |
| | ||||||
* | Slight prtree search optimization. | Tavian Barnes | 2010-05-29 | 1 | -5/+5 | |
| | | | | Exploit floating-point infinities to eliminate special t < 0.0 condition. | |||||
* | Clean up sphere intersection code a bit. | Tavian Barnes | 2010-05-25 | 2 | -7/+7 | |
| | ||||||
* | Plug leak in list benchmark. | Tavian Barnes | 2010-05-22 | 1 | -0/+1 | |
| | ||||||
* | Add std-options check to 'make installcheck'. | Tavian Barnes | 2010-05-21 | 2 | -2/+16 | |
| | ||||||
* | Use quiet build and colored tests. | Tavian Barnes | 2010-05-21 | 2 | -15/+17 | |
| | ||||||
* | Use "dimension.h" rather than <dimension.h> in #includes. | Tavian Barnes | 2010-05-21 | 3 | -3/+3 | |
| | ||||||
* | Use mixed declarations in array benchmark. | Tavian Barnes | 2010-05-21 | 1 | -6/+5 | |
| | ||||||
* | Add list benchmark. | Tavian Barnes | 2010-05-21 | 2 | -4/+140 | |
| | ||||||
* | Fix memory handling in dmnsn_new_thread(). | Tavian Barnes | 2010-05-21 | 1 | -1/+2 | |
| | ||||||
* | Store the bounding boxes of child PR-tree nodes in the parent. | Tavian Barnes | 2010-05-20 | 2 | -60/+67 | |
| | | | | This improves cache locality and is good for about a 10% performance boost. | |||||
* | New dmnsn_vector_element() function. | Tavian Barnes | 2010-05-18 | 1 | -0/+25 | |
| | ||||||
* | .gitignore libdimension.pc. | Tavian Barnes | 2010-05-17 | 1 | -0/+3 | |
| | ||||||
* | Use /* style comments instead of // in realize.c. | Tavian Barnes | 2010-05-17 | 1 | -2/+2 | |
| | ||||||
* | Add a pkg-config file to libdimension. | Tavian Barnes | 2010-05-13 | 3 | -0/+15 | |
| | ||||||
* | Don't attempt to use profile data for profiling build. | Tavian Barnes | 2010-05-13 | 1 | -1/+1 | |
| | ||||||
* | Fix some copyright dates. | Tavian Barnes | 2010-05-10 | 80 | -81/+81 | |
| | ||||||
* | Write some more docs, and fix a couple things noticed while writing them. | Tavian Barnes | 2010-05-10 | 5 | -15/+166 | |
| | ||||||
* | New dmnsn_new_thread() function. | Tavian Barnes | 2010-05-09 | 6 | -174/+228 | |
| | | | | | | | Two advantages: first, waiters are guaranteed to wake if a dmnsn_error() cancels a thread. Second, the thread library is fully abstracted over by threads.{c,h} and progress.{c,h} now, though raytrace.c is still using pthread_create() directly. | |||||
* | Clean up some unused variables. | Tavian Barnes | 2010-05-09 | 2 | -4/+1 | |
| | ||||||
* | New DMNSN_ARRAY_FOREACH() macro, faster than iterating with dmnsn_array_get(). | Tavian Barnes | 2010-05-08 | 12 | -218/+169 | |
| | ||||||
* | 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 | |
| | ||||||
* | Make tests pass with -fno-signed-zeros. | Tavian Barnes | 2010-05-06 | 1 | -2/+4 | |
| | ||||||
* | Only render in one combined `render' test. | Tavian Barnes | 2010-05-06 | 4 | -83/+178 | |
| | | | | GL and PNG tests now only test import/export. | |||||
* | Get rid of "../" in #includes. | Tavian Barnes | 2010-05-06 | 8 | -8/+8 | |
| | ||||||
* | Use C99 for loop initializers. | Tavian Barnes | 2010-05-05 | 24 | -177/+127 | |
| | ||||||
* | Write a PR-tree test. | Tavian Barnes | 2010-05-05 | 2 | -2/+63 | |
| | ||||||
* | Optimize ray-AABB intersection tests a bit. | Tavian Barnes | 2010-05-05 | 1 | -51/+29 | |
| |