Image Map Projections Onto a Planet (or Sphere)

Started by RichTwo, March 27, 2025, 01:33:21 PM

Previous topic - Next topic

RichTwo

My current endeavor is to recreate the planet Jupiter as viewed from its inner moon Io. I am struggling with the Image Map shader to accurately project an image map onto the surface of either a Planet or Sphere object.
I am relying heavily on Jordan's Night Full Moon Example Project (Stars Included) files, especially the Starfield Generator. I also used the link he provided for image map. Thanks to him for his hard work!
EDIT: The image is too fuzzy and I I have tried sharpening, but with little improvement.  I also plan to create a vapor plume somewhere near the mountain in the scene, but that's another subject...
Thanks in advance for any workable solutions!
They're all wasted!

Kevin Kipper

I think this might be what you're after.

1. Add a new camera to the project and change its projection to Spherical.
2. Copy coordinates for Jupiter's Centre parameter.
3. Paste coordinates to the new camera's Position parameter.  This will move the new camera to the center of Jupiter.
4. Set the Image Map shader's Projection type to Through Camera, and the projection camera to the new camera.  The Position center radio button should be checked.

Here's what I got.

31012_Jupiter.jpg

RichTwo

Thanks, Kevin: I tried the camera projection before I posted and abandoned it because it didn't improve the render. 

That looks much like what I have been getting. But it's still out of focus because the projected image is close to twice the size it should be. 
In the attached cropped image, I rotated Jupiter so my render shows a view of a recognizable feature - The Great Red Spot. Juxtaposed to the left is an actual image of Jupiter as obtained by the Galileo probe, also with the GRS in view. It's far smaller than the one in the render.

Reducing the image size and / or increasing planet radius doesn't seem to make any difference, except to make it worse.
They're all wasted!

Kevin Kipper

Hi Rich,

Thanks for the extra info and images. 

I noticed on the website below that the texture map image was a cylindrical map, so I reverted back to the original TGD project you supplied and made the following changes.  I also downloaded a slightly larger image than the 2k one above which provides a bit more resolution.

https://www.jpl.nasa.gov/images/pia07782-cassinis-best-maps-of-jupiter-cylindrical-map/

1. Changed Image Map shader "Projection type" to Cylindrical.
2. Enabled the "Position centre" radio button.
2. Copied the Jupiter planet object's "Centre" values and pasted them into the Image Map Shader's "Position" parameter.
3. Set the the "Size" values to "1" for the X axis and "1.5945e+07" for the Y axis.  This is one quarter of the planet's radius.

Here's the result.

31012_Cyl_vs_Sph_0001.jpg

RichTwo

Thanks again, Kevin - That did it! The scale of Jupiter's features are much closer to the realism that I was expecting. I had no idea about the cylindrical vs. spherical projections, nor about the image map scale. But it works and I'm satisfied with the overall appearance of Jupiter. Just for a touch more, I adjusted the image's bright / contrast / sharpness. 
Now to work on the vapor plume(s)...
They're all wasted!