Results 1 to 9 of 9

Thread: On a Possible Method for Forcing Icosahedral Maps onto the Equirectangular Projection

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Guild Artisan su_liam's Avatar
    Join Date
    Aug 2007
    Location
    Port Alberta, Regina(IRL: Eugene, OR)
    Posts
    798

    Default

    It's alive, it's alive!!!

    Once I got over the problem of getting the properly uv-mapped icosahedron model to render in povray, it was smooth sailing.

    Since the image was basically mapped from inside the center of the sphere, it did come out in mirror image. Simply selected the entire image in my favorite raster image editor and flipped it vertically.

    The uv-image I was using was pretty low-res, so there was some stretching of pixels near the poles. Ugly, but since the purpose is really to make the geometry available, I'm not too sensitive to the aesthetics of the image.

    I'll get into details later, but it's getting a bit late.

    In brief:
    I used the icosahedral pov file exported from Wings3D with some small modifications to make it... work. First off, at least in my instantiation of MagaPOV, rad_def.inc kills the script, so that gets commented out. The entire global settings block, for some reason I haven't figured out, results in a black screen, so that goes bye-bye. I removed the light_source, but in retrospect that makes no difference for good or ill...

    Most importantly, I moved the camera to <0,0,0>, changed it from perspective to spherical and commented out everything between location and look_at. I changed look_at to <0,0,1)> I also changed the ambient rgb in finish to <1,1,1> 'cause it was a bit dark.

    After arriving at this combination through trial, error and foul language, I had that nice mirror image map of Regina. Cool!

    I now had something very useful. I could port this into gplates and digitize the continental coastlines to some appropriate accuracy or I could load it into G.Projector or Flex Projector and convert it into all manner of convenient projections. I'm so happy. To celebrate, here's a screenshot of Regina in gplates, ready for digitizing, a Robison projection of Regina, made with g.projector, and a compressed copy of my final successful pov-file... I'm going to try this again with a different map as a test, but I'm highly confident.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ReginaGPlates.jpg 
Views:	296 
Size:	109.6 KB 
ID:	60455   Click image for larger version. 

Name:	Regina_G.Robinson.png 
Views:	333 
Size:	954.2 KB 
ID:	60456  
    Attached Files Attached Files
    Last edited by su_liam; 01-20-2014 at 03:18 AM.

Posting Permissions

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