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.

pOp: Parameter Optimization of Differentiable Vector Patterns / Riso, M.; Sforza, D.; Pellacini, F.. - In: COMPUTER GRAPHICS FORUM. - ISSN 0167-7055. - 41:4(2022), pp. 161-168. [10.1111/cgf.14595]

pOp: Parameter Optimization of Differentiable Vector Patterns

Pellacini F.
2022

Abstract

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.
2022
41
4
161
168
pOp: Parameter Optimization of Differentiable Vector Patterns / Riso, M.; Sforza, D.; Pellacini, F.. - In: COMPUTER GRAPHICS FORUM. - ISSN 0167-7055. - 41:4(2022), pp. 161-168. [10.1111/cgf.14595]
Riso, M.; Sforza, D.; Pellacini, F.
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

Licenza Creative Commons
I metadati presenti in IRIS UNIMORE sono rilasciati con licenza Creative Commons CC0 1.0 Universal, mentre i file delle pubblicazioni sono rilasciati con licenza Attribuzione 4.0 Internazionale (CC BY 4.0), salvo diversa indicazione.
In caso di violazione di copyright, contattare Supporto Iris

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11380/1299624
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 1
social impact