Video delay effect
Dear Community!
I'm trying to create a delay effect where if the user moves, a trail of the user is created with the segmentation mask like a duplicating delay effect.
Can someone point me into a direction to make this possible? Because the segmentation is a 2D animating texture how can we delay this?
Thanks!
hi Alex Scale
you can make a delay by many ways
you can use behavior script to enable something with some conditions and delay the enable by time
also you can use JS Coding to enable something by time
//@input float num
// @input SceneObject[] objvar delayedEvent = script.createEvent("DelayedCallbackEvent");
delayedEvent.bind(function(eventData)
{
for (var i = 0;i < script.obj.length; i++)
{
script.obj[i].enabled = true ;
}
});
delayedEvent.reset(script.num);
based on this simple script you can link it to any object and select what you want to enable and edit the time you want to wait before enabling that object
i hope that helped
for any questions please feel free to let us know
Cheers
Hey Just me,
Thanks for your response.
Im trying to delay the screen texture, so the behaviour script and the script wil not work. Its not a boolean that we try to enable with a delay.
Would a convolution solution work? Don’t know if that makes sense :).
Or delaying the pixels via a custom material with the screen tex as input? Never made an custom material in lens studio so don’t t know if thats even possible with the available nodes.
hi Alex Scale
excuse my weak english maybe i didn't understand what you really mean
but what i did understand u trying to delay the texture shown
if that was it i recommend using tweening alpha make the texture alpha to 0 then when the tween works after a delay time it will just make alpha to 1 again
i hope for you the best and sorry if i couldn't help
Cheers.
No worries :). Could be a small part of the solution so thanks for helping out!
Anyone else has an idea on how this could work out?
Same here Douglas.
-Side note: why are you linking to top 10 massage chairs in your comment?