Vertex Shader Domain Warping with Automatic Differentiation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autore principale: van Mossel, Dave Pagurek
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910444057264128
author van Mossel, Dave Pagurek
author_facet van Mossel, Dave Pagurek
contents Domain warping is a technique commonly used in creative coding to distort graphics and add visual interest to a work. The approach has the potential to be used in 3D art as mesh vertices can be efficiently warped using a vertex shader in a WebGL pipeline. However, 3D models packaged for the web typically come with baked-in normal vectors, and these need to be updated when vertex positions change for lighting calculations to work. This is typically done via finite differences, which requires parameter tuning to achieve optimal visual fidelity. We present a method for 3D domain warping that works with automatic differentiation, allowing exact normals to be used without any tuning while still benefiting from hardware acceleration.
format Preprint
id arxiv_https___arxiv_org_abs_2405_07124
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Vertex Shader Domain Warping with Automatic Differentiation
van Mossel, Dave Pagurek
Graphics
I.3.7
Domain warping is a technique commonly used in creative coding to distort graphics and add visual interest to a work. The approach has the potential to be used in 3D art as mesh vertices can be efficiently warped using a vertex shader in a WebGL pipeline. However, 3D models packaged for the web typically come with baked-in normal vectors, and these need to be updated when vertex positions change for lighting calculations to work. This is typically done via finite differences, which requires parameter tuning to achieve optimal visual fidelity. We present a method for 3D domain warping that works with automatic differentiation, allowing exact normals to be used without any tuning while still benefiting from hardware acceleration.
title Vertex Shader Domain Warping with Automatic Differentiation
topic Graphics
I.3.7
url https://arxiv.org/abs/2405.07124