3D object - flatness

Does anyone know where i can find the algorithm that make a 3d object looks like a
carpet (The hammer punch effect)?

You can see an example in the pic below.


here : http://www.loria.fr/~levy/Galleries/LSCM/index.html

an implementation was presented here : http://www.flipcode.com/cgi-bin/msg.cgi?showThread=10-23-2002&forum=iotd&id=-1

and it seems the source is now available, but I didn’t check : http://www.cbloom.com/3d/galaxy3/index.html

Good luck…

Hem, in fact the algorithms you are looking for (ie. those corresponding to the image you posted) are described here :

30 seconds with google btw…

Thanks a lot:-)