Create DEPTH MAPS from AI images for 3D LASER ENGRAVING

3 min read 1 month ago
Published on Aug 03, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial will guide you through the process of creating depth maps from AI-generated images for 3D laser engraving. Utilizing tools like MidJourney and Tiling ZoeDepth, you can easily transform your images into depth maps without the need for complex 3D rendering software.

Step 1: Generate Your AI Image

  1. Choose your AI application. For this tutorial, we will use MidJourney. If you don't have access to an AI tool, you can search online for sample AI-generated images.
  2. When creating your image, include the term "boss relief" in your prompt to achieve the best results. This style is particularly effective for depth maps.
  3. If you need inspiration, perform a Google search for “AI boss relief images” to find examples you can use.

Step 2: Access Tiling ZoeDepth

  1. Open the Tiling ZoeDepth project by following this link.
  2. Click on the latest version link available (currently V3).
  3. Ensure you are signed into your Google account and using Google Chrome.
  4. Once on the Google Colab environment, click on the "Connect" button on the right side.
  5. After connecting, click the dropdown arrow next to "Connect" and select "Change runtime type." Ensure T4 CPU is selected.
  6. Click anywhere in the document and press Ctrl + F9 to start the process.
  7. If an access warning appears, confirm that you wish to run it.
  8. Upload the AI image you generated earlier.

Tips for Step 2

  • Be patient while the Google server processes your image. This may take a few minutes, so feel free to take a break.
  • Once completed, the program will generate two versions of your depth map: a low-resolution and a high-resolution version. The high-resolution version will automatically download to your Google Downloads folder.

Step 3: Disconnect from Google Colab

  • After the depth map has been generated and downloaded, make sure to disconnect from the Google Colab environment to avoid temporary bans for excessive resource usage.

Step 4: Use Your Depth Map for Laser Engraving

  1. Depending on your laser engraving setup, select the appropriate image mode:
    • For LightBurn or xTool Creative Space with a CO2 laser, choose the grayscale image mode.
    • For fiber lasers using LightBurn, select the 3D sliced image mode.
  2. These modes modulate the power of the laser based on the shading in your depth map, creating a 3D effect.
  3. Test the depth map on different materials:
    • Results may vary on wood, where fine details may be less pronounced.
    • Depth maps produce better results on metals, especially for projects like custom coins.

Conclusion

You have now learned how to create depth maps from AI-generated images for 3D laser engraving. By following these steps, you can effectively utilize your depth maps in various laser engraving applications. Consider experimenting with different materials and settings to maximize the quality of your engravings. Happy engraving!