This repository contains our Blender implementation of the algorithm described in Ray Tracing Harmonic Functions for ray tracing harmonic functions.
Here are the commands that I use to build this code on a Mac. First, Blender requires svn (which can be installed using e.g. brew install svn
).
Then, you can run the following commands to build and launch Blender
mkdir blender
cd blender
git clone git@github.com:MarkGillespie/harnack-blender.git blender-git
cd blender-git
make update
make -j11
../build_darwin/bin/Blender.app/Contents/MacOS/Blender
Most of our new code can be found in intern/cycles/kernel/geom/nonplanar_polygon_intersect.h
and intern/cycles/kernel/geom/harnack.ipp
Elliptic integrals are evaluated using code by John Burkardt, available here.
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.