Planetary Rotation

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Planetary Rotation

Post by Diziet Sma »

Not exactly a bug, but something I hadn't realised until now. I'd always assumed the main planets in Oolite rotated about a fixed axis. I took trunk5503 out for a spin today, and happened to engage the TAF to get a dawdling Moray off the scanner, and noticed the planet was rolling about like a drunken pinball.. in the space of about a minute at TAF4 I noticed at least 5 or 6 distinct shifts of rotational axis.

I was wondering if there was any particular reason for this rather bizarre behaviour, and if it is possible (or even desirable) to fix it?
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Planetary Rotation

Post by cim »

The planet's atmosphere (cloud layer) does rotate all over the place, but as far as I can tell the planet below is fine. Until recently you might not have noticed, because the cloud layer was broken for textured planets. I'll fix that, and also tie the default rotation speed a little more closely to the planet's rotation speed.

What do people think about the planetary rotation speeds, in general, by the way? The median planetary day is about 40 minutes, which seems on the short side, if the planet can make a full revolution in the time it takes to get down a busy spacelane.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Planetary Rotation

Post by Cody »

Slower planetary rotation would be preferable for me.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Planetary Rotation

Post by Diziet Sma »

So that's what it was.. :shock: it sure did look weird.. At least sorta matching planetary rotation would make more sense.. and I agree with EV about the speed.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Planetary Rotation

Post by Smivs »

Yeah, slower sounds good, but we'll need to be careful in case it becomes un-noticeable. At least at the moment it is clear the planets rotate, but even then you have to watch it for a few seconds to really see the rotation.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Planetary Rotation

Post by cim »

Smivs wrote:
Yeah, slower sounds good, but we'll need to be careful in case it becomes un-noticeable. At least at the moment it is clear the planets rotate, but even then you have to watch it for a few seconds to really see the rotation.
For me it's not too bad in space, but when you have to fly flat-out in a Cobra III to keep up with the landscape at low altitude, it gets a bit strange.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Planetary Rotation

Post by Commander McLane »

So perhaps about halve the rotation speed? Something in the range of between 60 and 80 minutes.

It would clearly not be a good idea to make it "realistic" with a 24-hour rotation period.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Planetary Rotation

Post by cim »

Commander McLane wrote:
It would clearly not be a good idea to make it "realistic" with a 24-hour rotation period.
Indeed. Though, because of the way planetary rotation is calculated, some of them already have that. Probably the lower end needs speeding up too.

I'll set it to "about 1-2 hours" for the rotation period, which at the high end is just enough to make it out visually while you watch, and at the low end still gives a noticeable turn if you look away and do something else for a few minutes.

And then I'll document all the secret planetinfo.plist parameters that I've found while working on this ;)
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Planetary Rotation

Post by Smivs »

cim wrote:
And then I'll document all the secret planetinfo.plist parameters that I've found while working on this ;)
<Smivs looks up, interested> :)
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Planetary Rotation

Post by cim »

rotational_velocity (and the following two)

So, if you disagree with the choice of rotation speed, just set rotation_speed_factor to whatever you like.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Planetary Rotation

Post by Wildeblood »

cim wrote:
And then I'll document all the secret planetinfo.plist parameters that I've found while working on this ;)
Yeah, that would be good. There's a few of them. :D
cim wrote:
rotational_velocity (and the following two)
Um, that's not one of the secret ones. If you scroll down the page to "Custom Planet settings" you'll see it documented there.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Planetary Rotation

Post by cim »

Wildeblood wrote:
cim wrote:
And then I'll document all the secret planetinfo.plist parameters that I've found while working on this ;)
Yeah, that would be good. There's a few of them. :D
And a few more that look like they're planetinfo settings but aren't - there are a bunch of settings for the atmosphere generator, but none of them can be set from planetinfo because of the way the atmosphere is generated.
cim wrote:
rotational_velocity (and the following two)
Um, that's not one of the secret ones. If you scroll down the page to "Custom Planet settings" you'll see it documented there.[/quote]As applied to the main planet, though, the documentation was not in the right place. But yes, the other two are more secretive.
Post Reply