After compiling the latest sourcecode( from 3 days ago) I'll get a divide by zero error. Celestia will crash after startup as soon as it starts renderering IO. The debugger tells me that the problem comes from lodsperemesh.cpp, but this file isn't changed at all. After some investigation it looks like that the problem is caused by the cameraOrientation from render.cpp and/or render.h. I don't know the ideas behind the function of the cameraOrientation, so I couldn't fix the bug myself. For this reason I've used these two files from a previous release. It works fine again.
HB
Divide by zero error
-
Topic authorHB
- Posts: 132
- Joined: 26.11.2002
- With us: 22 years 2 months
- Location: Eindhoven, The Netherlands
Divide by zero error
The problem has been solved! Newer versions of the file lodspheremesh.cpp has been released with the speed of light. There are two new releases in one day.So perhaps I've missed the latest one.
HB
HB
HB