Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Mar 23, 2019 3:03 pm

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Feb 28, 2019 1:33 am 
Offline
Deadly
Deadly
User avatar

Joined: Sat May 01, 2010 9:05 pm
Posts: 238
Location: Scotland
Slight technical error of forgetting to pause the game, going to make and eat supper, brew some coffee, catch up on the insanities of Twitter on the phone, blah blah blah ... and for several hours of real time I've been torus-driving out of the system. I can't even recognise the star - I'm just having to trust the compass.

Which raises several questions -
  • * how far out can you go from the star before something overflows
    * since we use units of km in system (don't we? I'll have to check that) and ly on the galaxy map ... will you fly into another system before the overflow. (Ummm 1 ly is 300,000 km/s for 30 Ms , so around 9000 Tm to the ly? Wiki tells me "9.46 x 10^12 km" which ... agrees well enough.)
    * how long would that take in game time / real time?
    * apart from travel time - a problem we face in the real world - there is also an issue of the system being 3d, but the galaxy-map being essentially flat, so I don't see any option for doing STL travel in Oolite. But ... it's making me think interesting questions as I *hope* that a star brightens in my direction of travel. How much do I trust the compass.
Without having a developer build - is there a way I can interrogate the game state to find out, for example, my DistanceFromSun value?

Oh, a pixel flickers as I roll. Is that home? OK - system full of pirates, not Lovely Lave. But I've done the "wandering in a dark forest on a stormy night with a broken torch" thing in the real world, and any glimmer gets seized on.

_________________
--
Shooting aliens for fun and ... well more fun.
"I'm just stepping out of the airlock for a breath of fresh vacuum. I may be gone some time."


Top
   
PostPosted: Thu Feb 28, 2019 2:02 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Jun 20, 2013 10:22 pm
Posts: 1304
Don't know for sure but I'd be very surprised if the following wasn't true...

Each system is a distinct game environment. You can't fly directly from one to another without using a wormhole.

This is one of the illusions of non-player centricity. Not just the point of view, but the action (all of it) is in whatever system the player happens to be in. Thus a 2D map of a 3D 'galaxy' is all that is required.

Whilst it's true that a computer could carry out all the flights and combats of other ships in the other 2,000 odd systems, it would be horribly inefficient for what is supposed to be a low-spec game. So instead it just generates them for whichever system the player happens to be in. The illusion that this isn't so only requires that the game remembers the destination of any ships leaving the system.

If I'm wrong on any of the above then I look forward to being enlightened.

_________________
"With our thoughts, we make the world" :-) - - - Game too slow for you? Masslock Compensators - - - Trouble getting out of trouble? Indestructible Injectors


Top
   
PostPosted: Thu Feb 28, 2019 3:32 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 2251
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Quote:
will you fly into another system before the overflow.
I don't think so. You can go on torus forever and never get to another system. I don't know if I've heard any (handwavium) logic to describe this, but I believe it's correct. The distance traveled has been extended somewhat (a considerable somewhat) with the introduction of floating point precision co-ordinates a few versions ago, but otherwise, eventually, you'll run out of numbers without seeing any other systems.

The only trigger to move the player into a new system is a witchspace jump.

_________________
My OXP's
YouTube: Oolite Teaser Trailer


Top
   
PostPosted: Thu Feb 28, 2019 8:16 am 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 5376
Quote:
* how far out can you go from the star before something overflows
According to the IEEE 754-1985 standard, the max double precision value is ±1.80e308. I believe this will provide you with many many real time years of torus cruising before anything overflows.


Top
   
PostPosted: Sat Mar 02, 2019 11:10 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jun 05, 2007 10:43 pm
Posts: 1266
Location: Berlin
If I remember right (and I may well not do) then some weird things happen when you are very far from the station due to rounding errors and pretty much all the ships in the system crash into each other. This isnt an overflow as such of course.


Top
   
PostPosted: Sat Mar 02, 2019 1:10 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 5376
Quote:
If I remember right (and I may well not do) then some weird things happen when you are very far from the station due to rounding errors and pretty much all the ships in the system crash into each other. This isnt an overflow as such of course.
This had been the case before the introduction of double precision for vectors and coordinates, back in 2013. See. https://github.com/OoliteProject/oolite/issues/22. It is no longer an issue.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited