Page 1 of 1

Celestia 1.3.0 Bug + Feature WIshlist

Posted: 08.10.2003, 22:59
by HouseTrekker
Hi,

i've compiled the newest (stable) version of linux v1.3.0 and noticed a bug in the "goto ..." function (reproducable) which probably destroys the projection matrix in OpenGL. When you try to go to a certain distant planet or system like "antares", at one point nearly the end of the travel , the stars disappear and from this point you will see nothing anymore even travelling to the sol system will not help.
WIthin the sol system travelling works. This bug appeared on following system configuration:
RedHat Linux 8/9 with gcc 3.2
NVIDIA Graphic Card (tested with NV25, NV11)
Driver Revision 4349 / 4496

I have not tried this with the windows version.

Another thing i want to mention which belongs to the feature wishlist, is the missing "save settings" function. It is quite annoying to set the render options on every start of the program. I think it is easy to implement a small function which writes/reads a settings file for this. It is also usefull to have the fullscreen-option working in the linux-version. As i have already seen, there is one in the windows and due my internet researches, there was one in earlier versions. what happened to it?
I hope this is / can be resolved in next versions.

Posted: 08.11.2003, 12:16
by don
Howdy HouseTrekker,

I don't have linux, but Windows, so I can't comment on your bug report.

However, regarding your start-up wishlist item, Celestia has several built-in scripting commands which can be used to control most of the display items. Modify the following script to suit your needs (in a plain text editor), rename the existing celestia\start.cel script to something else (or add it's code to this script (just above the closing "}", and then save this script as start.cel.

If you want to know more about Celestia scripting, visit the Scripting forum.

Hope this helps,

-Don G.

Code: Select all

{
#----------------------------------------------------------------------------
# Set Celestia to a "known state"
#----------------------------------------------------------------------------

# Cancel follow and goto commands, and set Coordinate System to Universal...
    cancel { }

# Note: cancel in ver 1.3.0 does NOT clear Track, Lock or Chase, like the ESC key does,
#       so we must do it manually (version 1.3.1 does this automatically)...
#    select { object "" } # this works
#    track  { }           # this works
#    chase  { }           # this does not work
#    lock   { }           # this does not work


# Clear the display of any left-over text from the print command...
    cls { }


# Do not render the following objects...
    renderflags { clear "boundaries|comettails|constellations|eclipseshadows" }
    renderflags { clear "markers|orbits|pointstars|ringshadows" }
    renderflags { clear "automag|grid" } # version 1.3.1+


# Render the following objects...
    renderflags { set "cloudmaps|galaxies|nightmaps|planets|stars" }
    renderflags { set "atmospheres" } # version 1.3.1+


# Do not label the following objects...
    labels { clear "planets|moons|spacecraft|asteroids|constellations" }
    labels { clear "stars|galaxies" }


# Label the following objects...
#    labels { set "planets|moons|spacecraft|asteroids|constellations" }
#    labels { set "stars|galaxies" }


# Unmark any objects that are currently Marked and disable Marker display...
    unmarkall { } # version 1.3.1+


# Set Minimum Orbit Size...
    set { name "MinOrbitSize" value 1.0 }


# Set Ambient Light Level...
# (0.0 to 1.0 is a good Lo-Hi range)...
    set { name "AmbientLightLevel" value 0.10 }


# Set Field of View...
# (Celestia 1.3.0 default value is 45)
# (Celestia 1.3.1 default value is 25)
    set { name "FOV" value 25.0 }


# Set Star Distance Limit...
# (Celestia default value is 1000000)
    set { name "StarDistanceLimit" value 1000000 }


# For the next two Magnitude settings, Selden Ball reminds us of the following:
# "A magnitude limit of 6.5 corresponds to what you can see with the naked eye
# on a very dark night away from city lights."

# Set visible star Magnitude...
# (Celestia UI: 0.8 to 15.2, default is 6.0)
    setvisibilitylimit { magnitude 6.50 }


# Set Faintest Auto-Magnitude Brightness...
# (Celestia default value is 8.5)
    setfaintestautomag45deg { magnitude 8.5 }


# Set Time Rate (1x, 100x, 1000x, etc.)...
# (A negative value = Reverse Time
#               0   = Pause Time
#               1.0 = Real Time (default)
#            1000.0 = Good moon orbit motion)
    timerate { rate 1.0 }


# Set Date and Time...
#     U.S. Navy Calendar Date/Time to Julian Date/Time converter:
#       http://aa.usno.navy.mil/data/docs/JulianDate.html
#   time { jd JulianDay.JulianTime }
}