gaugo87 / PIXEstL

A program for creating color lithophanies and pixel images
MIT License
60 stars 10 forks source link

How do I get the Curve Parameter to work? #14

Open rlgerstner opened 3 months ago

rlgerstner commented 3 months ago

I added a curve paramater to the image file to test it out, but it doesn't look curved when openeing it. Example: java -jar PIXEstL.jar -p filament-palette-0.10mm.json -w 130 -C 5 -i Cafe_Terrace_at_Night.jpg

Also there are double the files, one for layer 1 and the other for layer 2. Should I just load them all at the same time?

Screenshot 2024-06-30 160551

:-( Screenshot 2024-06-30 160704

gaugo87 commented 3 months ago

Hi @rlgerstner,

Sorry for the delayed response.

The -C parameter indicates the angle the lithophane will take: -C 0 = flat -C 90 (90°) for a quarter cylinder image -C 180 (180°) for a half cylinder image -C 360 (360°) for a full cylinder image

-etc ...

So a -C 5 parameter represents an almost flat lithophane.

At this point, the -W parameter corresponds to the width of the cylinder's perimeter.

The color layers (1 & 2) should be printed separately. This is intentional so that they remain flexible when they need to be placed/applied against the curved lithophane. So, print all the layers 1 + the plate as a single object, and all the layers 2 + the plate as an other single object. You can, however, print them on the same bed (side by side) if you have enough space. This allows you to combine color changes. image

The texture should be printed standing up, and the color layers should be printed lying down.