Atmosphere clip bug

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Atmosphere clip bug

Post #1by selden » 15.07.2007, 13:23

I don't know if this is related to the "hole in the atmosphere" effect.

This problem is seen in Celestia v1.5.0 from cvs, pre3, and pre1.

This problem is seen with all Star styles and Render paths.

This problem is not seen in Celestia v1.4.1 final.

When the image of a body with a deep atmosphere is off center in Celestia's window, one side of the atmosphere is not drawn. When it is centered in the window, the entire atmosphere is drawn. It's like it's being clipped on the wrong side.

Image
An addon to duplicate this problem is available in
http://www.lepp.cornell.edu/~seb/celest ... ip-bug.zip

but the ssc catalog is relatively simple:

Code: Select all


 "body" "Sol" {
   Class "spacecraft"
   Color [ 1 1 1 ]
   Radius 0.004

   Atmosphere {
     Height 0.05
     Lower [ 0.85 0.9 1]
     Upper [ 1 0.8 0.6]
   }

   EllipticalOrbit { Period 1 SemiMajorAxis 1 }

 }


and this URL takes you to the viewpoint shown above:
atmosphere clib bug

(I found this while simulating an explosion in space.)
Selden

Return to “Bugs”