3D Box Selection using Signed Distance Function

Published: 26 December 2023
on channel: morejpeg
150
8

Live Demo & Code: https://editor.p5js.org/rjgilmour/ske...

Credit to Inigio Quilez for his sdBox function which uses the components of a vector to define the dimensions of a box (here in 3D).

sdBox returns the distance from a point p to box defined by by vector b like shown in the video.

The sdBox function assumes that the box is at the origin and axis aligned.


Watch video 3D Box Selection using Signed Distance Function online without registration, duration hours minute second in high quality. This video was added by user morejpeg 26 December 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 150 once and liked it 8 people.