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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Layers Merge Messing Position

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
serverinfo Posted - Feb 29 2020 : 21:51:11
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)







1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 01 2020 : 23:42:36
Hi

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

Nigel
Xequte Software
www.imageen.com