Approximate Program Smoothing Using Mean-Variance Statistics, with Application to Procedural Shader Bandlimiting
dc.contributor.author | Yang, Yuting | en_US |
dc.contributor.author | Barnes, Connelly | en_US |
dc.contributor.editor | Gutierrez, Diego and Sheffer, Alla | en_US |
dc.date.accessioned | 2018-04-14T18:25:23Z | |
dc.date.available | 2018-04-14T18:25:23Z | |
dc.date.issued | 2018 | |
dc.description.abstract | We introduce a general method to approximate the convolution of a program with a Gaussian kernel. This results in the program being smoothed. Our compiler framework models intermediate values in the program as random variables, by using mean and variance statistics. We decompose the input program into atomic parts and relate the statistics of the different parts of the smoothed program. We give several approximate smoothing rules that can be used for the parts of the program. These include an improved variant of Dorn et al. [DBLW15], a novel adaptive Gaussian approximation, Monte Carlo sampling, and compactly supported kernels. Our adaptive Gaussian approximation handles multivariate Gaussian distributed inputs, gives exact results for a larger class of programs than previous work, and is accurate to the second order in the standard deviation of the kernel for programs with certain analytic properties. Because each expression in the program can have multiple approximation choices, we use a genetic search to automatically select the best approximations. We apply this framework to the problem of automatically bandlimiting procedural shader programs. We evaluate our method on a variety of geometries and complex shaders, including shaders with parallax mapping, animation, and spatially varying statistics. The resulting smoothed shader programs outperform previous approaches both numerically and aesthetically. | en_US |
dc.description.number | 2 | |
dc.description.sectionheaders | Optimized Rendering | |
dc.description.seriesinformation | Computer Graphics Forum | |
dc.description.volume | 37 | |
dc.identifier.doi | 10.1111/cgf.13374 | |
dc.identifier.issn | 1467-8659 | |
dc.identifier.pages | 443-454 | |
dc.identifier.uri | https://doi.org/10.1111/cgf.13374 | |
dc.identifier.uri | https://diglib.eg.org:443/handle/10.1111/cgf13374 | |
dc.publisher | The Eurographics Association and John Wiley & Sons Ltd. | en_US |
dc.subject | Software and its engineering | |
dc.subject | Compilers | |
dc.subject | Computing methodologies | |
dc.subject | Rendering | |
dc.title | Approximate Program Smoothing Using Mean-Variance Statistics, with Application to Procedural Shader Bandlimiting | en_US |