Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Mapping a 2D map to a globe' topicStudent Support Forum > General > "Mapping a 2D map to a globe"

Help | Reply To Topic
Author Comment/Response
Bifford
10/06/12 09:20am

I've got [url=http://jan.ucc.nau.edu/~rcb7/370moll.jpg]this image of Earth 370 million years ago[/url], [url=http://en.wikipedia.org/wiki/Mollweide_projection]Mollweide projection[/url].
[TIMG]http://i.imgur.com/pQC7T.jpg[/TIMG]

I'm running Wolfram Mathematica 8 in the campus lab. What instructions do I need to type in to convert this to a globe?

I found this algorithm which can project an image onto a sphere, but it doesn't get rid of the black parts:

sphere = SphericalPlot3D[1, {theta, 0, Pi}, {phi, 0, 2 Pi},
Mesh -> None, TextureCoordinateFunction -> ({#5, 1 - #4} &),
PlotStyle -> Directive[Texture[image]], Lighting -> "Neutral",
Axes -> False, Boxed -> False]

[IMG]http://i.imgur.com/tYJVF.jpg[/IMG]

I'm thinking I should convert the map to the Mercator projection first. Is there an algorithm for this?

URL: ,
Help | Reply To Topic