Accessing 3d elements in XAML binding/code-behind...

Jul 2, 2014 at 6:23 PM
This looks really promising! I have a simple, simple project:

-Create a globe of earth, with countries that can be bound & animated in code-behind.

It really is that simple. i can buy a 3d model of earth in all kinds of formats, but I have no clue which format(s) will allow me to (after conversion to XAML), say, turn England bright green, or make the USA blue, etc. in normal animation...

What file format(s) and conversions are possible to allow accessing/binding each individual (country, in this case) element with XAML/WPF?

I have 3ds max experience (don't run it any more), so I understand the concept of multiple objects, and there are many models available that have this structure.

Your feedback appreciated! TIA!

pat
:)
Coordinator
Jul 11, 2014 at 7:52 PM
I would try using an SVG file, triangulate the country polygons, transform from 2D lat/lon to a 3D mesh on a sphere.
For SVG maps, see wikipedia or http://kartograph.org/