It is currently Thu Apr 25, 2024 1:22 am


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: 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: 7713
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 158 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: 12658
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 1890 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: 12518
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 82 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 74 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: 12518
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: 12518
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: 4418
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: 12518
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 subject: Re: Plastic or Glass for 2.10
PostPosted: Sun Sep 09, 2018 1:29 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1333
Quote:
Also discovered that you can turn on and off OpenCL without having to restart GIMP.


I think it's really good that OpenCl is in Gimp2.10x. It allows the GPU (graphics processor) to work with the CPU to render images.
It saves a lot of time when rendering many frames or complex images.

You do need a graphics card that supports OpenCL on a system where OpenCL has been set-up. It's a bit easier to implement with Nvidia GPU's IMHO.


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Mon Sep 10, 2018 7:09 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
I have a Radeon graphics system, Tas; it may be the reason why it bugs out. Oh well. Haven't delved into how to get OpenCL to work with Radeon yet. Not sure if it actually's worth the effort. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Mon Sep 10, 2018 7:15 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Well; just checked and it has OpenCL.


Attachments:
opencl.png
opencl.png [ 23.34 KiB | Viewed 1041 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Plastic or Glass for 2.10
PostPosted: Fri Sep 14, 2018 1:49 pm  (#24) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Works well in my Windows 10, 64 bit. Gimp 2.10.6 Samj's. Thank you Nidhogg!

Attachment:
Gimp 2.10 Graechan adapted Nidhogg.Plastic.jpg
Gimp 2.10 Graechan adapted Nidhogg.Plastic.jpg [ 729.97 KiB | Viewed 980 times ]
Attachment:
Plastic.Bow.Gimp-2.10.jpg
Plastic.Bow.Gimp-2.10.jpg [ 317.8 KiB | Viewed 980 times ]

Attachment:
Plastic_Glass.jpg
Plastic_Glass.jpg [ 171.59 KiB | Viewed 980 times ]


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