It is currently Thu Jun 27, 2024 7:36 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: pm_create_a_glass_marble.py updated to v3
PostPosted: Thu Sep 23, 2021 12:00 am  (#1) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1196
Not much to say, Thank you Issabella for sharing the tutorial. I didn't like the Octopus, so I created some "Cat's eyes" pattern.
Instructions
***Important***
There is a known problem with GIMP trying to choose anther brush on the pop up Brushes dialog, making the plugin impossible to run twice in a row.(we hope it gets fixed). In the mean time, to run the plugin again go to "Filter> Reset All Filters" if want to run the plugin and you're set to choose a different brush.


Image

Version 2
Changes:
1. You can choose the brush of your choice before running the plugin.
2. The plugin will run every time you call it.


Image

Version 3
1. Added an option to merge all layer's effects into one layer
2. Fixed a typo "Text size" to "Brush size"(sorry guys) Reduce brush size and now you can be able to change the size up to 550 inside the Marble.


Attachments:
pm_create_a_glass_marble_version 3.zip [3.81 KiB]
Downloaded 127 times
pm_create_a_glass_marble_version 2.zip [3.68 KiB]
Downloaded 90 times
pm_create_a_glass_marble.zip [34.8 KiB]
Downloaded 90 times

_________________
https://www.deviantart.com/pocholo17
Image


Last edited by Pocholo on Tue Sep 28, 2021 9:57 am, edited 9 times in total.
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 12:17 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
So, you did it!
Issabella will be very happy.
Why not to create a new "joint venture" between you two for the creation of interesting objects?
(no conflict with our JVID, I'm only interested in photo manipulations)

_________________
"Where am I ?"


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 1:04 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 06, 2020
Posts: 343
Location: The Netherlands
Thank you Pocholo, good job...how can I possibly use a different brush in the glass marble? I've already tried a few things but it always uses the same image.


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 1:29 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
Pocholo! Wow!!!!!!!
You did a wonderful difficult job with superb success! :jumpclap :jumpclap :jumpclap
I love the result. Your object inside is so attractive, too. :tyspin :coolthup
I'm going to do my first result with your filter. :yes

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 1:57 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
:tyspin Here my first results.
Thank you so much :tyspin


Attachments:
Thanks-Pocholo.JPG
Thanks-Pocholo.JPG [ 160.57 KiB | Viewed 2205 times ]
Thanks Pocholo.JPG
Thanks Pocholo.JPG [ 234.17 KiB | Viewed 2205 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 2:44 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
Pocholo, when I want to get another design from your three options, the filter will always choose the first option.
Thanks Pocholo. :) :bigthup

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 3:28 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
Wow!!!
Thank you so much Pocholo :tyspin
What I like a lot is that we got all layers, thus allowing us to modify them as we wish :coolthup

If you wish you can add to your "Read-Me.txt"
Linux paths for all users
Python script > /usr/lib/gimp/2.0/plug-ins
Brushes > /usr/share/gimp/2.0/brushes

Linux path for a single user
Python script > /home/username/.config/GIMP/2.10/plug-ins
Brushes > /home/username/.config/GIMP/2.10/brushes

My first try
Attachment:
thank you Pocholo.jpg
thank you Pocholo.jpg [ 250.54 KiB | Viewed 2170 times ]

_________________
Patrice


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 3:42 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
Issabella wrote:
Pocholo, when I want to get another design from your three options, the filter will always choose the first option.
Thanks Pocholo. :) :bigthup

It's "hard coded" @ lines
208 pdb.gimp_brushes_set_brush("Marble ball design #1")
261 pdb.gimp_brushes_set_brush("Marble ball design #1")

While waiting for a fix, we can play by creating a brush and call it Marble ball design #1 (as you did it with your beautiful butterfly ;) )

_________________
Patrice


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 7:44 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
Sorry I can't wait... so I fixed the brushes' problem (just the choice problem), sorry Pocholo :oops:

As usual, any script passing by me can burn your computer, your house and may even nuke your town, even if I changed just 2 tuples :evilgrin
Attachment:
fixed-pm_create_a_glass_marble.zip [32.89 KiB]
Downloaded 91 times


It works with any brush you got (I have some lightning brushes :yes )
Image

_________________
Patrice


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 9:30 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
You only need to add some information.
Try redoing the plugin without restarting GIMP. :gaah
This causes a small "known" problem Issues #6317

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 10:10 am  (#11) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1196
Thank you for the head up in any mistake I made or something I missed.
@Jappaloe63 Thank you. The plugin was fixed by PixLab and you can either redownload it from the initial post or from PixLab post #9

@Issabella; same as Jappaloe63. Download the fixed files again from the initial post or from PixLab post #9

@PixLab, Thank you for the catch and fixed. Also, thank you for pointing out the directory for the Linux users, I will write it on the "Read me please file"

@MareroQ, I totally forgot about that PF_BRUSH problem. By the way, you don't have to re-start GIMP if you want to run the plugin again. I found out that going to: Filters> Reset All Filters, will do the trick. I will included in the "Read me please" file. Thank you for reminding me!

_________________
https://www.deviantart.com/pocholo17
Image


Last edited by Pocholo on Thu Sep 23, 2021 12:58 pm, edited 1 time in total.

Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 10:24 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
Pocholo, you did an excellent job. Thanks a lot.
PixLab, thanks for fixing the problem.
MareroQ, Thanks, too

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 12:15 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
I did a few more glass balls. a bit gripping, I think. :hi5
In colour, too. :coolthup


Attachments:
Marble_Bird_Pocholo.JPG
Marble_Bird_Pocholo.JPG [ 183.52 KiB | Viewed 1694 times ]
Marble_Branch_Pocholo.JPG
Marble_Branch_Pocholo.JPG [ 183.31 KiB | Viewed 1694 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 12:52 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
:paint


Attachments:
Marble_Salamandra_Pocholo.JPG
Marble_Salamandra_Pocholo.JPG [ 184.69 KiB | Viewed 1686 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 12:56 pm  (#15) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1196
Very nicely done Issa. I like how you used the colors on the glass bubble :jumpclap

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 9:09 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
Thank you for the script Pocholo :tyspin

Attachment:
pmarble.jpg
pmarble.jpg [ 80.76 KiB | Viewed 1661 times ]


Added a loop on top and turned off the bottom shadow :hehe
Attachment:
pmarble2.jpg
pmarble2.jpg [ 197.53 KiB | Viewed 1654 times ]


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Thu Sep 23, 2021 11:03 pm  (#17) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1196
Very nice Teapot, you have that early Christmas spirit! :jumpclap

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Fri Sep 24, 2021 2:00 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12703
Location: Spain, Aragón
Really nice, teapot. :coolthup :bigthup

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Sat Sep 25, 2021 2:17 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
Pocholo, Using "Reset All Filters" every time I want to use the plugin would get a bit tiresome. Is there another solution for this problem? Also, how can brushes that users already have, be resized to fit inside the marble? Also, I think there should be a flatten image option. That way users can continue using the plugin on the same size canvas if they wanted to.

I used the fixed version of the plugin and the plugin still only runs once. Also, not all brushes that users have will fit into the dimensions of the glass ball.

An example would be this:

Image

As you can see, the dropbox logo brush doesn't fit into the glass marble.


Last edited by mackenzieh on Sun Sep 26, 2021 6:37 pm, edited 3 times in total.

Top
 Post subject: Re: pm_create_a_glass_marble.py (Issa wishes)
PostPosted: Sat Sep 25, 2021 5:05 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Of course (at least two):
1. Remind the GIMP authors to fix the error (especially as there is a suggestion to fix the problem) - Recommended :yes
2. Change the code so that the plugin uses the default active brush (so You can also customize the size...).
It will be a minor matter for the plugin author - if he wants to change it?. :bowdown

_________________
Image

Slava
Ukraini!


Top
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL Glass, Metallic, and Marble text mega plugin.

7

No new posts Attachment(s) How To Create Glass Balls PDF (from a Video Tutorial)

11

No new posts Attachment(s) GEGL marble wallpaper/background plugin

5

No new posts Attachment(s) Glass sphere.py

7

No new posts Attachment(s) Stained Glass (well almost).

4



* Login  



Powered by phpBB3 © phpBB Group