Skip to content

miorsoft/VB6-2D-SDF

Repository files navigation

VB6-2D SDF

Draw 2D shapes using 2D Signed distance Function.

Calculate distance from each pixel to each shape and compute its RGB value.

Do not use (DX) GPU HLSL, with which it would be very much faster.

2D SDF functions taken and customized from here: https://iquilezles.org/www/articles/distfunctions2d/distfunctions2d.htm and 2D distance and gradient functions https://iquilezles.org/www/articles/distgradfunctions2d/distgradfunctions2d.htm

Requires: RC6 (for RC6 Render mode) http://vbrichclient.com/#/en/About/

VBFORUMS: https://www.vbforums.com/showthread.php?893971-VB6-Draw-2D-shapes-using-Signed-Distance-Field

About

Draw using 2D Signed Distance Function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published