Skip to content

Applications of the Potto differentiable programming language (https://github.com/divicomp/potto) to problems in graphics.

Notifications You must be signed in to change notification settings

divicomp/potto_applications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Potto applications

This repository contains the implementation for the applications in our differentiable programming language Potto. The applications include image stylization, fitting shader parameters, and optimizing a 3D shader. The implementation for the core to library is in https://github.com/divicomp/potto.

Reproduce

Discontinuous shaders

To reproduce the results of discontinuous shaders (Figure 12), run:

cd graphics
python main.py --size large --mode primal
python main.py --size large --mode deriv

Microbenchmarks

To reproduce the results of microbenchmarks between Potto and Teg (Figure 15 & 16), run:

cd benchmarks
python plot_figures.py --heaviside
python plot_figures.py --shader-swap

About

Applications of the Potto differentiable programming language (https://github.com/divicomp/potto) to problems in graphics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages