Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Glass sphere.py

Sat May 23, 2020 1:23 pm

Hi guys. I saw an image here on a post by gimper66
viewtopic.php?f=11&t=17284&hilit=ball&start=20

This is a script, following steps in "How to create a Crystal Sphere Gimp 2.10 tutorial"
Translated to PSD from http://www.lunacore.com/photoshop/tutorials/tut009.htm ; to GIMP by conbagui found at link: http://fav.me/dd1h7ws

It Creates a 1000 px "Crystal sphere" and have the an option to pick up any pattern of your preference. You can scale the image up to 1500 px. **You need to have the G'MIC plugin in order to this script to work**

Result

Image

Re: Glass sphere.py

Sat May 23, 2020 9:15 pm

This script work fine in Window, but I need to know if it work in another OS. Can anybody test it on Mac OS and Linux to see if it work, please?

Re: Glass sphere.py

Sun May 24, 2020 3:59 am

A test in linux ?

Using Gimp 2.10.18 / gimp_gmic_qt 2.9.1 it falls foul (along with others) of the choose pattern / font /... bug
Plug-in "PM_glass sphere.py".....attempted to install procedure "temp-procedure-number-2" with invalid parameter name "mask width".

Not a great problem in linux, drag and drop works from dock-to-script (but not in Windows ;) ). So I can get this:

linux.jpg
linux.jpg (145.51 KiB) Viewed 5221 times

Re: Glass sphere.py

Sun May 24, 2020 4:08 am

I removed the pattern creation off the script and it works perfectly in Linux.
It would be better if the ball and drop shadow were crated on separate layers, because you don't always want to use a drop shadow.

Re: Glass sphere.py

Sun May 24, 2020 9:21 am

Thank you guys!
@rich2005 - I see what you mean about the "pattern and color selection" problem in Windows with GIMP 2.10.18, I totally forgot about it :gaah . I have the SamJ version installed that he had fix (for the moment) and that it's why it works in Windows.

@Nidhogg - I had them in different layers, but I merged them. Just delete the line 151 and you will see all the worked layers.

Re: Glass sphere.py

Sun May 24, 2020 12:05 pm

OK I re-uploaded the script with changes:
1. You get all the work layers
2. An option for the Sphere shadow.

Re: Glass sphere.py

Sun May 24, 2020 1:30 pm

you don't have to worry about the "pattern and color selection" problem ...
It'll be fixed some day (GIMP 2.10.20 or so ).
Works fine on Linux Mint 19.2 /GIMP 2.10.12

Re: Glass sphere.py

Sun May 24, 2020 3:03 pm

Thank you nelo, :hi5 That was driving me crazy. It's so hard to create any kind of script with this new version.
Post a reply