It is currently 07 Jul 2020, 03:49

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Fill Selection With Perspective Brush Script for GIMP

Share your Python Fu Scripts/plug-ins for GIMP here
tim
GL Blogger

Fill Selection With Perspective Brush Script for GIMP

Post#1 by tim » 01 Nov 2016, 07:12


This spawned from this thread on gimpchat
This script fills Selection with Active Brush, but you can select a percentage for horizon so that it applies a pseudo perspective on it.
Fill_Selection_With_Perspective_Brush.zip
zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(1.49 KiB) Downloaded 148 times
Fill_Selection_With_Perspective_Brush (2).zip
version 2 - Allow Vanishing X percentage. Select All if None selected. Fill out around borders and not even check if area is selected because selection will prevent brush from taken place for us anyways.
(1.84 KiB) Downloaded 117 times
Fill_Selection_With_Perspective_Brush (3).zip
version 3 - Allow "RANDOM" or "ALIGNED" placement.
(2.18 KiB) Downloaded 209 times
Menu location: Edit/Fill Selection With Perspective Brush...

Script options:
- Horizon Percentage (Brush size percentage at horizon) (default 50)
- Vanishing X (Percentage) (of Selection) (default 50 which is center of X of selection) (added to version 2)
- Horizontal Spacing (percentage of brush size), (default 100) when it's closest to you (at bottom of selection, what percentage of brush size to use for spacing).
- Vertical Spacing(percentage of brush size), (default 100) when it's closest to you (at bottom of selection, what percentage of brush size to use for spacing).
- Placement (You can choose "ALIGNED" or "RANDOM") (added to version 3)


sample output below using the default Bell Pepper brush.
Fill_Selection_With_Perspective_Brush.jpg
Fill_Selection_With_Perspective_Brush.jpg (162.6 KiB) Viewed 3672 times
sample output below using vertical spacing at 50 percent.
Fill_Selection_With_Perspective_Brush_2.jpg
Fill_Selection_With_Perspective_Brush_2.jpg (178.63 KiB) Viewed 3671 times
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

Pat625
Tutorial Creator

Post#2 by Pat625 » 01 Nov 2016, 10:22


YOU have done it again, Tin! How do you have the answer so quickly?
0

Rod
Forum Member

Post#3 by Rod » 01 Nov 2016, 10:26


Tran would it be possible to set the brush to follow a path with perspective? Then you could do perspective spirals. :)
Image
0

RJKD
Tutorial Creator

Post#4 by RJKD » 01 Nov 2016, 11:13


Great script T, massive potential. Thank you. :gimp_clap:
Perspective_brush.jpg
Perspective_brush.jpg (131.19 KiB) Viewed 3654 times
0

rich2005
GIMP Guru

Post#5 by rich2005 » 01 Nov 2016, 13:04


Rod wrote:... would it be possible to set the brush to follow a path with perspective? Then you could do perspective spirals. :)
You could try the follow path plugin

looks like this
followpath.jpg
followpath.jpg (100.37 KiB) Viewed 3651 times
0

Pat625
Tutorial Creator

Post#6 by Pat625 » 01 Nov 2016, 13:53


Tin: Where can I download the follow path script?
0

rich2005
GIMP Guru

Post#7 by rich2005 » 01 Nov 2016, 14:49


Pat625 wrote:Tin: Where can I download the follow path script?
http://www.arakne.es/en/dessign/gimp-pl ... oordinate/
0

Pat625
Tutorial Creator

Post#8 by Pat625 » 01 Nov 2016, 16:59


Thank you, Rich2005.
0

tim
GL Blogger

Post#9 by tim » 01 Nov 2016, 19:10


rich2005,
do you have a site that you share your scripts at?
If so you can update your profile to that site. it'll show right under your avatar :D
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

tim
GL Blogger

Post#10 by tim » 02 Nov 2016, 06:16


Version 2 is up.
Select All if none is selected.
Added option to specify Vanishing X at percentage (of selection) (default at 50 percent, center of selection).
Attachments
Vanishing_X_percentage.jpg
Vanishing_X_percentage.jpg (513.96 KiB) Viewed 3441 times
Vanishing_X_percentage_sample_2.jpg
Vanishing_X_percentage_sample_2.jpg (489.41 KiB) Viewed 3441 times
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 11 guests