Skip to content

otaviog/shadow-mapping

Repository files navigation

Shadow Mapping Sample

Simple PCF shadow mapping example using TensorViz.

Thanks to Joey de Vries for bias and PCF explanation.

Run using Docker

The script tv-try launches a docker image containg all dependencies of TensorViz.

shadow-mapping$ ./tv-try demo.py <input-object>

Or use the rule docker-demo-buddha from the Makefile.

shadow-mapping$ make docker-demo-buddha

Run using the source code.

Install TensorViz into your environment following the instructions on its repository.

Run the rule demo-buddha-highres, to download the Buddha from the Standord 3D Scanning Repository and run the demo.

$ make demo-budha-highres