The following warnings occurred:
Warning [2] Undefined variable $awaitingusers - Line: 33 - File: global.php(779) : eval()'d code PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (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.27 (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 variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.27 (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.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (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.27 (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 variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.27 (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.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 179 errorHandler->error



High Frontier Forums
Poll: How important are people? - 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: Poll: How important are people? (/showthread.php?tid=114)



Poll: How important are people? - JoeStrout - 12-03-2015

Yes, that's a purposely provocative subject line.  Wink  The real question is: how important is it to see little people and vehicles moving around in your cities?

Right now, we draw buildings, trees, water, etc., but we don't actually draw the people.  You know they're there because they're constantly Squawking about things (and in version 0.21, their squawks will be even more connected to what's in your colony).  But you don't see them.

[Image: jUzGz.jpg]

There is a rationale for this: the time scale is such that one simulated day takes about 30 seconds of real time.  That's a speedup of 2,880.  So a person walking at 3.5 mph (about 1.5 m/sec) would be moving 10,000 mph, or 4,500 meters per second.  Or, about 75 meters per frame if you're running at 60 frames/second.

So if we're realistic about the time scale, you'd never be able to see them.  It's all just happening too dang fast.

But the real reason we haven't done it yet is that it's hard.  Unlike some other city simulation games, which have a pretty restricted camera angle, in High Frontier the angle between the camera and the ground can be extreme, due to the curvature of the habitat.  This makes it quite hard to use common graphics tricks, like 2D images of people seen from various angles, to maintain performance.  And if we try to use real 3D models for hundreds of little people, it's likely to drag the frame rate way down.  There are probably tricks we can do, but it's going to take a fair amount of time to make it work well.

The original SimCity didn't draw people either, or even individual cars really; they just drew an animated texture of cars moving, in proportion to the calculated traffic density on each road segment.

[Image: northenden%203.jpg]

We are going to add vehicle-bearing roads as an option in High Frontier, but you probably won't use them much, because cars really don't make a lot of sense in a space colony.  But we could do something similar for pedestrian/bicycle/etc. traffic, perhaps drawing colorful motion-blurred people whizzing by.

Or, we could bite the bullet and attempt to draw individual people going about their business, ignoring the discrepancy in the timescale (because hey, it is a game after all).

What do you all think?  We really want to hear your opinion!


RE: Poll: How important are people? - JoeStrout - 12-03-2015

To get an idea what it might look like, we threw a model in at the appropriate scale.  (Actually, it's about 20% bigger than true scale, so she would have to duck when going through doors... but again, it's a game!)

Here she is, with the camera zoomed in as close as it can get:

[Image: Kbsx3Zo.gif]

And here's a more typical working distance:

[Image: mLn2HBS.gif]

Of course, with lots of these little people moving around, it wouldn't look quite so lonely.

This was taken on a 1080p monitor, so that first image above is about as big as they would get — about 20 pixels tall.  (We'd probably render them at something like 64 pixels tall, and then scale them down, to give us some extra wiggle room.)


RE: Poll: How important are people? - Pops - 12-03-2015

How about trying a simple primitive shape. I don't know that I would need to see a fully articulated person. They could be traveling in little personal hover pods.


RE: Poll: How important are people? - petkovas - 12-05-2015

I am with Pops. Just use simple colored shapes (dots, triangles, lines) for the different groups of people. Or hover pod sprites.

Anything that do not slows down the game.


RE: Poll: How important are people? - JoeStrout - 12-06-2015

OK, thanks guys, that's good feedback. We'll see what we can do!


RE: Poll: How important are people? - KirstenMoseng - 12-09-2015

It would be neat (although absolutely not necessary) if we can click on the Squawker messages of the people, and upon clicking your view would shift to the physical "location" of that person (or blurry texture representing same). So if a Squawker says "it's a shame they didn't install any docking ports," you could click on that, and it would zoom you to a random person that is near where a docking port might go. Crazy thought. :-)


RE: Poll: How important are people? - JoeStrout - 12-09-2015

That's not such a crazy thought... in fact it makes a lot of sense. Thanks for the idea!