rljacobson / SphericalPhotoGlobe

Mathematica code to create a physical globe from a spherical photo.
0 stars 0 forks source link

Unexpected outputs after running your program. #1

Open youziStar opened 1 year ago

youziStar commented 1 year ago

1. The picture resolution I use is: 4096x2048,In order to upload, I compressed.

thatch_chapel_4k

2. Then I modified the path and resolution of the program, as follows:

image image

3. But I only got:

image

4. The following is every picture:

AcademicQuadGlobe AcademicQuadGlobePatch blankglobe test

5. Can you point out the mistakes in my work?Thank you so much.

rljacobson commented 1 year ago

I am getting your same results. The semantics of one or more functions must have changed since I wrote this notebook.

It looks like at least three things are happening:

  1. the lobes are out of order
  2. only 180 degrees of the longitude are included
  3. the resulting image is not masked to the lobes

Let me investigate a little bit and get back to you.

While debugging, it can help to reduce the resolution to speed up the execution. Or maybe I just have a slow computer.

rljacobson commented 1 year ago

Adding the option GeoRangePadding -> None to every call to GeoGraphics solves the problem, although I don't understand the cause of (1) and (2) in my list above nor why this option would fix it. chapel