The ringworld bug is related to the Magnitude Limit as well!
First I placed an albedo in each of the ssc entries in the ringworld.ssc file.
This albedo entry was not there before.
Code: Select all
"Ring Section 1" "HD 512"
{
Radius 1331597.452 #1.02au tan 1
EllipticalOrbit {
Period 0.0249589 # 9.11/365
SemiMajorAxis 1.02 #au 153000000 km
ArgOfPericenter 1
}
Albedo 0.001
RotationOffset 1
}
Then I turned the magnitude Limit down to its minium (0.8 ) then made the approach to HD 512 and the ringworld worked without crashing!
I did the same with the Magnitude Limit at 3.20 and it still worked.
Then at 5.20 and it crashed.
Chris, do you think you could fix this?
The same problem occurs with my MySQL version of celestia so I ran the debug version with the debugger.
Here are some screenshots of the debugger in different contexts (vecmath.h,intersect.h and render.cpp) at the point of the crash.
http://mostlyharmless.sourceforge.net/p ... crash1.gif
http://mostlyharmless.sourceforge.net/p ... crash2.gif
http://mostlyharmless.sourceforge.net/p ... crash3.gif
http://mostlyharmless.sourceforge.net/p ... crash4.gif
and here is the ssc file that I used to cause the crash.
http://mostlyharmless.sourceforge.net/p ... _hd512.zip
Im guessing here, is it geting into a deadlock when calculating the closer object? What do you think?
Can you reproduce it?
Marc