Relative Content

Tag Archive for xaml

Performance consideration and code reduction for Templates

I’m trying to decide if this might be a good idea to help reduce the size of some of my xaml resource dictionaries on a large project. Except I’m concerned about any potential performance issues going this route so hoping to get some insight from other technically proficient folks.

Silverlight-based “area of influence” algorithm

I am in the process of developing a tool for a game called MechWarrior: Online which defines a map of an area of space called the Inner Sphere. Essentially, this map is a set of points (planets) on a Cartesian plane. Each planet can be owned by a different faction, typically represented on the map by a colour. I can colour the various planet points as different colours, but ideally what I’d like to do is show an area of influence (circle) for each faction by using something like a GeometryGroup to help with the simplification of the geometry object that using 2,240 points’ circles will produce before rendering it to a Silverlight Canvas.

Silverlight-based “area of influence” algorithm

I am in the process of developing a tool for a game called MechWarrior: Online which defines a map of an area of space called the Inner Sphere. Essentially, this map is a set of points (planets) on a Cartesian plane. Each planet can be owned by a different faction, typically represented on the map by a colour. I can colour the various planet points as different colours, but ideally what I’d like to do is show an area of influence (circle) for each faction by using something like a GeometryGroup to help with the simplification of the geometry object that using 2,240 points’ circles will produce before rendering it to a Silverlight Canvas.