Ary Borenszweig's blog

Read about our day to day discoveries, the trips we take around the world, our personal developments and news about the things we do at Manas.

  • You know that in C++ a template instatiation like: Foo> is problematic to parse. Nevertheless, Java seems to repeat history and chosed the same simbols for it's generics, but...

  • I've written a simple class to allow adding autocomplete to a TextBox. An example of how to use it is: In the XAML file:

  • There's no straight way of embedding YouTube videos in Silverlight. What you can do, however, is to create a floating div over the Silverlight plugin, whose content will be the YouTube video control. For this purpose, I wrote a simple...

  • Silverlight Beta 2 doesn't support double click, but since I needed it, I implemented it. I've created a class named Mouse. You create a Mouse instance that wraps an UIElement. The instance attaches itself to the MouseLeftDownButton

  • May 5 2008
    Generating 3D trees

    The goal is to generate 3D trees programatically rather than using a design tool. A tree is a complex model, containing thousand of vertices, which are both hard to create and inneficient to store. By saving just the information necessary...