pOp: Parameter Optimization of Differentiable Vector Patterns
View/ Open
Date
2022Author
Riso, Marzia
Sforza, Davide
Pellacini, Fabio
Metadata
Show full item recordAbstract
Procedural materials are extensively used in computer graphics, since they provide editable, resolution-independent representation of textures. However, tuning the parameters of procedural generators to achieve a desired result remains time-consuming for users. Recently, inverse procedural material algorithms have been developed, exploiting differentiable rendering methods to find the parameters of a procedural model that match a target image. These approaches focus on raster textures. We propose pOp, a practical method for estimating the parameters of vector patterns, that are formed by collections of vector shapes arranged by an arbitrary procedural program. In our approach, patterns are defined as arbitrary programs, that control the translation, rotation and scale or vector graphics elements. We support elements typical of vector graphics, namely points, lines, circle, rounded rectangles, and quadratic Bèzier drawings, in multiple colors. We optimize the program parameters by automatically differentiating the signed distance field of the drawing, which we found to be significantly more reliable than using differentiable rendering of the final image. We demonstrate our method on a variety of cases, representing the variations found in structured vector patterns.
BibTeX
@article {10.1111:cgf.14595,
journal = {Computer Graphics Forum},
title = {{pOp: Parameter Optimization of Differentiable Vector Patterns}},
author = {Riso, Marzia and Sforza, Davide and Pellacini, Fabio},
year = {2022},
publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
ISSN = {1467-8659},
DOI = {10.1111/cgf.14595}
}
journal = {Computer Graphics Forum},
title = {{pOp: Parameter Optimization of Differentiable Vector Patterns}},
author = {Riso, Marzia and Sforza, Davide and Pellacini, Fabio},
year = {2022},
publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
ISSN = {1467-8659},
DOI = {10.1111/cgf.14595}
}