Now with 400 exoplanets discovered it could be a must have for orbiter
Unfortunately, all I can provide is a relatively accurate starmap, with randomly generated systems. Mapping in pre-definded systems with known exoplanets will be the job of other add-on developers (I have a plugin system in mind that should allow adding pre-defined systems by simply dropping them into the right directory...)
Since Mass and temp are the main determining factors of a stars stage of evolution at any givin point in time, I would use a sliding scale for evolution based on temp for O, B, A, and F class stars based off of the H~R Diagram.
Thanks, I'll do that. I assume you mean the Hertzsprung Russel Diagram?
Random star-generator is working so far, but isn't accurate yet. Produces decent starclusters, but I think their composition won't live up to an examination by someone who knows his physics. Plus, I realized that the rand()-function of C++ won't get me anywhere... since it has a maximum range of 32767. That would be a terribly repetitive galaxy. Anyone got any recommendations on a good random numbers generator with a range of a few hundred billions?
---------- Post added 11-04-2009 at 11:25 AM ---------- Previous post was 11-03-2009 at 02:31 PM ----------
I can't seem to find any data on the assumed fractional occurance of stars of different masses. Currently I go with the following chances at creation:
2% chance for a supermassive star to be created, 20 to 90 SM
8% for a pretty massive star, 10 to 20 SM
10% for a massive star, 3 to 10 SM
40% for a medium mass star, 0.5 to 3 SM
20% for a low mass star, 0.08 to 0.5 SM
these numbers are just out of my gut and without any basis on anything else. Maybe someone more familiar with the matter could correct this a little?