3D Fur Renderer

// June 8th, 2009 // Experiments, Flash 3D, Generative art, Source code & tutorials

This weekend I was playing around with normals. Normals are vectors that are perpendicular to a flat surface and thereby indicating the direction of that surface. In 3D they are mostly used in to create shading effects. But when I saw all those normals on my test triangles, they reminded me of hair. So I combined my Collada Parser with my new knowledge, and created a fur renderer in ActionScript.

fur santa

Since I had the normals, I also added some very simple shading. You can view the fur shading process here (Click to start rendering. Update your FlashPlayer if you don’t see anything or when the model is very small ). The rendering is very slow, the Santa is created with more than 10 million line-segments and I didn’t really optimise the code. So have some patience. :)

Source code: [download#15#nohits]

9 Responses to “3D Fur Renderer”

  1. nicoptere says:

    this is awesome !

  2. Mark says:

    Cool, i’ve created a 2d fur engine (http://projects.stroep.nl/fur/), but this one rocks !!

  3. Pieter says:

    Wow. This is cool!

  4. Campbell says:

    Awesome mate, simply awesome

  5. Kris says:

    Thanks for the comments, guys. :)

  6. DjacK Height says:

    Dude this is something! Seriously, I have not seen anything like this as of yet in Flash. Congrats!

  7. [...] may remember the Furry Santa. That gave me the idea to use the Kinect 3D data to add hair to [...]