distance functions?

Jul 20, 2013 at 9:58am

distance functions?

Hi all,

I have found this great tutorial in gen patch a day5

http://cycling74.com/2012/02/06/gen-patch-a-day/.

The problem is that I can not clearly understand what actually happens.

OK, if I have a 2 dim 3 plane matrix, length will give me sqrt(r^2+b^2+g^2) for every pixel.

So I am new to isosurf and I can not imagine why [matrix 1 float32 32 32 32] -> [length] gives sphere???

Can anyone light me up to this?

Thanks

#256579

You must be logged in to reply to this topic.