Issues.00126 - lordmundi/wikidoctest GitHub Wiki
00126: add comment in planet2.cfg for atmosphere2 arguments
Summary: add comment in planet2.cfg for atmosphere2 arguments
Created: 2008–12–04 11:01
Status: Released
Category: Request
From: frankie
Version: 2.0
Released_In: 2.3
Description:
there is a comment describing the arguments for the atmosphere option to planet2, but the new atmosphere2 syntax is not commented to explain what the arguments are.
Comments
frankie October 19, 2012, at 01:20 PM: Unlike the atmosphere command, atmosphere2 replaces the "exponential" and "linear" terms with a single "density_falloff_exponent" term that defines how fast the density of the atmosphere falls to zero.
# atmosphere2( surface_density, end_elevation, sR, sG, sB [, density_falloff_exponent [, aRatio, aR, aG, aB] ] )
# /* surface_density = amount scattered per unit volume at the planet's surface */
# /* end_elevation = altitude above planetary elipsoid where the atmosphere density falls below 0.1% of density at the planet's surface */
# /* density_falloff_exponent = the exponent used in computing rate of density falloff (linear = 1.0) */
# /* s(RGB) = normalized scattered color */
# /* aRatio = absorbtion to scattering ratio */
# /* a(RGB) = normalized absorbed color */
This was also added in planet2_earth.cfg as a comment.
Associated Commits
| commit | 3425106a2771b06f89731a72b6e787bee54c84e9
link5 |
||
| Author: | Frankie
|
| Date: | Fri Oct 19 13:20:01 2012 -0500
|
| Message: | [@Issue 00126: Updated comment to also show atmosphere2 syntax
@] |
Affected Files:
configs/planet2_earth.cfg | 7 +++++++
1 file changed, 7 insertions(+)