2D to 3D Photo with Delaunay triangulation
// May 15th, 2009 // Experiments, Flash 3D, Source code & tutorials
This week I stumbled on a great AS3 Delaunay Triangulation class by Nicolas Barradeau (Ported from a triangulate algorithm by Paul Bourke ). And when I hear triangles, I think 3D. Tonight I played around with it and made some kind of photo extruder.
Instructions:
Switch clicking between points on the front view and there corresponding points in the side view. You need at least 3 point before you see anything.
You can upload your own photos but you have to stick to the size.
Its possible to delete points by clicking on a intersection in the front view, and then click in the side view.
Sorry, its not the most user friendly app, but I don’t have time to finish it. Have Fun!
» Create your face in 3D
Source code: Triangulation_source (Flex Project)

















holy cow that’s wonderful !
excellent blog keep it up
great!
Hi NP!
This is great and your blog is amazing – have got no idea why I haven’t seen it before. I’ve tried triangulation live on the webcam feed using Nicoptere’s Delaunay classes as well.
Great job!
Did you use Papervision3D for 3d representation ?
Best regards,
Jose
Hi Jose,
No, it’s al done with native Flash Player 10 3D. But it can be done with Papervision3D if you want.
Cheers, Kris
Well, congratulations!
How did you optimize the point cloud for that photo? Is this approach (number of points and its geometry) well suited for 3d representation of any face?
Sorry for my curiosity, and regards,
Jose
[...] http://www.neuroproductions.be/experiments/fle_delaunay_triangulation/ Flex [...]