Is there any way to create height map for some simple objects like baseball cap? (only part of the image is enough -the front printing area of cap shown below)

I want to print/warp some image on some object(cap,mug,...) with displacement map. Kind of custom design for people to upload different images like the below image of 'deer'.

below is what the displacement map will used for. The effect is what I got from some website.

input image input image

using displacement map to get the result below using displacement map to get the result below

may be helpful to explain what I need

may be relevant

An examples of what I need:

enter image description here

I have the user image which need to be distorted

enter image description here

Using software like Photoshop or Python code, I could get the final result of distorted image like below. Similar to Print/Warp something on a 3d object.

enter image description here

  • $\begingroup$ Can you also add an example of what type of output you need? Is this for 3d parallax mapping that is currently so popular on social media? $\endgroup$ – Jackdaw Jul 24 '19 at 7:40
  • $\begingroup$ Jackdaw, example added. May be different from 3d parallax mapping, I just need do 2d displacement map. :) $\endgroup$ – John Jul 24 '19 at 7:54
  • $\begingroup$ It should be possible to just add an emissive material with the texture coordinates used as color input. You will need to make sure that the color management profile is linear so the data is retained (I think that this can be done by setting the Display Device to None). I can't try this out without the exact setup of the output. $\endgroup$ – Jackdaw Jul 24 '19 at 8:03
  • $\begingroup$ How to add an emissive material? I am new to 3d software like blender. .. $\endgroup$ – John Jul 24 '19 at 8:15
  • $\begingroup$ I suggest that you watch trough the youtube.com/watch?v=Hgfto0JM_jA&t=2s . It's for 2.79 but should transfer fairly well to 2.8. $\endgroup$ – Jackdaw Jul 24 '19 at 8:30

Your Answer

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

Browse other questions tagged or ask your own question.