PhysicalAddons / physical-starlight-and-atmosphere

issue tracker
16 stars 2 forks source link

Animation starting values incorrect #65

Open iridescentcrescent opened 2 years ago

iridescentcrescent commented 2 years ago

Versions: Blender: 3.0.1 Atmosphere: 1.4.2

Apologies if instructions are overly verbose.

Setup:

  1. Take default scene with default settings.
  2. Set sun elevation to 0.
  3. Insert keyframe on keyframe 1 on elevation.
  4. Set final keyframe to 361. YMMV.
  5. Change active keyframe to 361.
  6. Change sun elevation to 360.
  7. Insert keyframe on sun elevation.
  8. Verify animation.
  9. Change render settings to not overwrite existing files. Probably want to set the resolution down, as well.
  10. Save (assume saved as c:\tmp\file.blend). Close.

Running:

  1. Open command prompt.
  2. Navigate your way to your blender.exe folder.
  3. Type "blender c:\tmp\file.blend -b -a" and hit enter.
  4. Render a representative number of frames - enough so you can tell the position of the sun.
  5. CLOSE.
  6. Repeat steps 1-4.

Let's assume you rendered frames 1-10, closed and restarted, and rendered another 10 frames. Frame 11 will be identical to frame 1, but frame 12 will place the settings at the correct values.

karlisup commented 2 years ago

Hi @iridescentcrescent, Thank you for your patience! Just reproduced this issue. I am sure we will tackle this issue when we rewrite the way how animation is being handled in PSA. Currently, we are learning a lot about drivers in Blender while developing the PCO addon and this knowledge will be used to rewrite how animation works also on PSA.

Thank you for the steps defined in this manner as it really helps to reproduce the issue. 🙌 I will keep you updated when we finish migrating from python handlers to drivers and fix this issue.