ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Layers Merge Messing Position
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

serverinfo

Brazil
9 Posts

Posted - Feb 29 2020 :  21:51:11  Show Profile  Reply
When you merge layers that has soft shadow applied, it is messing the position of the layers.

Steps to debug the problem:

1 - Open the Layer All types demo
2 - To make it easier to see the problema, increase the soft shadow radius in the demo (Add below line 1008)
lyr.SoftShadow.Enabled := chkSoftShadow.Checked; (line 1008)
lyr.SoftShadow.Radius := 50; (* add this line)

3 - Add a sphere layer (make it bigger and center it on screen)
4 - Add another sphere layer (make it a bit smaller than the previous and center it on screen, change color)
5 - Add another sphere layer (make it a bit smaller than the previous and center it on screen, change color)
6 - Add soft shadow to all 3 layers
7 - merge the 3 layers
8 - note how the position of the spheres get messed
the same problem occurs when saving merged layers to a file (you get a messed output file)

(see the attached pngs for further clarification)







xequte

38203 Posts

Posted - Mar 01 2020 :  23:42:36  Show Profile  Reply
Hi

We have a fix. Please email me if you want to test this.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: