This repo extends a simplest 3-dimensional ray tracing engine(CPU implementation) to 4-dimensional world.
A 4D cube frame and a 4d sphere.
clone code
git clone https://github.com/XiaoxingChen/ray_tracing_4d
cd ray_tracing_4d
git submodule init
git submodule update
Download assets(wget
was used, doesn't work on Windows) and render a 3D scene.
If you use Windows, please download the assets in lfs.yaml
and put them in build/assets/
.
./build.py --sync-lfs
Render 3D, 4D scenes
./build.py --run app/render_3d
./build.py --run app/render_4d