Quantcast
Channel: 2D bmp to 3D conversion... How do you do it?
Viewing all articles
Browse latest Browse all 18

Re: 2D bmp to 3D conversion... How do you do it?

$
0
0
The given file can be compiled with `gcc table_ize.c -o table_ize`, and then to use convert and then this program:
convert yourimage.supported_format yourimage.txt # Convert it to text
cat yourimage.txt | ./table_ize width height > yourimage.dat # Convert it into a table.
Didnt bother reading the width&height from the file, you have to provide it.

The .dat file should be usable in openscad, using the 'surface' thing linked before. Hopefully it isn't shitty.. Also i dont know how to do it in windows. I guess that is why all those stupid websites where you upload stuff you can damn well do on your own computer exist..

Viewing all articles
Browse latest Browse all 18

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>