使用自动微分的顶点着色器域扭曲
Vertex Shader Domain Warping with Automatic Differentiation
AI总结:
针对 WebGL 顶点扭曲后内置法线需更新的问题,提出基于自动微分的 3D 域扭曲方法,可免参数调整获得精确法线并保持硬件加速。
摘要:
域扭曲是创意编程中常用的一种技术,用于扭曲图形并为作品增添视觉趣味。该方法有潜力用于 3D 艺术,因为可以在 WebGL 管线中使用顶点着色器高效地扭曲网格顶点。然而,为网络打包的 3D 模型通常带有内置法线向量,当顶点位置发生变化时,需要更新这些法线向量,光照计算才能正常工作。这通常通过有限差分来完成,需要调整参数以获得最佳视觉保真度。我们提出了一种使用自动微分的 3D 域扭曲方法,允许使用精确法线而无需任何调整,同时仍能受益于硬件加速。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。