bezo97 / IFSRenderer

3D IFS fractal renderer and editor
https://ifsrenderer.z97.io/
GNU General Public License v3.0
52 stars 7 forks source link

Dark poles in Equirectangular Projection #33

Open mareninigor opened 1 month ago

mareninigor commented 1 month ago

Describe the bug Equirectangular Projection have dark poles

To Reproduce Steps to reproduce the behavior:

  1. Set projection to Equirectangular Projection
  2. Whait for render
  3. See dark areas on top and bottom of rendered area

Expected behavior Expected to see no dark gradient on top/bottom in Equirectangular Projection.

Screenshots Example in IFSRenderer: image Applied on sphere in Blender: image

Same thing, but camera rotated 90° (dark poles still visible) Example in IFSRenderer : image Applied on sphere in Blender: image

Desktop (please complete the following information):

bezo97 commented 1 month ago

Would you be able to provide the ifsjson file? I'll investigate

bezo97 commented 1 month ago

Oops, no need for the save file, managed to reproduce. I think I can fix it this weekend and then release a patch with the other projection related fixes 👍

bezo97 commented 1 month ago

I've managed to solve this issue, see details in this commit 420a402
Drawback is that it'll take a bit more times to clear up noise at the poles, but at least it will be correct. Also I checked the results in Blender: image This will be in the next release.