Workflows for Textures from Image Depth Maps #1731
Replies: 8 comments 6 replies
-
|
This is an example of a .png image and the depth map that results from processing the image through Sculptok.com. |
Beta Was this translation helpful? Give feedback.
-
|
On-Line Depth Map Generators SculptOK - Subscription model but you can purchase non-expiring credits. This produces the best results of things I tried thus far. Depth-R - Free depth map generation with a daily limit. Mentions downloadable apps for Windows and MacOS, but they appear to be tied to monthly subscriptions. Vondy - Make what appear to be ok on-screen depth maps, but seems to require a monthly subscription to enable downloads. OpenAi's Sora can convert images to greyscale depth map. Sora also appears to be able to make tileable images with opposite edges matching. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, did you make the globe in the Skin documentation? I'm really struggling to duplicate it, starting with exactly what data to download from earthdata. From the link in the documentation, I'm unable to download (I have an earthdata account). From search.earthdata.nasa.gov, I cannot find any single file that contains SRTM data for the planet. Do I need to download almost 2 million files to make my own geotiff file? It would be great if you could provide more info on the flow. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
@dan-p3rry - You need a .tif format called "geoTIFF". Then geotiff2scad.py can scale the data and convert it. In the case of the earth data, the script by default accentuates coastlines by raising the minimum land elevation by 3% of the total elevation range, and reducing sea level by the same amount. If you don't do that, then low-elevation features like the Florida penninsula disappear when scaled to pixel brightnesses with the comparitively narrow range of 0-255. The elevation is also scaled by the cube root of the actual elevation, which is standard for relief maps. This accentuates the variability in low-elevation features while somewhat flattening the high elevation features. |
Beta Was this translation helpful? Give feedback.
-
|
If you're looking to make topographic models of smaller areas check out https://www.map2stl.com/. The site can generate STLs from topographic data worldwide. Appears to be free. |
Beta Was this translation helpful? Give feedback.
-
|
Nice. It gave me a fairly detailed model of Mt. St. Helens. |
Beta Was this translation helpful? Give feedback.
-
|
Depth Maps from Sora (ChatGPT)
Original png converted to a depth map in Sora. The remixing prompt was "Make a greyscale depth map suitable for generating a bas relief like the ones made by Sculptok.com". That prompt was a naive first guess. A more detailed prompt might generate a much better depth map. Please post prompt suggestions here. The textured_tile() on the right was made by processing the depth map using img2scad.html from the BOSL2 scripts file into a 300x300 data set using a 3 pixel gaussian blur. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is about currently available workflows for producing depth maps from image files prior to generating texture data arrays. Please join the discussion and advise of any tools you have discovered for producing depth maps from image files.
Beta Was this translation helpful? Give feedback.
All reactions