Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

SDF

Share your components here. First one to 100 wins!

SDF

Postby ch3 » Thu Feb 01, 2018 12:24 am

Efficient Distance transform in a multipass GLSL shader, that generates an SDF from any TOP.

The shader is based on Thomas Diewald's PixelFlow processing library.
https://github.com/diwi/PixelFlow/


phpBB [video]

*visual not included


=]
Attachments
SDF.tox
(2.52 KiB) Downloaded 192 times
ch3
 
Posts: 8
Joined: Sat Dec 29, 2012 9:17 pm

Re: SDF

Postby ch3 » Sat Jul 07, 2018 7:22 pm

A revised version that also returns negative values for the areas inside the input shape.
Attachments
SDF.tox
(3.06 KiB) Downloaded 137 times
ch3
 
Posts: 8
Joined: Sat Dec 29, 2012 9:17 pm

Re: SDF

Postby jmt4zj » Wed Jul 11, 2018 12:21 am

This is super handy, thanks for uploading this!
Jonathan Thompson
@pointshader
http://particularexperienc.es
User avatar
jmt4zj
 
Posts: 108
Joined: Mon Nov 01, 2010 3:15 am
Location: NYC

Re: SDF

Postby greenpattern » Thu Jul 12, 2018 7:43 am

mental! thx for sharing!
User avatar
greenpattern
 
Posts: 195
Joined: Tue Dec 01, 2015 3:05 pm
Location: Edinburgh Scotland, but I'm french


Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 1 guest