A CAD Interface for Drawing With Signed Distance Functions

作者: Nicolas Schmidt

摘要

This poster describes the implementation of a performant 2D drawing application in the browser that renders Signed Distance Functions (SDF) compiled from user input. SDFs are well suited for CAD applications because they reveal elegant boolean operations and efficiently allow for superior anti-aliasing. Because of their reliance on the GPU, SDFs have not traditionally lent themselves to graphical user input. By compiling shaders on the fly from user input we are able to seamlessly interact with rendered SDFs in a CAD interface.

打开原文