Prometheus again, with Pre5
Posted: 04.11.2004, 08:10
OK. With Pre5, I ditched the old AlfCen code I had and used the default that came with Celestia, and used the following ssc for the planet:
Now, I have Prometheus at 4 AU from A, and Polyphemus (a twin placeholder planet) at 0.4 AU from A.
For Prometheus - now at 4 AU from A - I can finally see some illumination from B - even when B is at 35 AU, with no ambient, the "dark side" (from A) is still just barely above black. This is demonstrated in the link below. B is directly behind the camera, and you can see the darkside illumination from that star.
cel://PhaseLock/Rigel%20Kentaurus%20A:Prometheus/Rigel%20Kentaurus%20B/2193-01-14T22:18:26.67324?x=MBzESHNCztHEG+f//////w&y=EIVwzksa9VXa69L//////w&z=EI5IzRoZbt8yPio&ow=-0.547743&ox=0.086026&oy=-0.472275&oz=-0.685225&select=Rigel%20Kentaurus%20B&fov=22.894060&ts=10000.000000<d=0&rf=37651&lm=3
For Polyphemus, at 0.4 AU from A - I see no illumination from B at all. What's more, I see no illumination from B at all even when there is no illumination from A visible at all - even when B is at its closest approach of 11 AU! This is demonstrated below.
cel://PhaseLock/Rigel%20Kentaurus%20A:Polyphemus/Rigel%20Kentaurus%20B/2193-02-09T10:42:13.25412?x=YDOExE5ARoyVG+f//////w&y=lFG5Bg9dgdDb69L//////w&z=CAgy9fA4l+QOPio&ow=0.659355&ox=0.347901&oy=-0.052884&oz=-0.664394&select=Rigel%20Kentaurus%20B&fov=27.827868&ts=10000.000000<d=0&rf=37651&lm=3
There's obviously no illumination on the darkside from B there (which is again directly behind the camera, and at its closest to the planet), even though the planet is barely lit by A in this view.
Now, a thin crescent illuminated by A at Polyphemus is surely not going to drown out all the illumination from B is it? I know that it's supposed to be showing what our eyes would see, but if A is entirely eclipsed by Polyphemus, then surely the only illumination you'll see is from B. And you should be able to see that.
It seems to be that one solution to this would be to have a phase angle dependence on the apparent visibility of the hemisphere illuminated by the companion. If the phase angle is low (i.e. both stars are behind the camera), then the illumination of the closer star will drown out any illumination from the further one. If the phase angle is near 180 degrees (i.e. the planet is between A and the camera, and B is behind the camera) then illumination from B will dominate and become more visible since A isn't illuminating much of the visible surface of the planet.
Is this possible to implement? I think it'd produce more realistic results.
Code: Select all
"Prometheus" "Alf Cen A"
{
Texture "mars.*"
Radius 6000
Atmosphere {
Height 60
Lower [ 0.43 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.40 0.6 1.0 ]
Sunset [ 1.0 0.6 0.2 ]
# Sunset [ 0.3 1.0 0.5 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.*"
}
EllipticalOrbit {
Period 7.69
SemiMajorAxis 4.0
Eccentricity 0.00
Inclination 0.00
AscendingNode 0.0
LongOfPericenter 0.0
MeanAnomaly 0.0
}
Albedo 0.30
RotationPeriod 91.52
}
"Polyphemus" "Alf Cen A"
{
Texture "mars.*"
Radius 6000
Atmosphere {
Height 60
Lower [ 0.43 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.40 0.6 1.0 ]
Sunset [ 1.0 0.6 0.2 ]
# Sunset [ 0.3 1.0 0.5 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.*"
}
EllipticalOrbit {
Period 0.22
SemiMajorAxis 0.4
Eccentricity 0.00
Inclination 0.00
AscendingNode 0.0
LongOfPericenter 0.0
MeanAnomaly 0.0
}
Albedo 0.30
RotationPeriod 91.52
}
Now, I have Prometheus at 4 AU from A, and Polyphemus (a twin placeholder planet) at 0.4 AU from A.
For Prometheus - now at 4 AU from A - I can finally see some illumination from B - even when B is at 35 AU, with no ambient, the "dark side" (from A) is still just barely above black. This is demonstrated in the link below. B is directly behind the camera, and you can see the darkside illumination from that star.
cel://PhaseLock/Rigel%20Kentaurus%20A:Prometheus/Rigel%20Kentaurus%20B/2193-01-14T22:18:26.67324?x=MBzESHNCztHEG+f//////w&y=EIVwzksa9VXa69L//////w&z=EI5IzRoZbt8yPio&ow=-0.547743&ox=0.086026&oy=-0.472275&oz=-0.685225&select=Rigel%20Kentaurus%20B&fov=22.894060&ts=10000.000000<d=0&rf=37651&lm=3
For Polyphemus, at 0.4 AU from A - I see no illumination from B at all. What's more, I see no illumination from B at all even when there is no illumination from A visible at all - even when B is at its closest approach of 11 AU! This is demonstrated below.
cel://PhaseLock/Rigel%20Kentaurus%20A:Polyphemus/Rigel%20Kentaurus%20B/2193-02-09T10:42:13.25412?x=YDOExE5ARoyVG+f//////w&y=lFG5Bg9dgdDb69L//////w&z=CAgy9fA4l+QOPio&ow=0.659355&ox=0.347901&oy=-0.052884&oz=-0.664394&select=Rigel%20Kentaurus%20B&fov=27.827868&ts=10000.000000<d=0&rf=37651&lm=3
There's obviously no illumination on the darkside from B there (which is again directly behind the camera, and at its closest to the planet), even though the planet is barely lit by A in this view.
Now, a thin crescent illuminated by A at Polyphemus is surely not going to drown out all the illumination from B is it? I know that it's supposed to be showing what our eyes would see, but if A is entirely eclipsed by Polyphemus, then surely the only illumination you'll see is from B. And you should be able to see that.
It seems to be that one solution to this would be to have a phase angle dependence on the apparent visibility of the hemisphere illuminated by the companion. If the phase angle is low (i.e. both stars are behind the camera), then the illumination of the closer star will drown out any illumination from the further one. If the phase angle is near 180 degrees (i.e. the planet is between A and the camera, and B is behind the camera) then illumination from B will dominate and become more visible since A isn't illuminating much of the visible surface of the planet.
Is this possible to implement? I think it'd produce more realistic results.