The SDF of a Line Segment

Published: 08 January 2020
on channel: Inigo Quilez
94,485
3.1k

How to derive formula of the SDF of a Line Segment, a common shape in procedural modeling.
Support this channel:   / inigoquilez  

Tutorials on maths , art, SDFs and computer graphics: http://iquilezles.org. The article that includes information about the Elongation operator is here (half way down the article): https://iquilezles.org/articles/distf...

Donate: https://www.paypal.com/paypalme/SMOOT...
Subscribe:    / inigoquilez  
Support:   / inigoquilez  
Twitter:   / iquilezles  
Facebook:   / inigo.quilez  

Soundtrack by Khrome:   / khromemusic  

0:00 Introduction
0:32 Math derivation
5:38 Implementation
6:12 Interpretation as Elongation
6:53 End


Watch video The SDF of a Line Segment online without registration, duration hours minute second in high quality. This video was added by user Inigo Quilez 08 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 94,485 once and liked it 3.1 thousand people.