How To Create PERFECT Depth Maps In Blender [COMPLETE TUTORIAL]

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 64

  • @ArtByAdrock
    @ArtByAdrock  8 หลายเดือนก่อน +13

    Hey everyone, so I’ve been asked by a ton of people how I create my height maps so I decided to put out this tutorial which hopefully will help a lot of you out. Now there are programs out there that can do this for you but most are paid and/or are limited to what you can do. With Blender though, it’s completely free and very easy to setup. I hope this helps some of you out and I’ll see you all in the next one! 👍🏻

  • @VENGFX
    @VENGFX 7 หลายเดือนก่อน +5

    FINALLY, a comprehensive tutorial on how to create a depth map!🔥👏🤩 Thank you, Thank you, Thank you!

    • @ArtByAdrock
      @ArtByAdrock  7 หลายเดือนก่อน

      You’re welcome. 👍🏻

  • @MachinedInWood
    @MachinedInWood 7 หลายเดือนก่อน +2

    I’ve been binge watching videos on this topic and this is probably the best presented way to get consistent and repeatable results. Thank you!

    • @ArtByAdrock
      @ArtByAdrock  7 หลายเดือนก่อน

      You’re welcome

  • @ClaudeGIROLET
    @ClaudeGIROLET 2 หลายเดือนก่อน +1

    Great tutorial, just a little tip : Once you have selected your camera, if you want to place it at the center of the scene and orient it looking down, you could press alt+g (that will reset it's position) and then alt+r (that will reset it's rotation), i find this more convienient than having to select the fields and set them to zero, but it's just a personal taste, your method is as valid as this.

  • @DonaldDrennan
    @DonaldDrennan 6 หลายเดือนก่อน +1

    I would recommend using Open EXR image format to get the full 32 bit grayscale image. JPG reduces the image to 8 bit and adds JPG artifacting.

  • @quigleyscorner4881
    @quigleyscorner4881 หลายเดือนก่อน

    This has got to be one of the best tutorials for height maps. If I can laser engrave these, I'll let everyone know.

  • @rigel2901
    @rigel2901 2 หลายเดือนก่อน +1

    You saved my life ! Thank you very much for this awesome tutorial.

    • @ArtByAdrock
      @ArtByAdrock  2 หลายเดือนก่อน

      @@rigel2901 your welcome 👍🏻

  • @sephirothcloud3953
    @sephirothcloud3953 7 หลายเดือนก่อน

    This is the best tutorial on zdepth. If you add output file you can automate all the frames saving of the animation

  • @meadow9
    @meadow9 หลายเดือนก่อน

    Great tutorial, thanks! I think it’s important to mention that the Z option in the viewport settings is not related to the fact that you have set the camera on the Z axis. The Z option stands for Z-buffer I think, meant as distance from the camera.

  • @vizdotlife
    @vizdotlife 3 หลายเดือนก่อน +1

    There's a new tool in Blender called Depth Map Batch that generates depth maps for images in a batch process and it's run entirely local on your machine without using APIs and no web services. It's based on a directory of images or a video file.

  • @SaruPrasad
    @SaruPrasad 5 หลายเดือนก่อน +1

    Hello, and thank you for the video. I have followed your process and the depth map looks good. however, the contrast is too pronounced for my application. i feel that blender makes the gradient range from light to dark too wide. i would LOVE to be able to control that range. When the range is wide it distorts the image (for example the nose appears way out in front of the face. or the ear appears very far away from the front of the face.
    i’ve had some luck with avoiding these contrast-related distortions with having placing a non-essential object in front of and to the side of my main subject (for example a sphere). doing depth maps in this way…the contrastiness starts with my non-essential object and by the time the depth is portrayed on my essential main objects it has “mellowed” out and so the depth is more accurately portrayed throughout the rest of my essential objects.
    any ideas on how to control the range of the gradient?

  • @ramesh2312
    @ramesh2312 5 หลายเดือนก่อน

    Thank you for this awesome and detailed video bro! Great work ❤

  • @reliablespoon
    @reliablespoon 6 หลายเดือนก่อน

    quick tip! you don't need to hold down shit when you select multiple options to change at one time. For example if you want to change the rotation of an object about every axis, you can just click and drag the mouse across the three axis and it will select them all.

  • @tvcomputer1321
    @tvcomputer1321 7 หลายเดือนก่อน

    this is a great way to get a 3d depth map for use in stable diffusion control net

  • @coryott5777
    @coryott5777 5 หลายเดือนก่อน

    Great video man! thanks for the help!

  • @asarangan
    @asarangan 20 วันที่ผ่านมา

    Why does this only work in orthographic view? Any way to get it to work in perspective?

  • @morphtarget9160
    @morphtarget9160 7 หลายเดือนก่อน +1

    thank you, this is a really very useful video

  • @TheLynke
    @TheLynke 8 หลายเดือนก่อน +1

    Thank you so much for sharing this video. You just made my day

    • @ArtByAdrock
      @ArtByAdrock  8 หลายเดือนก่อน

      You’re welcome! I hope it helps you

  • @RequiemForPAIN
    @RequiemForPAIN 8 หลายเดือนก่อน +1

    Thanks man, that was very helpful.

  • @accumall3027
    @accumall3027 17 วันที่ผ่านมา

    Is there any way to render depth map for a model with color texture? For example, an anime model usually use color texure for pupils, if we directly render the depth map from 3d model, the pupils will not show up.

    • @ArtByAdrock
      @ArtByAdrock  17 วันที่ผ่านมา

      No, a depth map only takes the height of a model, the pupils would have to be sculpted and have depth for it to render. Textures will not show up

  • @RicardoBHubner
    @RicardoBHubner 14 วันที่ผ่านมา

    perfeito amigo.

  • @xuananglei1844
    @xuananglei1844 6 หลายเดือนก่อน

    Hi, is it possible to also provide a version of pure code of generation of depth images as well? I would appreciate that so much!

  • @heodoly
    @heodoly 3 หลายเดือนก่อน

    Hello.
    Does depth map = displacement = height map mean the same texture even though the name is different?

  • @johnheinze574
    @johnheinze574 8 หลายเดือนก่อน +1

    This is great, do you have a .blend available with your compositor set up?

    • @johnheinze574
      @johnheinze574 8 หลายเดือนก่อน +1

      nevermind I thought it was more complicated than it is

  • @MrMike6519
    @MrMike6519 3 หลายเดือนก่อน

    Well done
    Cheers mate!

  • @mauromejia2548
    @mauromejia2548 5 หลายเดือนก่อน

    Awesome video, had a question regarding AI images used for relief ive used a depth map docs website and noticed it creates a angled image that isnt flat on the plane could this fix this when adding image that is already greyscaled
    I tried cnc them but come out tilted on the z axis causing issues with bigger depth on one side which is more cycle time?

    • @ArtByAdrock
      @ArtByAdrock  5 หลายเดือนก่อน +1

      AI images aren’t good for relief maps. You end up having to remodel them which kinda defeats the purpose. You could adjust the angle but I typically avoid them unless it’s for a reference image.

  • @MokhAb-n4s
    @MokhAb-n4s 4 หลายเดือนก่อน

    Hello, please, how do I convert from a regular image to a grayscale image so that I can engrave it with a fiber laser? 3d deep angraving

  • @aidanletzer6526
    @aidanletzer6526 4 หลายเดือนก่อน

    Is there a tutorial on how to do this from a 2d colour image for portraits

  • @hellfireburner
    @hellfireburner 5 หลายเดือนก่อน +1

    Skip ahead to about 4:20 if you are not a complete blender beginner

  • @robertbeck9663
    @robertbeck9663 2 หลายเดือนก่อน

    Other than the Rick Roll video, this is the most important video on TH-cam. Thank you so much!

  • @amoscookie1336
    @amoscookie1336 3 หลายเดือนก่อน

    what exactly depth map, and why do we need them ?

  • @GeneTracy-g4m
    @GeneTracy-g4m 8 หลายเดือนก่อน

    What size furnace would you recommend for a #8 crucible.
    Thank you & keep coming up with your awesome vids.

    • @ArtByAdrock
      @ArtByAdrock  8 หลายเดือนก่อน

      I always recommend the 10kg devil-forge as they are amazing and haven’t had any issues ever.

  • @rockwalldesign
    @rockwalldesign หลายเดือนก่อน

    Can you make a video about how to make the depth map starting from a photo

    • @ArtByAdrock
      @ArtByAdrock  หลายเดือนก่อน

      @@rockwalldesign you still need to model the design even from a photo. There’s software out there that can do it but they all do a pretty terrible job and aren’t accurate. They might seem fine at first but when inspecting them you can easily tell that they aren’t right. Especially with those AI generated ones. Your best option is to model it.

    • @slobodanblazeski0
      @slobodanblazeski0 25 วันที่ผ่านมา

      You can use depth map estimate such Depth Anything V2 you can find in huggingface space. Sorry can't give you link youtube deletes them.

  • @michaeltolomei6623
    @michaeltolomei6623 5 หลายเดือนก่อน

    I have a question, so I took an image, a png file, extruded it, and made it 2.5D so to speak, when I went through these steps on your video, instead of getting this height map, I ended up with basically a black and white version of the image. I've tried removing the png from the material, I've tried saving the mesh I made as an stl, I even tried the stl2png converter but some how my png file is still married to the model mesh and all attempts at the height conversion end up looking like a black and white de saturation of the original file, what am I doing wrong? I had found it amazing that I could "3d-ise" any image, but now I can't make the height map goal unless I figure out how to get these programs to forget about the png base and make the dang mesh the basis for the compositor.

    • @ArtByAdrock
      @ArtByAdrock  5 หลายเดือนก่อน

      @@michaeltolomei6623 I’d have to see it and you can email me if you want but if you extruded the design straight up, the height map is only going to be black and white as there is no other shades. Try duplicating the design but making 1 of them slightly lower than the other and moving it over by a few mm. That would give it more dimension to check and see. There should be a 3rd level of grey in there if done correctly.

    • @michaeltolomei6623
      @michaeltolomei6623 5 หลายเดือนก่อน

      @@ArtByAdrock I forgot to add that after extruding, I sculpted the design, it has multiple layers of depth on it.

    • @ArtByAdrock
      @ArtByAdrock  5 หลายเดือนก่อน

      @@michaeltolomei6623 if you want to email me the design I can take a look at it for you.

    • @michaeltolomei6623
      @michaeltolomei6623 5 หลายเดือนก่อน

      @@ArtByAdrock unfortunately its a bit of a private project, but on a similar note and question, I know that I have seen you do a lot with casting metal as well. And since you are quick to respond, I have a simple question about casting. I have played with sand casting, found some frustrating results, I was wondering, have you played with permanent molds much? I had a thought about making a permanent 2 piece steel mold, and that way I could save on my laser, instead of making lots of engravings and generating lots of dust, just making depth by way of mold and cast instead. use the laser to cut in to steel plates, and make a reproducible result from scrap metal such as brass or aluminum. what do you think? is it worth trying? I know ti would probably make for less need to post process the piece if it casts smooth enough. That's another issue with relying solely on the laser, there's a lot of polishing needed after.
      I don't necessarily need rounded depth if It is possible to make a steel negative, dremels and trial and error can mimic rounded depth and can be added as the mold is developed.

    • @ArtByAdrock
      @ArtByAdrock  5 หลายเดือนก่อน

      @michaeltolomei6623 yes I manufacture graphite molds for casting. You could do it with a laser on steel it would just take much much longer.

  • @mrhallodri_
    @mrhallodri_ หลายเดือนก่อน

    Nice video, but why are my shades almost all white and have very little depth? I followed all the steps. It looks almost just like a sillouhette

    • @accumall3027
      @accumall3027 17 วันที่ผ่านมา

      You missed normalize step or the view settings

  • @BJ-GoldenTuna
    @BJ-GoldenTuna 8 หลายเดือนก่อน +1

    Is it possible to make a height map from a 3D image? From an AI 3D image using this method
    This was a great tutorial!! I made my 1st height map today using blender for the 1st time. Thank you!
    ?

    • @ArtByAdrock
      @ArtByAdrock  8 หลายเดือนก่อน +1

      You would need to convert the AI image to STL format. You need the 3D model first. There are ways to do it but it can be time consuming.

    • @DonaldDrennan
      @DonaldDrennan 6 หลายเดือนก่อน

      When you say 3D image, is it a stereo image with left and right images for stereo viewing? or something else?
      There are ways to take the two images and derive a 3D model from them. There is software out there to do it, but I believe it costs money. Do some digging because you may find a free solution, maybe even a solution that gives you a depth map. I know it's out there because I've experimented with it, I just don't have that information handy, but search and you'll find it.

  • @ernstalbrigtsen9419
    @ernstalbrigtsen9419 8 หลายเดือนก่อน

    So you can't just extract the ZBuffer from the GPU, like in Rhino? It takes a second.

  • @mat5844
    @mat5844 6 หลายเดือนก่อน +1

    nothing appears on my render image :___

  • @charlesf9218
    @charlesf9218 4 หลายเดือนก่อน

    when i click render at the end all i get is a solid black outline no depth even though my screen shows an actual black and white image

    • @js25121993
      @js25121993 22 วันที่ผ่านมา

      Did you find the solution?

    • @charlesf30
      @charlesf30 22 วันที่ผ่านมา

      @@js25121993no I didn’t I gave up for time being thank you

  • @JohnColgan.
    @JohnColgan. 4 หลายเดือนก่อน

    I'm confused, you already have a STL of the monkey, a depth map isnt necessary, you can easily adjust the depth of field to flatten to a flatter monkey.
    Your intro seemed to indicate converting a dog photo to depth map, would have been more beneficial, I can create 3Dcsrves from that.

  • @THirstyCamel1023
    @THirstyCamel1023 8 หลายเดือนก่อน +1

    I can’t wrap my head around blender, kudos to you , start a 😮new channel to teach blender, please, 👈I asked nicely 😃

    • @ArtByAdrock
      @ArtByAdrock  8 หลายเดือนก่อน +2

      It’s really not that bad if you play around with it for a bit but I can see how people can easily get lost in the software. If you’re looking to learn blender I would recommend checking out @RyanKingArt as he puts out some great tutorials for both beginners and experienced. 👍🏻

    • @THirstyCamel1023
      @THirstyCamel1023 8 หลายเดือนก่อน +2

      @@ArtByAdrock Thank you , I’ll check him out definitely