The following warnings occurred:
Warning [2] Undefined variable $awaitingusers - Line: 33 - File: global.php(779) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(779) : eval()'d code 33 errorHandler->error
/global.php 779 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 837 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 837 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 4950 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 4950 errorHandler->error
/global.php 837 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1394 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1394 errorHandler->error
/inc/functions.php 1349 fetch_forum_permissions
/printthread.php 83 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 1147 errorHandler->error
/inc/class_parser.php 1174 postParser->mycode_parse_img
[PHP]   postParser->mycode_parse_img_callback2
/inc/class_parser.php 481 preg_replace_callback
/inc/class_parser.php 177 postParser->parse_mycode
/printthread.php 184 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 1147 errorHandler->error
/inc/class_parser.php 1174 postParser->mycode_parse_img
[PHP]   postParser->mycode_parse_img_callback2
/inc/class_parser.php 481 preg_replace_callback
/inc/class_parser.php 177 postParser->parse_mycode
/printthread.php 184 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 1147 errorHandler->error
/inc/class_parser.php 1174 postParser->mycode_parse_img
[PHP]   postParser->mycode_parse_img_callback2
/inc/class_parser.php 481 preg_replace_callback
/inc/class_parser.php 177 postParser->parse_mycode
/printthread.php 184 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error



High Frontier Forums
working on asteroids - Printable Version

+- High Frontier Forums (http://highfrontier.com/forum)
+-- Forum: General (http://highfrontier.com/forum/forumdisplay.php?fid=1)
+--- Forum: Dev Log (http://highfrontier.com/forum/forumdisplay.php?fid=15)
+--- Thread: working on asteroids (/showthread.php?tid=166)



working on asteroids - JoeStrout - 09-09-2016

For version 0.25 we're planning to open up the outer solar system, including the main asteroid belt (and probably the Trojans too).

So we're going to need some asteroids!  We started today working on generating these procedurally, so that there would be an essentially limitless supply of unique asteroids.  Here's what our first afternoon of work has produced...


[Image: c51iXSH.gif]

There's a lot more work to do, of course, but it seems like a decent start.  What do you think?



RE: working on asteroids - Darkvortex87 - 09-23-2016

Cool!
so, basically it will be possible to hollow out asteroids?
If i had to choose an asteroid class, i would probably pick class M asteroid, since they are the more common and the most structurally strong.

Now, how to actually dig asteroid made entirely from aggregated metal?


RE: working on asteroids - JoeStrout - 09-23-2016

No, you won't be able to hollow out asteroids — you'll be able to mine them for materials, and turn them into habitats.

I'm very skeptical that most (any?) asteroids would be strong enough to stay together if you spun them up to 1G (or even much less).  Most of them are loose aggregates, as you said.  Gravity holds them together, and pseudogravity in the other direction would tear them apart.

If it were a very metal-rich asteroid and you melted it (perhaps with a giant parabolic mirror), and then inflated the molten metal like blowing a glass bubble, then maybe you could get it to hold together... but I still think you'd be better off just turning it into beams, girders, and other parts with which to build a standard colony.

(Note that in the game, all this mining activity happens in the background — we'll just apply it to the local cost of materials, which will be cheap for anything you can get from the asteroid.  This is the same sort of thing we do when you build around a planet or moon.)


RE: working on asteroids - JoeStrout - 09-23-2016

Incidentally, here's the latest incarnation of the procedurally-generated asteroids...


[Image: ZBlUUqx.gif]

(Switching to a different asteroid every 3 seconds.)  What do you think?




RE: working on asteroids - Darkvortex87 - 09-25-2016

Nice work!
They are very realistic!


RE: working on asteroids - JoeStrout - 10-27-2016

Main asteroid belt is done.  Every colony built gets a unique, pseudorandom asteroid.

[Image: AQVxw21.png]

The same code will be used for colonies around minor moons of the gas giants (though of course in that case, you'll also have a gas giant to look at!).



RE: working on asteroids - hanelyp - 10-28-2016

Some of those appear to be spinning on the wrong axis. Otherwise very good.


RE: working on asteroids - JoeStrout - 10-29-2016

(10-28-2016, 10:39 PM)hanelyp Wrote: Some of those appear to be spinning on the wrong axis.  Otherwise very good.

The early prototypes above were spinning just for a better view.  The ones in-game always spin around a more sensible axis.

(And props to you for noticing! Big Grin)