Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split finish_fn into diffuse_fn and specular_fn. | Tavian Barnes | 2010-01-13 | 6 | -40/+76 |
| | |||||
* | Implement reflection. | Tavian Barnes | 2010-01-09 | 10 | -57/+252 |
| | |||||
* | Calculate transformed surface normals correctly. | Tavian Barnes | 2010-01-09 | 1 | -3/+9 |
| | |||||
* | Clamp negative values in phong shading. | Tavian Barnes | 2010-01-09 | 1 | -1/+6 |
| | |||||
* | Make recursion limit a scene parameter. | Tavian Barnes | 2010-01-08 | 3 | -18/+22 |
| | |||||
* | Modularize translucency. | Tavian Barnes | 2010-01-08 | 1 | -28/+32 |
| | |||||
* | Kill DMNSN_RENDER_OBJECTS. | Tavian Barnes | 2010-01-08 | 2 | -6/+5 |
| | |||||
* | Clean up internal raytracing API a bit. | Tavian Barnes | 2010-01-07 | 1 | -60/+74 |
| | |||||
* | Limit recursion depth in raytracing. | Tavian Barnes | 2010-01-06 | 1 | -9/+20 |
| | |||||
* | Make quality settings into flags. | Tavian Barnes | 2010-01-06 | 2 | -14/+14 |
| | |||||
* | Split up objects, finishes, pigments, lights, cameras, etc. | Tavian Barnes | 2010-01-06 | 10 | -182/+278 |
| | |||||
* | Clean up finish combination allocation semantics. | tavianator | 2009-12-27 | 1 | -15/+29 |
| | |||||
* | Separate finishes into single-purpose finishes. | Tavian Barnes | 2009-12-23 | 5 | -31/+172 |
| | |||||
* | Fix argument order to copysign(). | Tavian Barnes | 2009-12-16 | 1 | -6/+6 |
| | |||||
* | Work in sRGB to be more like POV-Ray. | Tavian Barnes | 2009-12-07 | 3 | -185/+128 |
| | |||||
* | Finish camera placement routine. | Tavian Barnes | 2009-11-27 | 1 | -2/+3 |
| | |||||
* | Fake camera semantics until I figure out the real ones. | Tavian Barnes | 2009-11-27 | 2 | -0/+33 |
| | |||||
* | Add source filename to dmnsn_error() output. | Tavian Barnes | 2009-11-25 | 2 | -5/+11 |
| | |||||
* | Fix progress calculation in raytracing. | Tavian Barnes | 2009-11-20 | 1 | -1/+1 |
| | |||||
* | Use dmnsn_new_*() rather than dmnsn_*_construct(). | Tavian Barnes | 2009-11-19 | 6 | -77/+72 |
| | |||||
* | Refactor raytrace.c a bit. | Tavian Barnes | 2009-11-19 | 1 | -56/+81 |
| | |||||
* | Implement translucency with shadows. | Tavian Barnes | 2009-11-19 | 1 | -10/+35 |
| | |||||
* | Calculate .filter and .trans correctly in dmnsn_color_filter(). | Tavian Barnes | 2009-11-19 | 1 | -1/+5 |
| | |||||
* | Make dmnsn_illuminate_color() perceptually uniform. | Tavian Barnes | 2009-11-19 | 1 | -54/+54 |
| | |||||
* | Translucency support. | Tavian Barnes | 2009-11-18 | 6 | -49/+137 |
| | |||||
* | Use CIE 1931 RGB for dmnsn_color_illuminate(). | Tavian Barnes | 2009-11-17 | 2 | -19/+94 |
| | |||||
* | Implement phong shading. | Tavian Barnes | 2009-11-17 | 3 | -12/+48 |
| | |||||
* | Make finish callback a propper BRDF. | Tavian Barnes | 2009-11-17 | 4 | -31/+52 |
| | |||||
* | Use "diffuse" instead of "specular" for diffuse finish. | Tavian Barnes | 2009-11-17 | 2 | -6/+6 |
| | |||||
* | PGO build improvements. | Tavian Barnes | 2009-11-13 | 1 | -3/+13 |
| | |||||
* | Implement profile-guided optimization builds. | Tavian Barnes | 2009-11-12 | 1 | -0/+9 |
| | |||||
* | Make dmnsn_illuminate_color() work, with sRGB for now. | Tavian Barnes | 2009-11-11 | 1 | -20/+7 |
| | |||||
* | Raytrace one row of pixels per thread. | Tavian Barnes | 2009-11-09 | 1 | -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 Barnes | 2009-11-09 | 2 | -11/+19 |
| | |||||
* | Use finishes. | Tavian Barnes | 2009-11-09 | 4 | -65/+101 |
| | |||||
* | Add support for finishes (BRDFs). | Tavian Barnes | 2009-11-09 | 6 | -3/+129 |
| | |||||
* | Calculate surface normals in intersection callbacks. | Tavian Barnes | 2009-11-09 | 4 | -11/+23 |
| | |||||
* | Render multiple (or zero) lights correctly. | Tavian Barnes | 2009-11-09 | 1 | -1/+2 |
| | |||||
* | Store inverse object transformation in a separate field. | Tavian Barnes | 2009-11-09 | 2 | -13/+14 |
| | |||||
* | Remove unused variable. | Tavian Barnes | 2009-11-09 | 1 | -1/+0 |
| | |||||
* | Rudimentary light/shadow handling. | Tavian Barnes | 2009-11-09 | 4 | -21/+108 |
| | |||||
* | Make dmnsn_delete_scene() delete the scene's elements too. | Tavian Barnes | 2009-11-09 | 1 | -0/+17 |
| | |||||
* | Add lights to scenes. | Tavian Barnes | 2009-11-09 | 2 | -6/+12 |
| | |||||
* | Add support for lights. | Tavian Barnes | 2009-11-09 | 6 | -1/+183 |
| | |||||
* | Make default fatal error handler nicer. | Tavian Barnes | 2009-11-05 | 1 | -2/+27 |
| | | | | If we can, only exit the current thread, and print a backtrace. | ||||
* | Fix dmnsn_kD_splay_node_swallow() typo. | Tavian Barnes | 2009-10-30 | 1 | -4/+4 |
| | |||||
* | Don't flip optimized PNG writes. | Tavian Barnes | 2009-10-30 | 1 | -2/+3 |
| | |||||
* | Make sure we die on critical dmnsn_error()'s. | Tavian Barnes | 2009-10-29 | 1 | -0/+2 |
| | |||||
* | Major dmnsn_kD_splay_search() optimization. | Tavian Barnes | 2009-10-26 | 1 | -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 Barnes | 2009-10-26 | 4 | -64/+37 |
| | | | | | Rather than special-case every failed memory allocation, just make dmnsn_delete_*() more robust and call it. |