Hello everyone,
I’m relatively new to Verge3D and currently working on a project where I want to control the playback of a video using the mouse wheel scroll, same as if where an animation. I’ve been struggling to implement this functionality, and I would greatly appreciate any guidance or advice from the community.
Here’s what I’ve done so far:
Replaced object texture with video.
Set up the video texture, muted it, and specified a playback range.
Tested the video playback to ensure it works correctly.
Now, my goal is to enable the video playback to change when I scroll the mouse wheel, similar to how some websites handle scroll-based animations. When scrolling down, I want the video to play forward, and when scrolling up, I want it to play backward.
I’ve tried using the “Mouse Wheel” event in Verge3D’s puzzle editor, but I’m having trouble calculating and controlling the playback time of the video based on the scroll delta.
If anyone has experience with this specific functionality or can provide some guidance on how to approach this problem, I would be extremely grateful. Any suggestions, sample puzzles, or even pseudo-code would be helpful to get me on the right track.
here the test.
test
I think you guess, i want to render high quality 3d animations in a video or image sequence to be played on scrooll wheel. If i can, just take my 300 bucks now.
Thank you in advance for your support.