GenesisViewer / Genesis

Genesis is a viewer for second life
5 stars 2 forks source link

Inherited Bug: Day/Night cycle on v1 is 1 hour ahead of v2 cycle (but there is more to it than that) #375

Open TorricRodas opened 1 year ago

TorricRodas commented 1 year ago

Mel, you may recall we discussed this a long time ago. When setting the day/night cycle for concerts after EEP was introduced, I noticed that v1 architecture displayed night 1 hour earlier than LL viewer (therefore FS too, which uses their code). I had to wiggle some settings in LL to make the night longer so that when our concerts ended at 3am it was still night time on both LL and v1, else it would be dawn on v1 before the show ended and still night time on LL viewer.

Not actually a bug as such, more a remnant of how things used to be done. I don't know if this is something we want to look at fixing, or if it is too ingrained with our EEP emulation and therefore jeopardises the work we did in emulation of EEP.

I cannot vouch for the findings of this users research, but they do make sense and could give us some good insight, should we decide to revisit EEP... but if we do, we should also look at removing the day/night sliders and corresponding code, or fixing them so they do something meaningful. Presently the sliders have no effect and have had no effect in v1 code since EEP was introduced.


Evan Hunter (olshamar) (Genesis Test 939): The most recent step in my LSL education was to write a script that identifies when it is night or day in a sim. The script works but not with Genesis. Out of curiosity (we all know what that did to the cat), I began studying how the Genesis' daycycle behaves. I found out a few interesting things but don't know if they are features or bugs. lol I'm sure they are known features since the daycycle must be part of the EEP emulator. (Genesis Test 939): My next step in LSL education must be to figure out how to identify day and night with the Genesis daycycle. My first thought was to rely on the user to set a start time for the day and then run a timer based on a four hour cycle or I could even let the user set the day length. But then I would not be doing the assigned task of learning how to use the Genesis daycyle to determine time of day. (Genesis Test 939): So far, the only thing I can think of doing is analyzing the data I can collect from llGetSunDirection and see if Genesis follows any pattern. (Genesis Test 939): When I started studying the sun direction data, I realized that Genesis is not using the Linden sun and appears to render night at the same time across all sims except for those that have set the land to "fixed sky." (Genesis Test 939): When I test my scripts using that "other" viewer, different sims are at different points in their day or night. (Genesis Test 939): the LSL function llGetSunDirection shows if the Linden sun is above the horizon or below it and when I visit different sims I get different results. (Genesis Test 939): However, if you use your land menu to set a windlight like Nans optimal (I think it is called), the sun direction doesn't change. (Genesis Test 939): That sim never gets night fall using a viewer that is using the Linden daycycle. (Genesis Test 939): But the Genesis daycylce is rendering night in that sim for me right now. lol (Genesis Test 939): It is a fun puzzle to be pieced together. (Genesis Test 939): Someone asked me recently why I am using a new viewer when FS has been around for so many years. I told them that FS was a problem with my old PC and making everything too slow and Genesis is working much better for me. I wish more people would discover this fact.

Sliders: Please note, all check boxes still work on both menus Snap0006

Snap0005