It is currently Thu Jul 04, 2024 4:39 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 2:01 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Lylejk wanted plastic or glass for 2.10

Image


Attachments:
Plastic-or-Glass.scm [19.98 KiB]
Downloaded 450 times
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: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 3:13 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12709
Location: Spain, Aragón
Thank you so much, Nidhogg. :tyspin :hi5

_________________
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: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 3:50 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
You're welcome, happy autumnal gimping :)


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 6:42 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 4514
Location: Sydney Australia
I downloaded your 2.10 version but in my 2.10.6 it throws an error as shown below. It also now appears in a new alpha to logo menu not script-fu/alpha to logo.


Attachments:
plastic or glass.PNG
plastic or glass.PNG [ 7.12 KiB | Viewed 6786 times ]

_________________
Image

Respect should be offered freely but hard earned
Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 8:27 pm  (#5) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
oldmangrumpy wrote:
I downloaded your 2.10 version but in my 2.10.6 it throws an error as shown below.
It also now appears in a new alpha to logo menu not script-fu/alpha to logo.

Have you checked for any duplicate scripts?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 8:37 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 4514
Location: Sydney Australia
Wallace - yes; I deleted Graechan's previous version then replaced it with Nidhogg's version. I also checked the code re the menu location.

_________________
Image

Respect should be offered freely but hard earned


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 8:40 pm  (#7) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
oldmangrumpy wrote:
Wallace - yes; I deleted Graechan's previous version then replaced it with Nidhogg's version.
I also checked the code re the menu location.

Okay,
sounds good.
This is probably a coding issue.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 10:05 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
A bit different that Graechan's, but I do like it, Nidhogg; thanks for sharing. :)


Attachments:
GIMP_glass.png
GIMP_glass.png [ 80.32 KiB | Viewed 6767 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Tue Sep 04, 2018 10:17 pm  (#9) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
lylejk wrote:
A bit different that Graechan's, but I do like it, Nidhogg; thanks for sharing. :)

Looks good.
Perhaps it's not a coding issue after all. :oops:

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 4:46 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12709
Location: Spain, Aragón
I get other different error message from OMG's. The filter doesn't produce any result and gives this message:
Can someone help?


Attachments:
Error.JPG
Error.JPG [ 17.22 KiB | Viewed 6734 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: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 4:50 am  (#11) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7745
Location: On the other side of this screen
Image :)
Quote:
A bit different that Graechan's, but I do like it, Nidhogg; thanks for sharing.

Unfortunately Lyle. Looks like all the ones Graechan did for us will have to be done again :( Unless of course they work in 2.10, He lost them when Gimp Scripts went down.

Works fine in my 2.10.6

_________________


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 5:22 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
@OMG, the menu entries are original.
Went through the script this time and fixed your error, and Issabella's.
Should be okay now.


Attachments:
Plastic-or-Glass.scm [20.04 KiB]
Downloaded 160 times
Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 6:27 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12709
Location: Spain, Aragón
Thank you so much Nidhogg. You're so efficient! :yes


Attachments:
Thanks Nidhogg_Gimp-2.10.jpg
Thanks Nidhogg_Gimp-2.10.jpg [ 149.3 KiB | Viewed 2020 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: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 1:58 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
Seams to be more noticeable on large images, but when I run this script-fu, it produces a square region in the upper left quadrant. Not sure why. :)


Attachments:
Untitled.xcf.bz2 [982.5 KiB]
Downloaded 83 times

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 3:03 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
I tested with your image and it turned out perfect.

Image


Attachments:
Untitled2.xcf.bz2 [1.01 MiB]
Downloaded 76 times
Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 3:42 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
Strange indeed. Might be because I enabled GPU or I need a larger memory setting in the configuration file. I'll try again. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 3:46 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
It's indeed OpenCL that's the culprit. I wonder if there's a way to disable it for the script-fu or work with the setting enabled? Anyway, not sure how much I gain with it enabled so might disable it later. At least I now know. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 8:28 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 4514
Location: Sydney Australia
Nidhogg - thanks for correcting the script; works OK now.

_________________
Image

Respect should be offered freely but hard earned


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Wed Sep 05, 2018 10:11 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
I agree, OMG. Also discovered that you can turn on and off OpenCL without having to restart GIMP. I'll just do so when I need to. Again, thanks a heap for recreating this cool Script-fu, Nidhogg. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Fri Sep 07, 2018 5:44 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Works perfect Nidhogg! Thanks.

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Grey plastic constructions

26

No new posts Attachment(s) GEGL Plastic Wrap plugin

1

No new posts Attachment(s) Glass sphere.py

7

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

4

No new posts Attachment(s) Bubble glass e-maps

9



* Login  



Powered by phpBB3 © phpBB Group