2

I tried applying this heightmap on a sphere to obtain the surface of the moon. Heightmap Here is a step by step procedure of what I did:

  1. Created a grid of 1024 X-subdivisions and 512 Y-subdivisions
  2. Scaled plane along x axis by 2 (Didn't Apply Transformation)
  3. Modifier Properties->Add Modifier->Deform
  4. In Deform Properties Texture->New->Show Texture in texture Tab
  5. Image->Settings->Open->Selected the image above
  6. Went to edit mode
  7. Went to Orthogonal Top View and Select All using A
  8. Rotated along X by 90 (R->X->90)
  9. Rotated along Z by 180 (R->Z->180)
  10. Moved it along Y by 1m (G->Y->1)
  11. Mesh->Transform->Warp
  12. Warp Angle->180
  13. Rotated along Y by -90 (R->Y->-90)
  14. Mesh->Transform->Warp
  15. Warp Angle->360

The result was this moon: Moon The Different Views Views

You can see that the top view looks perfect, but I don't think the top view in my model is the actual top view to be obtained by this image. I think that the sphere needs to be rotated but I am not sure what direction.

Along the other views you can see that the model along the equator seems weird. It seems stretched along the middle region. I dont think that it is an issue of the image but I am not sure.

What have I missed or messed up? And how do I fix it?

Also is there any other better way to do this?

And the rotation of the model, what is the correct one?

Jainam Doshi
  • 91
  • 1
  • 2
  • 8
  • 1
    https://blender.stackexchange.com/questions/3315/how-to-get-perfect-uv-sphere-mercator-projection and https://blender.stackexchange.com/questions/10741/what-is-the-best-way-to-unwrap-a-sphere and https://blender.stackexchange.com/questions/51218/ez-uv-mapping-of-generated-images-to-sphere-but-never-the-right-direction –  Jan 09 '20 at 22:06

1 Answers1

2

Sorry this answer only the "is there another way to do this". Check out @Cegaton comments for pointers to ways to fix your problem.

Since your texture seems to be Equirectangular (tell me if I am wrong), you can use Environment texture node which can be used directly on an sphere or icosphere without manual UV mapping.

The example below uses cycles adaptive subdiv modifier (requires experimental features enabled). This works also with regular bump displacement with Cycles and Eevee.

enter image description here

Bruno
  • 4,179
  • 8
  • 21