Sun is from North [NOT A BUG]

User avatar
Unco
Posts: 2561
Joined: 02 Jan 2013 21:13
Location: Denmark

Re: Sun is from North [NOT A BUG]

#11 Post by Unco » 27 Aug 2015 22:29

Uxot wrote:Um i found it very unrealistic when i was up north and that i was looking at time and it said 2:40 AM and the sunrise was there....wtf?
It is based on the 21st of June, so it is realistic.

Uxot
Posts: 382
Joined: 20 Jun 2013 00:52

Re: Sun is from North [NOT A BUG]

#12 Post by Uxot » 28 Aug 2015 05:24

Dang ok..i guess its just me then...used with Canada times LOL

User avatar
Unco
Posts: 2561
Joined: 02 Jan 2013 21:13
Location: Denmark

Re: Sun is from North [NOT A BUG]

#13 Post by Unco » 28 Aug 2015 05:48

Day length should be the same at the same quadrant. Local time might be slightly different, though.

User avatar
davidzoli
Posts: 3182
Joined: 22 Jun 2014 10:08
Location: Budapest, Hungary
Contact:

Re: Sun is from North [NOT A BUG]

#14 Post by davidzoli » 22 Mar 2016 12:18

How come the date "21st of June"?
We have working harvesters, fully growth sunflowers and haystacks. At the end of June? Is that legit?

plykkegaard
Posts: 2649
Joined: 26 Oct 2014 13:42

Re: Sun is from North [NOT A BUG]

#15 Post by plykkegaard » 22 Mar 2016 12:41

I always assumed early august or something
The season is from mid july to mid august depending on when the crop is sowned (winter or spring)
Sorry, out of office

User avatar
Cadde
Global moderator
Posts: 9534
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: Sun is from North [NOT A BUG]

#16 Post by Cadde » 23 Mar 2016 00:11

Midsummer, A.K.A, summer solstice.

Midsummer: https://en.wikipedia.org/wiki/Midsummer

Summer solstice: https://en.wikipedia.org/wiki/Summer_solstice

Haystacks happen several times during the late spring, summer to early fall btw. 1st, 2nd, 3rd and possibly 4th and 5th cuts of hay.
ImageGreen text = Moderator action.
ImageWhite text = Opinions and general banter.
PEBCAK errors... PEBCAK errors everywhere! If my life had a log file, it would be filled with PEBCAK...

User avatar
EvgenKo423
Posts: 579
Joined: 04 Nov 2015 07:36
Location: Russia
Contact:

Re: Sun is from North [NOT A BUG]

#17 Post by EvgenKo423 » 20 May 2016 20:09

The sun position in game is now calculated depending on your position on a map and the day of the year which can be set in a config. But the calculation also requires the year for which to calculate the position. And since the update I was wandering which year the SCS actually uses, because it can't be set anywhere. Is it 2015? ;)

User avatar
Cadde
Global moderator
Posts: 9534
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: Sun is from North [NOT A BUG]

#18 Post by Cadde » 20 May 2016 21:05

What difference does a year make?
I am serious here. Let's not go into the finer details of whether the sun rises 20 minutes sooner or later in your neck of the woods in the year 2035...
ImageGreen text = Moderator action.
ImageWhite text = Opinions and general banter.
PEBCAK errors... PEBCAK errors everywhere! If my life had a log file, it would be filled with PEBCAK...

User avatar
Max
SCS Software
Posts: 5982
Joined: 26 Nov 2012 10:00
Location: SCS, Prague

Re: Sun is from North [NOT A BUG]

#19 Post by Max » 20 May 2016 22:50

as sun position is computed in not-that-exact floats, common error can be up to cca 1%. so it doesn't matter if you miss few decades .. :)

if it helps, this is used for base values:

Code: Select all

const float y = 2.0f*Pi / 365.0f * (day_in_year - 81.0f);		//year relative position, 0 = spring equinox
const float declination = v_deg_to_rad(23.45f) * v_sin(y);		//declination, basic sun plane angle (radian)
const float etc = 9.87f * sin(2*y) - 7.53f * cos(y) - 1.5f * sin(y);	//empiric time correction of eliptic orbit (minutes) 
not to mention that this is deviation you simply cannot see .. ;)
Nobody can tell you anything about it. Those who know about it aren't allowed to talk. And those who talk know nothing.

User avatar
EvgenKo423
Posts: 579
Joined: 04 Nov 2015 07:36
Location: Russia
Contact:

Re: Sun is from North [NOT A BUG]

#20 Post by EvgenKo423 » 21 May 2016 11:07

Well, I don't know the theory that good, but I know that the full date is used in calculation, hence the question. I just thought it means much as it's a relatively big amount of time.
Thanks for the clarification, Max.

Post Reply

Return to “Bugs 1.20”

Who is online

Users browsing this forum: No registered users and 0 guests