Approximate Program Smoothing Using Mean-Variance Statistics, with Application to Procedural Shader Bandlimiting

被引:8
作者
Yang, Y. [1 ]
Barnes, C. [1 ,2 ]
机构
[1] Univ Virginia, Charlottesville, VA 22903 USA
[2] Adobe Res, San Jose, CA USA
关键词
MINIMIZATION; NONSMOOTH; ALGORITHM;
D O I
10.1111/cgf.13374
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:443 / 454
页数:12
相关论文
共 47 条
[11]   A global linear and local quadratic noninterior continuation method for nonlinear complementarity problems based on Chen-Mangasarian smoothing functions [J].
Chen, BT ;
Xiu, NH .
SIAM JOURNAL ON OPTIMIZATION, 1999, 9 (03) :605-623
[12]   A global and local superlinear continuation-smoothing method for P0 and R0 NCP or monotone NCP [J].
Chen, BT ;
Chen, XJ .
SIAM JOURNAL ON OPTIMIZATION, 1999, 9 (03) :624-645
[13]   STOCHASTIC SAMPLING IN COMPUTER-GRAPHICS [J].
COOK, RL .
ACM TRANSACTIONS ON GRAPHICS, 1986, 5 (01) :51-72
[14]  
Crow F. C., 1984, Computers & Graphics, V18, P207
[15]  
CROW FC, 1977, COMMUNICATIONS ACM, V20
[16]  
Dippe M. A., ACM SIGGRAPH COMPUTE, V19, P3
[17]  
Dorn J., 2015, COMPUTER GRAPHICS FO, V34
[18]  
Ebert D.S., 2003, TEXTURING MODELING, V3rd
[19]   THE MINIMIZATION OF SEMICONTINUOUS FUNCTIONS - MOLLIFIER SUBGRADIENTS [J].
ERMOLIEV, YM ;
NORKIN, VI ;
WETS, RJB .
SIAM JOURNAL ON CONTROL AND OPTIMIZATION, 1995, 33 (01) :149-167
[20]   On nonsmooth and discontinuous problems of stochastic systems optimization [J].
Ermoliev, YM ;
Norkin, VI .
EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 1997, 101 (02) :230-244