summaryrefslogtreecommitdiffstats
path: root/libdimension
Commit message (Collapse)AuthorAgeFilesLines
* Split up objects, finishes, pigments, lights, cameras, etc.Tavian Barnes2010-01-0610-182/+278
|
* Clean up finish combination allocation semantics.tavianator2009-12-271-15/+29
|
* Separate finishes into single-purpose finishes.Tavian Barnes2009-12-235-31/+172
|
* Fix argument order to copysign().Tavian Barnes2009-12-161-6/+6
|
* Work in sRGB to be more like POV-Ray.Tavian Barnes2009-12-073-185/+128
|
* Finish camera placement routine.Tavian Barnes2009-11-271-2/+3
|
* Fake camera semantics until I figure out the real ones.Tavian Barnes2009-11-272-0/+33
|
* Add source filename to dmnsn_error() output.Tavian Barnes2009-11-252-5/+11
|
* Fix progress calculation in raytracing.Tavian Barnes2009-11-201-1/+1
|
* Use dmnsn_new_*() rather than dmnsn_*_construct().Tavian Barnes2009-11-196-77/+72
|
* Refactor raytrace.c a bit.Tavian Barnes2009-11-191-56/+81
|
* Implement translucency with shadows.Tavian Barnes2009-11-191-10/+35
|
* Calculate .filter and .trans correctly in dmnsn_color_filter().Tavian Barnes2009-11-191-1/+5
|
* Make dmnsn_illuminate_color() perceptually uniform.Tavian Barnes2009-11-191-54/+54
|
* Translucency support.Tavian Barnes2009-11-186-49/+137
|
* Use CIE 1931 RGB for dmnsn_color_illuminate().Tavian Barnes2009-11-172-19/+94
|
* Implement phong shading.Tavian Barnes2009-11-173-12/+48
|
* Make finish callback a propper BRDF.Tavian Barnes2009-11-174-31/+52
|
* Use "diffuse" instead of "specular" for diffuse finish.Tavian Barnes2009-11-172-6/+6
|
* PGO build improvements.Tavian Barnes2009-11-131-3/+13
|
* Implement profile-guided optimization builds.Tavian Barnes2009-11-121-0/+9
|
* Make dmnsn_illuminate_color() work, with sRGB for now.Tavian Barnes2009-11-111-20/+7
|
* Raytrace one row of pixels per thread.Tavian Barnes2009-11-091-5/+2
| | | | | | The theory is that if the next ray shot is closer to the previous ray, the k-D splay tree will work better because we're more likely to hit the same object.
* Correct dmnsn_color_illuminate().Tavian Barnes2009-11-092-11/+19
|
* Use finishes.Tavian Barnes2009-11-094-65/+101
|
* Add support for finishes (BRDFs).Tavian Barnes2009-11-096-3/+129
|
* Calculate surface normals in intersection callbacks.Tavian Barnes2009-11-094-11/+23
|
* Render multiple (or zero) lights correctly.Tavian Barnes2009-11-091-1/+2
|
* Store inverse object transformation in a separate field.Tavian Barnes2009-11-092-13/+14
|
* Remove unused variable.Tavian Barnes2009-11-091-1/+0
|
* Rudimentary light/shadow handling.Tavian Barnes2009-11-094-21/+108
|
* Make dmnsn_delete_scene() delete the scene's elements too.Tavian Barnes2009-11-091-0/+17
|
* Add lights to scenes.Tavian Barnes2009-11-092-6/+12
|
* Add support for lights.Tavian Barnes2009-11-096-1/+183
|
* Make default fatal error handler nicer.Tavian Barnes2009-11-051-2/+27
| | | | If we can, only exit the current thread, and print a backtrace.
* Fix dmnsn_kD_splay_node_swallow() typo.Tavian Barnes2009-10-301-4/+4
|
* Don't flip optimized PNG writes.Tavian Barnes2009-10-301-2/+3
|
* Make sure we die on critical dmnsn_error()'s.Tavian Barnes2009-10-291-0/+2
|
* Major dmnsn_kD_splay_search() optimization.Tavian Barnes2009-10-261-19/+21
| | | | | | | | At each level of recursion, we have to go down the right branch if it exists. But if we do this before we test the current node and the left branch, we can eliminate those tests in the likely case that we find a closer object in the geometrically larger right subtree. This gives about a 2X speed improvement according to `make bench'.
* Clean up some dmnsn_new_*() functions.Tavian Barnes2009-10-264-64/+37
| | | | | Rather than special-case every failed memory allocation, just make dmnsn_delete_*() more robust and call it.
* Delete empty cube.c.Tavian Barnes2009-10-261-23/+0
|
* Call dmnsn_done_progress() later in dmnsn_finish_progress().Tavian Barnes2009-10-261-3/+2
|
* Don't check if it's too late to add canvas optimizers.Tavian Barnes2009-10-264-26/+6
| | | | This fixes some errors displayed by concurrency checkers like helgrind and drd.
* Fix some concurrency mistakes.Tavian Barnes2009-10-262-12/+31
| | | | TODO: eliminate the too_late field on canvases.
* More memory handling improvements.Tavian Barnes2009-10-201-0/+2
|
* Fix some memory leaks.Tavian Barnes2009-10-194-14/+30
| | | | | dmnsn_delete_pigment() was not using the free_fn, and kD splay trees were not being deleted after raytracing finished.
* Improve garbage handling of dmnsn_delete_object().Tavian Barnes2009-10-192-1/+5
|
* Allow custom fatal error handlers.Tavian Barnes2009-10-182-2/+52
|
* Fix ray-box intersection test.Tavian Barnes2009-10-131-4/+4
|
* Remove unused variable from dmnsn_kD_splay_search_recursive().Tavian Barnes2009-10-091-1/+0
|