Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Turn a Photo into a 16-bit Depth Map and STL for 3D Printing, Laser Engraving, and CNC

A single photograph will not give you a dimensionally accurate CAD solid, and it is not a substitute for photogrammetry when you have a ring of overlapping shots. What it can give you is a height field: a grayscale image in which every pixel's brightness stands for a physical height, plus a mesh you can slice, engrave, or cut. That is the file a lithophane, a LightBurn 3D Sliced job, or a CNC…

A single photograph can be transformed into a height field, a grayscale image where each pixel's brightness represents physical height, along with a mesh suitable for 3D printing, laser engraving, or CNC. This tutorial explains how to create a 16-bit PNG and a closed STL file from one photo, and how to use these files in various tools.

Depth-Map.com, a free online generator, is used to produce these files. The depth map is a grayscale image, with bright pixels representing objects closer to the camera and dark pixels representing objects further away. The resulting depth map can be used as a height map or displacement map in various applications, such as Blender, laser controllers, and lithophane slicers.

The process involves uploading a well-lit photo of a single subject, generating a depth map, tuning the settings in the browser, and then exporting the files for use in different tools.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Docker Hub pull rate limit in GitHub Actions

A Docker pull rate limit in GitHub Actions is an HTTP 429 on an image your job is pulling, and for anonymous pulls it is counted per address, which on hosted runners is an address you share with…

Blog Series: From TypeScript to Rust & Go — Day 3: Mastering Functions and Error Handling

Blog Series: From TypeScript to Rust & Go — Day 3: Mastering Functions and Error Handling Day 3: Writing Reusable Functions and Handling Errors in Rust and Go Introduction Welcome to Day 3 of our…

  • Functions in Rust and Go encapsulate reusable logic with type annotations.
  • Rust uses Result enum for explicit error handling, Go returns error values directly.
  • Calculator program demonstrates error handling in both languages.

How Cadastral Maps Work: Understanding GIS, GeoJSON, and Digital Land Mapping

Have you ever wondered how digital maps represent individual plots of land, their boundaries, neighboring properties, and geographical locations?

  • Cadastral maps show individual land parcels with boundaries and ownership records
  • Geographic Information Systems (GIS) enable digital land mapping and analysis
  • GeoJSON format represents geographical objects like land parcels as polygons

Take a trip

Breathe Together: a camera-driven breathing coach where two people share one pacer Presage SmartSpectra SDK Challenge Submission Usman Adamu Usman Adamu Usman Adamu Follow Nov 9 Breathe Together: a…

More from Sunday 15 November →