pioneerspacesim/pioneer — pull request #972 by tomm (2012-02-15 02:53:32+00:00)
Title: Atmosphere scale height2

This patch calculates a semi-realistic scale height for planet atmospheres, using the SBody temperature and the surface gravity. It assumes all planet atmospheres have the same average molecular mass as earth's, but we can extend this easily.

It also alters the geosphere atmosphere shaders to integrate the atmosphere density only to a sensible distance from the planet surface (to 10 scale heights currently). This allows extremes of scale height to render correctly.