-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simultaneously playing and moving video #1928
Comments
can you please attach a simple blend file with your setup (only the .blend, without the video in question) so I can try to replicate the problem? thank you |
you can test a working example with my file, just replace big_buck_bunny.mp4 in material with your video... |
I have been working in latest 3.6.2, installed latest alpha but still it seems you have a little newer 0.44 ver, I'm not much experienced in this - so i don't know much about bpy api etc. The without script thing: The with script thing: |
you can use a driver to bind the motion to the offset, that way there is no code... or there is less, because depending on the distance traveled you must find a multiplier for the driver.... anyway, here is your file.... there are no bugs in this, you just have to explore a bit more on how to play with the offset... remember the engine plays at 60fps and movies usually play at 24, 25 or 30... |
I have made a simple setup with video on a plane.
In Non-Linear editor there are 100 animation frames:
with x-axis animation(Object tab) and Offset animation(Material tab - else video does not play at all while pressing P).
While moving playing head - all works as expected(moving and playing).
Then - there is also a setup in Logic node editor like this:
OnUpdate is attached to Play animation(PlaneAction selected)
and Left mouse click is attached to another Play animation(Shader NodeTreeAction selected).
Now, if P is pressed transformation works ok,
but as soon as Left mouse is clicked - something freezes.
Video stops moving, video starts playing and when it stops - that plane again starts moving(usually a new cycle).
How to do this correctly?
The text was updated successfully, but these errors were encountered: