Site menu
Login form

Our poll
What would you most like to see in the next version of SpaceEngine?
Total answers: 50663

Now on site:
Total online: 33
Guests: 29
Users: 4

Today visited:


Main » 2013 » March » 2 » Star browser
Star browser
I made a "Star browser", it gets a list of stars in a certain radius from the camera (your current location). Some properties like distance, spectral class and luminosity are returned by engine immediately. But most interest properties - number of stars in a system, number of planets, and presence of life - are not available until planetary system is being generated. SE generates a systems relatively slowly - 0.1 - 1 seconds per system. So last 3 columns of the table are filled gradually, taking up to several minutes to be finished (depending on number of stars found, it is limited to 1024). Systems are generated one by one per frame, multithreading is not used, so FPS are dropped significantly, until search finishes.

The table can be scrolled (of course), and can be sorted by any column, in ascending and descending order, by pressing keys above the table. Clicking in the table selects the star, you may press the "Goto" button or "G" key to fly to it.

Generated and sorted table can be saved in a text file by pressing "Export" button. This can be useful to build external databases and watch statistics - I will use it in future to tweak the procedural stars generator.

Example of exported table:

Of course this is a very cheating feature. Now many forum's contests almost losts a sense, because you can easily found most habitable system or so. However, the searching (generating) time is big, and this is slightly softens the circumstances. But in the final game, you will not be able to determine the number of planets and life from the distance, you must enter the system on your spaceship, and explore it. Star browser will show a number of planets/life only systems that already was discovered by you or other players.
Views: 493 | Added by: SpaceEngineer | Rating: 5.0/1
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]