Results 1 to 10 of 11

Thread: Using Photos of a Sphere to Create a 2D Equirectangular Map?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,217
    Blog Entries
    8

    Default

    The way you need to go about doing this is to map coords on the real sphere so that you can get your equivalent pixels on the image located in the mapping.

    Looking at the reflection of a polished ball bearing is quite similar to taking a panorama. I think its different but less so than you might think. If you have a pretty calibrated setup then you can use maths to map the photos to 2D but its a lot easier to let the computer do it.

    There used to be some programs in a suite called Panotools - apparently still available (https://panotools.org/dersch/) where you can take panoramas and stitch them. I have seen that used on ball bearing reflections too.

    The way to do if you can only do it approximately without calibration is to take multiple photos and try and set up the UV coords in blender and let it texture map a sphere. Once you have the UV maps all lined up then it can unwrap that texture back to a 2D with a projection.

    The other way to do it would be to take zoomed up photos of the sphere rotating it about and using a paint package to stitch the bits together with a bit of warp to get it back to 2D. But thats a bit laborious.

    A lot of this depends on how big the original ball is. Is it a globe sized or something much larger or smaller than that.

    Edit: I think Waldronate is correct. The bit your missing in understanding is that once you can create a virtual 3D ball textured in blender from photos taken from a real ball such that the virtual ball matches the real ball, then blender knows enough about the texture mapping to unwrap them back to a 2D Mercator style map.
    Last edited by Redrobes; 09-13-2023 at 01:28 PM.

  2. #2

    Default

    Ah, that makes sense now. Thank you. The spheres I'm photographing are mineral spheres of different sizes, with each one being its own project. The smallest is a little less than three inches in diameter and the largest is about nine inches. They have very cool natural patterns in them than lend themselves to map-making, provided I can actually extract maps from their surfaces.

    As I'm writing this, I'm running some panoramic software to test what you're saying. I'm using PT Gui. I'm not sure if it will work, but I'm happy to give it a try. If this doesn't work, I will try Waldronate's and your suggestion of running the images through a 3D program to place them on a digital sphere, then extract them to a 2D surface.

  3. #3
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,217
    Blog Entries
    8

    Default

    Quote Originally Posted by gkoch1 View Post
    I'm using PT Gui.
    Yes, PTGui is the PanoTools with a user interface on them. So I think that's an excellent place to start.

  4. #4

    Default

    I tried using PT Gui and couldn't make it work. Moreover, the folks over at the PT Gui forums told me that PT Gui can't do what I'm seeking.

    Now I'm back to Square One. Hmm.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •