RSS/Atom feed Twitter
Site is read-only, email is disabled

Need/Emulate a "curved" perspective transform tool

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Need/Emulate a "curved" perspective transform tool Daniel Déchelotte 04 Apr 18:12
  Need/Emulate a "curved" perspective transform tool GSR - FR 04 Apr 20:12
Daniel Déchelotte
2004-04-04 18:12:03 UTC (about 20 years ago)

Need/Emulate a "curved" perspective transform tool

[Repost, I am now subscribed to the list]

Hi,

I would like to create an "electrical switch" out of a given rectangle[1]. The perspective transform tool only allows a rectangle to be transformed into a quadrilateral, so I can get the following "approximations" ([2], [3] and [4]), but it would be nice in that case to be able to have the round shape that I have in mind (and that I hope you guessed :o). Any tricks to do that?

Thanks for your ideas.

A note on the following images: * they are all < 2 kB large
* the white rectangle was transformed with the perspective tool, the black line symbolizes some random content and was manually added afterwards (just in case you wondered) * I hope you get the idea! ;-)

[1] http://yo.dan.free.fr/images/switch-gimp/switch0.png [2] http://yo.dan.free.fr/images/switch-gimp/switch1.png [3] http://yo.dan.free.fr/images/switch-gimp/switch2.png [4] http://yo.dan.free.fr/images/switch-gimp/switch3.png

GSR - FR
2004-04-04 20:12:15 UTC (about 20 years ago)

Need/Emulate a "curved" perspective transform tool

boite_a_spam@club-internet.fr (2004-04-04 at 1212.03 -0400):

I would like to create an "electrical switch" out of a given rectangle[1]. The perspective transform tool only allows a rectangle to be transformed into a quadrilateral, so I can get the following "approximations" ([2], [3] and [4]), but it would be nice in that case to be able to have the round shape that I have in mind (and that I hope you guessed :o). Any tricks to do that?

The simplest, get a 3d app to do it. :]

In GIMP you can use map object filter, with cylinder shape, or curve bend to get the round profile. In both cases I think you will have to retouch with perspective tool, so the straight edges are not parallel. If you think it is too complex to do it directly, start with the button flat, distort it to get -_- and when done rotate it to get the _-^ shape.

Another way I can think of is polar coords filter, but that one requires steps in a separate image. You should use a really big square image as discardable work place, and paint the final result roughly and near the bottom, then convert in reverse (to polar option off), and see where you get a rectangle or square. Place a copy your good version there, and convert forward (to polar on) and cut the result to paste it back in your normal image. This temp image has to be really big to hide imperfections of polar coords filter (scale down the area to cut).

GSR