Lightning!
Posted: 23.12.2004, 04:57
Not lightning bolts or something, but lightning flashes, as seen from space. I realize that it would probably be difficult for celestia to determine where to correctly place the flash (so you don't see lightning in clear skies). The best way to implement it, I believe, would be via SSC code, like this for example:
Here, an intensity of 1.000 means the flashes are clearly visible in daylight, while 0.000, obviously, means they're barely visible at all in the night.
The flash radius would be measured in kilometers, Celestia's standard unit of measurement.
A frequency of 10 equals 100 flashes per second across the planet, like on Earth.
Here's how I could use the lightning feature on a planet I currently have orbiting Deneb...
Please give this poor little world some lightning....
Code: Select all
Lightning {
Color [ 0.500 0.500 0.550 ]
Intensity 0.800
FlashRadius 3.000
Frequency 10
}
Here, an intensity of 1.000 means the flashes are clearly visible in daylight, while 0.000, obviously, means they're barely visible at all in the night.
The flash radius would be measured in kilometers, Celestia's standard unit of measurement.
A frequency of 10 equals 100 flashes per second across the planet, like on Earth.
Here's how I could use the lightning feature on a planet I currently have orbiting Deneb...
Code: Select all
"Belle Hades" "Deneb" {
Texture "belle hades.png"
NightTexture "belle hades-night.png"
BumpMap "belle hades-bump.png"
BumpHeight 0.8
Radius 12756
SpecularTexture "belle hades-spec.png"
SpecularColor [ 0.50 0.50 0.55 ]
SpecularPower 47.27790666
HazeColor [ 0 0 1 ]
HazeDensity 0.1
# Oblateness 0.0001
Atmosphere {
Height 127.56
Lower [ 0.500 0.500 1.000 ]
Upper [ 0.400 0.400 0.800 ]
Sky [ 0.000 0.000 1.000 ]
CloudHeight 12.756
CloudSpeed -8
CloudMap "belle hades-clouds2.png"
}
Lightning {
Color [ 0.500 0.500 0.550 ]
Intensity 1.000
FlashRadius 3.000
Frequency 100
}
EllipticalOrbit
{
Period -1142.0
SemiMajorAxis 415.743
Eccentricity 0.030
Inclination 3.000
AscendingNode 90.000
LongOfPericenter 90.000
MeanLongitude 105.000
}
RotationPeriod -622.900
Obliquity 00.000
EquatorAscendingNode 00.000
RotationOffset 00.000
Albedo 0.55
#Rings {
# Inner 17000
# Outer 44000
# Texture "gc_rings_06.png"
#}
}
Please give this poor little world some lightning....