0
$\begingroup$

I am trying to use an image of a world map as a displacement map for a sphere. Later I want to export the mesh for 3D printing, with the continents looking like engraved into a sphere. I am new to Blender.

This is the image I am currently using:

map

This image is basically the "Land/Ocean map" from this Blender tutorial, just with an erode/dilate filter applied. Because this guy is using it as a texture in Blender I am assuming it is a suitable projection.

What I tried so far:

  • Create a UV sphere
  • Add a Subsurf modifier with 7 subdivisions
  • Add a Displace modifier with this image as texture and a strength of 0.02

The problem is now that while Europe and Africa are squeezed horizontally...

europeafrica

... Australia's east coast is extremely stretched out.

australia

What am I doing wrong? Or is there a completely different, better way?

$\endgroup$
0
$\begingroup$

I would use a different approach.

Rather than using a displacement texture, I would use a material and use your image a bump map

material

Since the sphere doesn't have a UV map, using the Generated output of a Texture Coordinate as the Vector input of the Image Texture will position the map.

The Image Texture file is your image.

Because you are using the Image Texture for a bump map, the first drop down should be set to Non-Color Data.

Because you are projecting to a sphere, the 3rd drop down should be set to Sphere.

The Image Texture Color output is then used as the Height input to a Vector Bump node. You can control the height of your terrain by setting the Strength value of the Bump node.

The Diffuse node can be replaced by a Principled node, and the other image maps fed to its inputs, as in the tutorial.

There is an alternative way, using the Displacement input of the Material node, rather than the Normal input of the Diffuse BSDF, but it varies depending on the version of Blender you are using.

$\endgroup$
  • $\begingroup$ Ok, I got it set up like this and I can see the texture if I switch to the Cycles Renderer and set the viewport shading to Material, but it seems it is not included in the .stl export. Do I have to "apply" or "bake" it or something? $\endgroup$ – AndreKR Nov 29 '18 at 5:50
  • $\begingroup$ Oops I didn't consider that you meant to export it. My approach only gives the appearance of changing the geometry. When I get home tonight I'll edit my answer. Sorry. $\endgroup$ – Marty Fouts Nov 29 '18 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.