Zify (read "zee-ify") will add depth to icons. As input, it takes:
- A black and white image.
- A Blender 3D template (see
design
directory).
It then traces the outlines of the black material in the image, and
substitutes that for the letter A
in the template. The result
is then rendered and output as an image.
If you have docker, you can run:
./zify_with_docker.sh design/example.blend input/frog.png out.png
If you are willing to install everything mentioned in the
docker/Dockerfile
file, then you can run:
./zify.sh design/example.blend input/frog.png out.png
You can control some parameters with environment variables:
ZIFY_SCALE=50 ZIFY_SAMPLES=20 ./zify.sh design/example.blend input/frog.png out.png
ZIFY_SCALE
sets the render resolution as a percentage.ZIFY_SAMPLES
sets the number of samples to make (set to 0 to use the setting for previews in blender).