EyeonTips:Script/Reference/Applications/Fuse/Classes/Image/Merge
From VFXPedia
- Image:Merge() re-seeds the random number generator if you use a Photoshop-style blend mode (i.e. anything else than Merge, Screen and Multiply). You should call math.randomseed() afterwards with a hard-coded seed value or a number entered by the user if you rely on predictable (sic) random numbers. Another solution is to create all your random numbers before calling :Merge().
- If you want to preserve your background image, you can use MergeOf() instead. It will return the merge result as a new image.
- MO_YSize does not work. You can change the foreground image's YSize member variable instead before doing the merge (don't forget to reset afterwards in case it's not a copy you're discarding anyway)
- - No, you cannot, even temporarily, modify the foreground image's members if you didn't create the image yourself, because some other tool might be using that image at the same time! Stuart 05:45, 10 May 2013 (EDT)