summaryrefslogtreecommitdiff
path: root/ray.c
Commit message (Collapse)AuthorAge
* Re-add center sphereMorten Hustveit2014-12-12
|
* Render to window dimensionsMorten Hustveit2014-12-12
|
* ray.c: Allow self-reflections, now that we have concave objectsMorten Hustveit2014-12-02
| | | | Also update the animation a bit.
* ray.c: Add specular color multiplier, and fix some shading bugsMorten Hustveit2014-12-02
|
* Subtract the central sphere, and update the animation to matchMorten Hustveit2014-12-02
|
* ray.c: Prevent lights from subtracting color in the shadeMorten Hustveit2014-12-02
| | | | Also add some ambient light.
* ray.c: Add missing freeMorten Hustveit2014-12-02
|
* ray.c: Halve the FOVMorten Hustveit2014-12-02
| | | | This makes the spheres look more spherical.
* ray.c: Calculate lighting only for nearest hitMorten Hustveit2014-12-02
| | | | This loses 5ms/frame on yelena.
* ray.c: Calculate reflection only once per hitMorten Hustveit2014-12-02
| | | | This saves 10ms on yelena.
* ray.c: Create only one thread per coreMorten Hustveit2014-12-02
|
* ray.c: Use __builtin_expect to mark sphere collisions as unlikelyMorten Hustveit2014-12-02
| | | | This saves 10ms/frame on yelena.
* ray.c: Don't look for self in reflection on selfMorten Hustveit2014-12-02
|
* ray.c: Simplify trace_lineMorten Hustveit2014-12-02
| | | | This doesn't save any time.
* ray.c: Skip normalizing if light has negative contributionMorten Hustveit2014-12-02
| | | | This saves about 3ms/frame on yelena.
* ray.c: Precalculate per-pixel ray directionsMorten Hustveit2014-12-02
| | | | This saves 16ms/frame on yelena.
* Minor style changesMorten Hustveit2014-12-02
|
* Make a headless entry point for benchmarking purposesMorten Hustveit2014-12-02
|
* ray: make threadedMartin Stensgård2011-11-15
|
* Animation.Martin Stensgård2010-10-22
|
* Cleanup.Martin Stensgård2010-10-20
|
* Ray traced glory!Martin Stensgård2010-10-20
|
* Works.Martin Stensgård2010-10-20
|
* Fail.Martin Stensgård2010-10-19
|
* Weird effect.Martin Stensgård2010-10-18