Digital Art Community Forum for Artists & Creators

Issue with function parameter of Load event for water layer

Username: Kadeno
Post Date: 2024-05-13 02:41:57
Hello, I am trying to inject or reduce the amount of water on specific frames using load events but I am seeing some issue and I am not able to figure out what I am doing wrong. I made 2 examples : [url=https://drive.google.com/file/d/1pA0lQ1EbvgJNMPydFp3XD-vobLjG_wl1/view?usp=sharing]add_water.json[/url] and [url=https://drive.google.com/file/d/1lFU5SIqSuCPh__TZkrmqwDuInvQXsEfH/view?usp=sharing]average_water.json[/url] Where at frame 5 I load this texure to manipulate the water layer : [img]https://www.escapemotions.com/community/uploads/posts/2024/05/89/2024-05-13_02-05:48_rectangle.png[/img] (Get the actual EXR [url=https://drive.google.com/file/d/1N6LvcWiWsC-_N4TPm2T8PK01eEcJbNfc/view?usp=sharing]here[/url] ) For both example it seems that I am losing the water on the side and the function option is not being applied as I expected. Any idea on what might be happening ?
Username: Michal Escape Motions
Post Date: 2024-06-04 23:01:35
Thanks for this report, [USER=112019]@Kadeno[/USER]! The files you provided really helped us to reproduce the issue. There were two bugs in MotionIO causing it: 1. Simulation bounding box wasn't recomputed after the LOAD event. This is crucial especially when importing data into the "water" layer. 2. The "function" parameter wasn't parsed properly falling back to the "replace" function regardless of the given value. Both issues are fixed now and will be released in the upcoming 7.1.7 version of Rebelle MotionIO.