5
\$\begingroup\$

How do I convert the following skymap image:

Panoramic Version

into a "dome" version like the one below?

Dome Version

I'm looking towards making use of Adobe Photoshop for the task at hand. However, I'm at a loss on what tools I'm going to use and how I will go about it.

So, how do I convert a horizontal, panoramic skymap texture into a "dome" version of itself?

\$\endgroup\$

1 Answer 1

7
\$\begingroup\$

A simple method using only Photoshop:

  1. Crop the image vertically to remove anything that should be below the horizon (ie. not part of the sky dome)

  2. Scale up the height of the image to make it square

  3. Filter -> Distort -> Polar Coordinates

\$\endgroup\$
2
  • \$\begingroup\$ 4. select circle to select the circular region / 5. select inverse / 6. fill with black / result: dl.dropboxusercontent.com/u/75238938/dome.jpg \$\endgroup\$ Apr 15, 2014 at 16:51
  • 1
    \$\begingroup\$ Actually, leaving the colours at the outside as-is can make the texture more resistant to bleeding at the horizon in the event of downscaling. The coloured texels don't do any harm there, or even increase the memory footprint under typical block compression schemes used on GPUs. \$\endgroup\$
    – DMGregory
    Apr 15, 2014 at 17:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .