Precise positioning of Sunburst illumination effect

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
hasl753
Posts: 4
Joined: Fri Feb 26, 2021 2:47 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Precise positioning of Sunburst illumination effect

Post by hasl753 »

I've been trying to use the Sunburst illumination effect. But the Horizontal and Vertical controls in the Sunburst dialog box only let you position the light origin in one percent increments, which isn't precise enough for the image I'm trying to create. Is there any workaround that will let me position the light origin at a precise number of horizontal and vertical pixels?
Jean-Luc
Advisor
Posts: 1710
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7-4710 HQ 2.50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X8, X9, 2018, 2019, 2020, 2021
Location: Belgium (French speaking)
Contact:

Re: Precise positioning of Sunburst illumination effect

Post by Jean-Luc »

Create a raster layer above the background layer.
Fill it with pure black.
Apply the sunburst effect on this black layer.
Switch the Layer Blend mode to Screen.
You will have a layer you can rotate as you will.
Note: make your canvass bigger before applying the above steps.
THE PAINTSHOP PRO COOKBOOK
Installed PSP Ultimate: X7, X8, X9, 2018, 2019, 2020 and 2021.
LeviFiction
Advisor
Posts: 6048
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8, 9, X, XI, X2, X8,X9, 2018, 2019
Location: USA

Re: Precise positioning of Sunburst illumination effect

Post by LeviFiction »

This is almost identical to Jean-Luc's option. It's a script, so long as you know the exact X and Y value it should get you pretty close. It resizes the canvas (not the image) so that your X and Y values are a known exact percentage. It adds a new layer, fills it with black, and sets the blend mode to Screen. Then it runs the sunburst command with the calculated percentages under Horizontal and Vertical offsets. So as long as you don't touch those it should be pretty accurate. The script will then crop the image back down to its original size. Hopefully, the end result is a sunburst on its own layer exactly where you wanted it.

Just unzip the script into your Scripts-Restricted folder, select it from the Scripts toolbar and run it. You'll be asked for the exact X and Y pixel locations before showing you the sunburst command.

If you cancel the Sunburst, let the script finish as it'll restore the original image size for you.
Attachments
sunburstPrecise.zip
(2.01 KiB) Downloaded 9 times
hasl753
Posts: 4
Joined: Fri Feb 26, 2021 2:47 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Precise positioning of Sunburst illumination effect

Post by hasl753 »

Thanks, folks! That's just what I needed!
Post Reply