Hi Ebi,Ebi wrote:The civilization is on main planet, IMO this planet should have the "correct" distance to support life. Of course, "correct" means actually nothing if there are no physic laws defined:) However, how's about giving the Oolite sun the apparent size of our solar system sun, viewed from the main planet. Standing on Earth the sun has a diameter of only 0.5 degree. I've used this code recently:
Code: Select all
s.setPosition(p.position.add( s.position.subtract(p.position).direction().multiply( s.radius / Math.tan(0.25 * Math.PI / 180)))); // s == sun // p == main planet
not that Oolite has to worry about realism .. but your comment sent my mind racing on RL planetary theory. (Nearly) all stars will have a habitable zone around them. Depending on the temperature, size, of star that zone will be closer or further away. For red dwarfs the distance is so close to the star that the planet would probably get tidally locked and (most of it) would fry, so that sets a lower limit. As for upper limit, blue supergiant produces too much UV for a planet's atmosphere to retain water vapour undisassociated.
Within the range of allowed stars for populated worlds (Pop >= 0.8 Billion), for a limited range the radius of star would scale with habitable distance (leaving the subtended angle constant as your code above suggests) but most cases are strongly affected by the temperature (colour) of the star. And maybe planets around red supergiants would still be habitable - for a while. I think Oolite uses a range of pre-determined random numbers for most of these properties (star radius, colour, distance) and probably quite difficult to do better.