0

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

Anonymous 10 years ago 0
This discussion was imported from CodePlex

BogusException wrote at 2014-07-02 20:23:

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
:)

objo wrote at 2014-07-11 21:52:

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/