summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove degeneracy test from ray-box intersections.Tavian Barnes2010-07-181-17/+25
| | | | | To avoid testing degenerate boxes, set prtree->root to NULL when the tree contains no bounded objects.
* Speed up cube intersection tests.Tavian Barnes2010-07-161-83/+60
|
* Add descriptive comment to new branchless ray-AABB intersection tests.Tavian Barnes2010-07-151-0/+9
|
* Remove some unneeded tests from ray-AABB intersection tests.Tavian Barnes2010-07-151-43/+28
|
* Clean up optimized ray-AABB intersection code a bit.Tavian Barnes2010-07-151-21/+29
|
* Make prtree benchmark use a more realistic ray.Tavian Barnes2010-07-141-2/+2
|
* Precalculate 1.0/ray.n.{x,y,z} for ray-box intersection tests.Tavian Barnes2010-07-141-12/+17
| | | | This saves us nearly a factor of 2, and I feel silly for not doing this before.
* Rename dimension_impl.h to dimension-impl.h.Tavian Barnes2010-07-1413-12/+13
|
* Don't expose the contents of struct dmnsn_progress.Tavian Barnes2010-07-146-25/+50
|
* Save some degeneracy tests in ray-AABB intersection tests.Tavian Barnes2010-07-091-16/+14
|
* Don't forget to delete display in success path in GL test.Tavian Barnes2010-07-081-0/+1
|
* Don't sleep(1) in GL test.Tavian Barnes2010-07-081-4/+1
|
* Add regression test for commit 11d364ec365c46c21271012b566966d342a90a8b.Tavian Barnes2010-07-043-0/+51
|
* Add regression test for previous commit.Tavian Barnes2010-07-043-0/+47
|
* Fix crash on parsing malformed directives.Tavian Barnes2010-07-041-10/+63
| | | | | Previously, inputs like "#if (1=1) #declare foo = #end;" would cause a segfault.
* Plug leak in transformation parsing.Tavian Barnes2010-07-031-0/+1
|
* Move test scene code into render.c.Tavian Barnes2010-07-033-98/+89
|
* New dmnsn_radians() and dmnsn_degrees() conversion functions.Tavian Barnes2010-07-034-16/+26
|
* Make dmnsn_perspective_camera_ray_fn() more idiomatic.Tavian Barnes2010-07-031-9/+5
|
* Make dmnsn_ray_box_intersection() return false for zero boxes.Tavian Barnes2010-07-031-3/+3
|
* Missing return in failure path.Tavian Barnes2010-07-021-0/+1
|
* Code formatting fixes.Tavian Barnes2010-07-016-13/+24
|
* Add some functionality checks to configure.ac for platform.c.Tavian Barnes2010-06-292-9/+88
|
* Move platform-specific stuff in libdimension into platform.c.Tavian Barnes2010-06-294-26/+48
|
* Use sched_getaffinity() rather than sysconf(_SC_NPROCESSORS_ONLN).Tavian Barnes2010-06-285-10/+72
| | | | Also, abstract cpu counting into dedicated dmnsn_ncpus() function.
* Don't make a degenerate sphere in transformations.pov.Tavian Barnes2010-06-283-7/+7
|
* Whitespace fixes.Tavian Barnes2010-06-202-2/+2
|
* Add some macros to make printf()-ing geometric types easier.Tavian Barnes2010-06-201-0/+18
|
* Abstract syntax tree improvements.Tavian Barnes2010-06-199-139/+138
| | | | Keep objects in a single DMNSN_AST_OBJECT node type.
* Fully implement POV-Ray transformations.Tavian Barnes2010-06-1713-57/+324
|
* 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
|