GIMP Chat http://gimpchat.com/ |
|
Luce plugin, help please! (Solved, thank you dinnaset) http://gimpchat.com/viewtopic.php?f=9&t=19223 |
Page 1 of 1 |
Author: | Pocholo [ Wed Mar 10, 2021 4:35 pm ] |
Post subject: | Luce plugin, help please! (Solved, thank you dinnaset) |
Hi guys! Have a question to ask those with high base knowledge. Can anybody post an example of the Luce plugin code? Does anybody here has done a script or plugin using Luce plugin? I will appreciate if any help. Thank you in advance. This is what I got and it's not working ![]() Code: Select all pdb.plug_in_luce(img, rayslayer, 1, |
Author: | mackenzieh [ Wed Mar 10, 2021 7:31 pm ] | ||
Post subject: | Re: Luce plugin | ||
Pocholo, I have the Luce plugin and it works for me in gimp 2.10.22. Does the version, you have not work? I have attached the version of the plugin that I have.
|
Author: | Pocholo [ Wed Mar 10, 2021 7:37 pm ] |
Post subject: | Re: Luce plugin |
Sorry If I didn't express myself clearly, Mackenzie. I was talking about how to integrate the Luce procedure in a plugin I'm writing. |
Author: | mackenzieh [ Wed Mar 10, 2021 7:47 pm ] |
Post subject: | Re: Luce plugin |
Pocholo wrote: Sorry If I didn't express myself clearly, Mackenzie. I was talking about how to introduce the Luce procedure in a plugin I'm writing. . Oh. I'm not sure how to do that. Coding goes over my head. |
Author: | dinasset [ Thu Mar 11, 2021 12:20 am ] |
Post subject: | Re: Luce plugin, help please! |
Try using these parameters, then play: pdb.plug_in_luce(inImage, inLayer, 0, #point_light - true 0, #quadratic_attenuation - false 1, #zero_mode - true 1, #add_source - true 1, #source_zero- true 1, #source_positive_normalize - true 1, #source_negative_normalize- true 1, #positive_normalize - true 1, #negative_normalize - true 1, #num_threads_to_use 1.00, #positive_intensity - in feet 1.00, #negative_intensity - in feet 0, #center_x - in feet 0, #center_y - in feet 0.1, #direction_x 0.1, #direction_y 0.0, #zeros0 0.0, #zeros1 0.0, #zeros2 0.0, #zeros3 0.0) #zeros4 note: omit first parameter (the "run-mode"), should not be in |
Author: | Pocholo [ Thu Mar 11, 2021 2:21 am ] |
Post subject: | Re: Luce plugin, help please! |
dinasset wrote: Try using these parameters, then play: pdb.plug_in_luce(inImage, inLayer, 0, #point_light - true 0, #quadratic_attenuation - false 1, #zero_mode - true 1, #add_source - true 1, #source_zero- true 1, #source_positive_normalize - true 1, #source_negative_normalize- true 1, #positive_normalize - true 1, #negative_normalize - true 1, #num_threads_to_use 1.00, #positive_intensity - in feet 1.00, #negative_intensity - in feet 0, #center_x - in feet 0, #center_y - in feet 0.1, #direction_x 0.1, #direction_y 0.0, #zeros0 0.0, #zeros1 0.0, #zeros2 0.0, #zeros3 0.0) #zeros4 note: omit first parameter (the "run-mode"), should not be in Thanks a lot Dinnaset! ![]() |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |