summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some -Wextra warnings.Tavian Barnes2010-06-152-4/+4
|
* Bulk-load CSG unions.Tavian Barnes2010-06-143-11/+40
| | | | The old way made O(n) PR-trees for no particular reason.
* Add dmnsn_prtree_inside() benchmark.Tavian Barnes2010-06-071-11/+32
|
* New dmnsn_bounding_box_is_infinite() predicate.Tavian Barnes2010-06-063-8/+10
|
* Don't use an anonymous union in prtree.c.Tavian Barnes2010-06-061-25/+25
|
* New bounding box special constructors.Tavian Barnes2010-06-065-31/+37
|
* New dmnsn_prtree_inside() function, rename dmnsn_prtree_search().Tavian Barnes2010-06-066-20/+59
|
* Add children to dmnsn_objects, which enables splitting unions.Tavian Barnes2010-06-055-62/+68
| | | | Also, use PR-trees for unions internally.
* Rename `precompute' to `init'.Tavian Barnes2010-06-046-34/+34
|
* Use precompute callback for CSG objects.Tavian Barnes2010-06-041-76/+123
|
* Add refcounts to textures and interiors.Tavian Barnes2010-06-034-11/+31
|
* Add precompute callback to objects.Tavian Barnes2010-05-312-4/+12
|
* Precompute objects in dmnsn_raytrace_scene() rather than dmnsn_new_prtree().Tavian Barnes2010-05-303-11/+8
|
* Slight prtree search optimization.Tavian Barnes2010-05-291-5/+5
| | | | Exploit floating-point infinities to eliminate special t < 0.0 condition.
* Clean up sphere intersection code a bit.Tavian Barnes2010-05-252-7/+7
|
* Plug leak in list benchmark.Tavian Barnes2010-05-221-0/+1
|
* Add std-options check to 'make installcheck'.Tavian Barnes2010-05-212-2/+16
|
* Use quiet build and colored tests.Tavian Barnes2010-05-212-15/+17
|
* Use "dimension.h" rather than <dimension.h> in #includes.Tavian Barnes2010-05-213-3/+3
|
* Use mixed declarations in array benchmark.Tavian Barnes2010-05-211-6/+5
|
* Add list benchmark.Tavian Barnes2010-05-212-4/+140
|
* Fix memory handling in dmnsn_new_thread().Tavian Barnes2010-05-211-1/+2
|
* Store the bounding boxes of child PR-tree nodes in the parent.Tavian Barnes2010-05-202-60/+67
| | | | This improves cache locality and is good for about a 10% performance boost.
* New dmnsn_vector_element() function.Tavian Barnes2010-05-181-0/+25
|
* .gitignore libdimension.pc.Tavian Barnes2010-05-171-0/+3
|
* Use /* style comments instead of // in realize.c.Tavian Barnes2010-05-171-2/+2
|
* Add a pkg-config file to libdimension.Tavian Barnes2010-05-133-0/+15
|
* Don't attempt to use profile data for profiling build.Tavian Barnes2010-05-131-1/+1
|
* Fix some copyright dates.Tavian Barnes2010-05-1080-81/+81
|
* Write some more docs, and fix a couple things noticed while writing them.Tavian Barnes2010-05-105-15/+166
|
* New dmnsn_new_thread() function.Tavian Barnes2010-05-096-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 Barnes2010-05-092-4/+1
|
* New DMNSN_ARRAY_FOREACH() macro, faster than iterating with dmnsn_array_get().Tavian Barnes2010-05-0812-218/+169
|
* Handle degenerate cases in ray/box intersections.Tavian Barnes2010-05-082-1/+19
|
* Fix argument to malloc().Tavian Barnes2010-05-071-1/+1
|
* Don't store unbounded objects (planes, etc.) in the PR-tree.Tavian Barnes2010-05-072-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 Barnes2010-05-072-7/+24
|
* Make tests pass with -fno-signed-zeros.Tavian Barnes2010-05-061-2/+4
|
* Only render in one combined `render' test.Tavian Barnes2010-05-064-83/+178
| | | | GL and PNG tests now only test import/export.
* Get rid of "../" in #includes.Tavian Barnes2010-05-068-8/+8
|
* Use C99 for loop initializers.Tavian Barnes2010-05-0524-177/+127
|
* Write a PR-tree test.Tavian Barnes2010-05-052-2/+63
|
* Optimize ray-AABB intersection tests a bit.Tavian Barnes2010-05-051-51/+29
|
* Make dmnsn_new_prtree() handle empty scenes.Tavian Barnes2010-05-051-0/+6
|
* Fix prtree benchmark.Tavian Barnes2010-05-051-95/+24
|
* Replace BVSTs with priority R-trees.Tavian Barnes2010-05-0510-517/+636
|
* Optimize cube intersection function a bit.Tavian Barnes2010-05-041-59/+82
|
* Add dmnsn_{min,max}() inlines.Tavian Barnes2010-05-041-0/+14
|
* Don't apply the transformations which create an object to its textures.Tavian Barnes2010-05-031-0/+13
| | | | For example, sphere { 0, 2 } would scale the texture by a factor of 2.
* Don't apply object modifiers to a NULL CSG object.Tavian Barnes2010-05-031-1/+2
|