PETZOLD BOOK BLOG

Charles Petzold on writing books, reading books, and exercising the internal UTM


Recent Entries
< PreviousBrowse the ArchivesNext >
Subscribe to the RSS Feed

Dodecahedron for Silverlight 3

August 9, 2009
Roscoe, N.Y.

This program is similar to the DodecahedronWithRadialBrush.xaml program from my book 3D Programming for Windows except that the Silverlight version cannot be done entirely in XAML, and requires a bunch of actual code. But it does demonstrate a little versatility in the techniques I'm developing to do 3D in Silverlight 3 with a little more flexibility than the new Projection classes would seem to imply. The techniques work with figures built from sides that are non-rectangular, and which additionally are not orthogonal to the X, Y, and Z axes, and I can color these sides with gradient brushes as alternatives to solid brushes and image brushes.

Dodecahedron.html


Comments:

mesmerizing

— austin avrashow, Mon, 10 Aug 2009 06:49:02 -0400 (EDT)

Wonderful Work!

LionGG, Mon, 10 Aug 2009 10:57:52 -0400 (EDT)

It would seem that Silverlight is playing catchup to Flash; where people have been hacking 3D out by similar means for quite some time. At the moment I find the fidelity of Silverlight text and graphics better when it comes to moving content onto surfaces in 3D space.

So, being able to do something a bit better than in Flash is a plus for Silverlight.

But, as you seem to be looking for motivation, I will tell you mine. I am interested in using 3D to do layouts of hierarchical data (e.g data stored in some xml tree) in which we can exploit the natural human perceptual interaction with space to attack the generic problem which is maintaining a sense of where one is in the global hierarchy while moving up and down the hierarchy tree to focus on particulars.

I am interested in this as a teacher who wants to teach his students how to move up and down through levels of abstraction ( in an old language : levels of discourse) by making them "travel" these levels visually. The motivation for this is that people do not edit the organization of data coming in via the visual cortex. By making learners visually traverse the tree one can bypass much formality with describing the stucture.

DeepZoom adresses an aspect of this generic problem ( data resolution) for images. I need to add 3D to this to use the DeepZoom solution to be able to traverse IMMENSE trees using a projective approach based on the Riemann sphere.

John Dell, Mon, 10 Aug 2009 21:29:32 -0400 (EDT)

You wouldn't consider hiring me to work on this, would you? — Charles

Very nice sample!

At first it has not worked on my German Windows. Parsing Polygon3D XAML crashes because double.TryParse is invoked without neutral CultureInfo. It runs when I temporarily switch UI culture settings to English.

Stefan Lange, Fri, 14 Aug 2009 16:59:15 -0400 (EDT)

Thanks! — Charles


Recent Entries
< PreviousBrowse the ArchivesNext >
Subscribe to the RSS Feed

(c) Copyright Charles Petzold
www.charlespetzold.com