Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.08 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.08 KB

Simple Hatching Shader

This is a simple code demonstrating how to use TensorViz for rendering objects with hatching in place of the standard gourad shading.

This was based on the paper Praun, Emil, et al. "Real-time hatching." Proceedings of the 28th annual conference on Computer graphics and interactive techniques. 2001.

Try it 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

Try it 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