Skip to content

Simple demonstration of real-time hatching shader using TensorViz.

Notifications You must be signed in to change notification settings

otaviog/hatching-shading

Repository files navigation

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

About

Simple demonstration of real-time hatching shader using TensorViz.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published