Jump to content

Sky Flicker - Time of Day Time lapse - via C#


daxxus

Recommended Posts

I have a big demo this Thursday and I'm using the full GAIA Pro package - it has been a BIG hit with my customer - I've been using Unity since 2006 or so, so feel free to be as in the weeds as you want (I'm computer science though - I have almost no art skills).

Anyway - I'm using a coroutine to lapse the time pretty quickly but for some reason the sky flickers going thru some of the sky states.  I'm only modifying the Gaia.GaiaGlobal.Instance.GaiaTimeOfDayValue.m_todMinutes and Gaia.GaiaGlobal.Instance.GaiaTimeOfDayValue.m_todHour (when it hits the next hour).  I'm not yielding null but instead at 60Hz (so a yield of (0.016f) seconds).  

Anyway - I'd love to get rid of the flicker - I've looked all over and can't seem to figure out the culprit.  Oddly enough while in the editor if I flick the windspeed the flicker stops for a few seconds before repeating, but I figure that could be a fluke. 

Thank you in advance.  You guys have a wonderful product.  I plan on using this with my Military / Govt. simulation customers soon.    

Link to comment
Share on other sites

Oh I should point out I'm also often (but not always) turning on/off the rain/snow during the time of day time lapse.  Just in case that matters or triggers an idea of what this sky flicker may be.

Thanks again.

Link to comment
Share on other sites

I tried taking a video with Fraps but oddly it doesn't seem to do it when I'm running fraps - almost as if Fraps slows the frame rate down to where it doesn't occur.  I'm wondering am I time lapsing too fast?  1 GAIA minute per 1/60th of a second.    

Link to comment
Share on other sites

6 hours ago, daxxus said:

I tried taking a video with Fraps but oddly it doesn't seem to do it when I'm running fraps - almost as if Fraps slows the frame rate down to where it doesn't occur.  I'm wondering am I time lapsing too fast?  1 GAIA minute per 1/60th of a second.    

Thank you for this info I am looking into this. 
 

Link to comment
Share on other sites

Bryan if I build as a Windows standalone via a "Windowed" resolution the flicker does not happen (via that build).  So I'm going to be okay for my demo on Thursday, but ultimately I'd like to figure that out as in simulation we do TONS of time-of-day lapsing back/forth when we do AAR (After Action Reviews).  I appreciate your attention - you guys are awesome. 

Link to comment
Share on other sites

On 2/22/2022 at 9:08 PM, daxxus said:

Bryan if I build as a Windows standalone via a "Windowed" resolution the flicker does not happen (via that build).  So I'm going to be okay for my demo on Thursday, but ultimately I'd like to figure that out as in simulation we do TONS of time-of-day lapsing back/forth when we do AAR (After Action Reviews).  I appreciate your attention - you guys are awesome. 

That is very interesting thank you for the info. 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...