A galaxy with stars, milkyway and other stuffs (WPF)

Posted by boj on Stack Overflow See other posts from Stack Overflow or by boj
Published on 2010-12-27T00:21:56Z Indexed on 2010/12/27 9:54 UTC
Read the original article Hit count: 245

Filed under:
|
|

What is a "realistic" way to build a galaxy in 2D with wpf?

I'm not interessed in the physical modelling but the graphical aspect. At least the stars (position, size, color, pulsing etc.) should be generated from code. Generating milkyways would be nice.

Main questions are:

  • Stars: lens flare? texturing?
  • Milkyway: bump mapping?
  • "Far" stars: textures? generated?
  • Pulsing?
  • other elements, any effects are welcome!

Some examples (taken from the web, I want to build similar pictures (animations) with wpf):

alt text

alt text

Thank you.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET