Friday, 4/1/2011 3:47 PM
by Peter Kuhn
No, this is not an April Fools' joke :). As announced in the post where I explained how I created and optimized the dynamic trees of my Eco Contest 2011 entry "Do you twig?", I'm releasing the full source code of the project here. The entry was chosen for the first runner-up award by the judges, which I was and still am very happy about. In the following, I explain some details of the application. You can find the source code at the end of the post. More...
Thursday, 3/3/2011 5:42 PM
by Peter Kuhn
When I was thinking about the Eco Contest 2011 on Silverlight Show, I had the idea to enrich my application with the visual gimmick of dynamically growing trees. I wanted to create both the branches and leaves on the fly randomly and animate them to create that impression. If you have already visited my entry you know how the final result looks like in action, and if not, you can find it here (feel free to leave a vote :-)). Let me show you an example image of a dynamically rendered tree once it has finished animating:
Those trees typically consist of ~20,000 single elements, with ~5,000 for the branches and ~15,000 leaves.
When I showed the app to some friends as work in progress, I was asked how I was able to perform that rendering so well without completely hogging all computer resources; I figured that the steps of optimization that went into this would be an interesting topic for others too, so I decided to write this blog post. More...