X7 Material Properties bug ?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
Jean-Luc
Advisor
Posts: 2177
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, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

X7 Material Properties bug ?

Post by Jean-Luc »

The maximum Hue value is 359.
Should be 255, IMHO.

Actually, it is difficult to apply HSL values from precedent versions in X7 and find the same colors as previously.

And what is the little ring on the right ?

Cordialement,
Jean-Luc
Attachments
X7 Material Properties.png
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
LeviFiction
Advisor
Posts: 6831
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-2023
Location: USA

Re: X7 Material Properties bug ?

Post by LeviFiction »

That symbol stands for Degrees.

HSL is usually defined by H: 360° S: 100% L: 100% Every other application I've ever dealt with uses this scheme for HSL.

While I will admit it's poorly executed, this is not a bug. They should have left a legacy HSL slider so that users can move between the two but it should be left as is. It makes it more compatible.

I do have a small script, that's not overly useful, but it does do a good job of converting the Legacy HSL into RGB for use in X7.

The equation used is not mine, it's taken from: http://lodev.org/cgtutor/color.html#The_HSL_Color_Model_
Attachments
LegacyHSL.zip
(1.17 KiB) Downloaded 160 times
https://levifiction.wordpress.com/
DPainter
Posts: 92
Joined: Mon Dec 10, 2012 2:04 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte
processor: Intel i7-7700 3.6GHz Quad core 8
ram: 16GB
Video Card: nVidia GTX 1070
Hard_Drive_Capacity: 2T HDD
Monitor/Display Make & Model: 2 X SAMSUNG/s
Corel programs: Paintshop Pro 2019 Ultimate.

Re: X7 Material Properties bug ?

Post by DPainter »

Personally I totally "hate" this!
Edited Gradients don't work! Never stays as it was edited.
Textures, I use a lot! I open the texture tile in the workspace and in "All" over versions the texture then shows in the texture drop down but this one. Totally hit and miss.
HTML color codes means absolutely nothing to me. The codes aren't understandable at all. This should have been optional so people can use, sight either. Never had a issue with color ranged using RGB 0-255.

For those that go to what I see as the extreme on the colors code and then save in jpg??? What a waste of time that is. And size down to a size that then both destroys the image resolution and color. Having a 360 color range doesn't mean anything when your eyes will never see the difference.
LeviFiction
Advisor
Posts: 6831
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-2023
Location: USA

Re: X7 Material Properties bug ?

Post by LeviFiction »

The HTML has always been there. It's meant more for pasting and copying codes in quickly. Especially nice for web designers who use hex RGB all the time so it is optional. Sure it'll always show up but you don't have to use it.

I can agree on the gradients and textures. In their attempt to make things easier they made it glitchy and cluttered.

We'll just have to disagree on the usefulness of HSL. xD
https://levifiction.wordpress.com/
Jean-Luc
Advisor
Posts: 2177
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, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: X7 Material Properties bug ?

Post by Jean-Luc »

ALL previous PSP versions, X6 included, have a maximum Hue value of 255 (see X6 screen capture attached).
All users of previous versions who are using those values (255, 255, 255) are lost with the new Hue scale.
I understand that another scaling system is possible, like the Degrees (see Corel Draw screen capture) but if this is the case, Corel cannot mixt two differents scales systems together!
If Degree is supported in X7, maximum values should be H:360, S: 100 and L: 100. Actually, we find H:359, S: 255 and L: 255.
Cordialement,
Jean-Luc
Attachments
Corel Draw X5 TSL.png
X6 Material Properties.png
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
LeviFiction
Advisor
Posts: 6831
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-2023
Location: USA

Re: X7 Material Properties bug ?

Post by LeviFiction »

Like I said, they should have added an HSL(Legacy) slider option for anyone who wanted to continue using the old system. But they didn't. I understand the problem, that's why I made the script.

As for the slider not going up to 360.....technically true. But seeing as 0 and 360 are exactly the same that's more semantics than anything. But sure, I can agree that they should up the maximum to 360 to match.
https://levifiction.wordpress.com/
Jean-Luc
Advisor
Posts: 2177
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, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: X7 Material Properties bug ?

Post by Jean-Luc »

Hi LeviFiction,
I cannot load your script.
Cordialement,
Jean-Luc
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
LeviFiction
Advisor
Posts: 6831
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-2023
Location: USA

Re: X7 Material Properties bug ?

Post by LeviFiction »

What errors does it give?
https://levifiction.wordpress.com/
Jean-Luc
Advisor
Posts: 2177
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, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: X7 Material Properties bug ?

Post by Jean-Luc »

LeviFiction wrote:What errors does it give?
I cannot download the script.
No error message.
I click on Attachment but no download...
Perhaps a mistake on my side ?
Jean-Luc
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
LeviFiction
Advisor
Posts: 6831
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-2023
Location: USA

Re: X7 Material Properties bug ?

Post by LeviFiction »

Hmm, I'm not sure. I don't know what's necessary to download from the forums.

Here is a link to the script on my Google Drive.

https://drive.google.com/file/d/0B8FlFL ... sp=sharing
https://levifiction.wordpress.com/
MarkZ
Posts: 1080
Joined: Sat Feb 05, 2011 10:41 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Intel DQ67SW desktop
processor: Intel Core i7 i7-2600 3.40 GHz
ram: 8 GB
Hard_Drive_Capacity: 500 GB
Monitor/Display Make & Model: LG Flatron E2241
Corel programs: PSP 2018 X9 X8 X7 X6 ASP3 ASP
Location: Toronto

Re: X7 Material Properties bug ?

Post by MarkZ »

The attachment show up as a link rather than a file. Simply clicking on it does download the file.
Mark
Jean-Luc
Advisor
Posts: 2177
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, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: X7 Material Properties bug ?

Post by Jean-Luc »

[quote="LeviFiction"]Hmm, I'm not sure. I don't know what's necessary to download from the forums.

Problem was on my side. Did reset the browser and now I've downloaded the script.

I don't understand how it works.

The problem is to convert the "new" X7 Hue value to the old fashion (or reverse).
Divide the X7 number by 1,41 does the trick.
And if the user has an "old" Hue value (from precedent PSP version), he needs to multiply the old Hue value by 1,41 to obtain the new value in X7. Other values (S, L) are the same.
What do you mean ?
Best regards,
Jean-Luc
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
LeviFiction
Advisor
Posts: 6831
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-2023
Location: USA

Re: X7 Material Properties bug ?

Post by LeviFiction »

The point of the script is to request the HSL value, then set the primary material to this color. It does this by converting the old HSL into RGB.

The script asks for the old HSL value one at a time.

So if the HSL from an older version is H:219 S:126 L:53 you run the script and it'll ask you for the Hue, hit OK and it'll ask for the Saturation, hit OK and then it'll ask for the lightness.

It then sets the primary color on the materials palette equal to the RGB represented by the old HSL.

Edit: I would like to add, that the reason my script doesn't only ask for the Hue is because I wanted to set the color as well. The "SetMaterial" command only accepts RGB values so I had to convert the entire HSL color to RGB in order to do so.

I will admit that being horrible at math I didn't know you could just multiply or divide like that so that's a wonderful shortcut for simply moving between the two sets. Thank you for sharing.
https://levifiction.wordpress.com/
Post Reply