Gimp-Forum.net
Map to object (cylinder) - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Map to object (cylinder) (/Thread-Map-to-object-cylinder)



Map to object (cylinder) - rita - 12-12-2024

Hello,
I tried applying an image using the "Map to Object" tool with a cylinder, but I encountered two issues:
1- Border Shape: Can I change the shape of the border? For instance, if the arc of the upper border curves upwards, how can I make it curve downwards without using the curve bend tool?
[attachment=12756]
2-Image Scaling: When I scale the image larger than the mug using only the "Map to Object" tool, it ends up sitting above the mug instead of curving inward as intended.
 [attachment=12757] [attachment=12760]
I want the result to look like this example:
 [attachment=12758]
Here's the original image for reference:
[attachment=12759]



RE: Map to object (cylinder) - rich2005 - 12-12-2024

You will just have to keep experimenting. For something like your attached images I might.

1. Remove the alpha channel Layer -> Transparency -> Remove (because the base is white easy to fix later)
2. Increase the width of the mug layer. Image -> Canvas size
3. The logo image size to canvas
4. Play with Map Object settings. Because the cup is tilted adjust the rotation to suit. This will give some curvature but it will give the back of the logo.

[attachment=12761]

5. The universal transform tool is good for scaling / rotating / moving Get to know how it works.
6. Make it transparent again and erase the bit that should be behind the cup.

I have attached the various stages as layers in a Gimp 2.10 xcf.gz (that opens in Gimp as-is)  It might give some clues.
Looking at that example of yours, it could have been made in a 3D application such as blender.