Skip to content
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

OpticalFlow_MovieFluid not working #23

Closed
lanigoa opened this issue Jan 9, 2018 · 2 comments
Closed

OpticalFlow_MovieFluid not working #23

lanigoa opened this issue Jan 9, 2018 · 2 comments

Comments

@lanigoa
Copy link

lanigoa commented Jan 9, 2018

hey,

I have a problem with OpticalFlow_MovieFluid, after pressing Run in Processing, a new window opens and is immediately closed. This happens on my windows7 64bit computer. Every other example in optical flow works fine. The console says:

[-] PixelFlow v1.20 - www.thomasdiewald.com

[-] DEVICE ... AMD Radeon R9 200 / HD 7900 Series
[-] GLSL ..... #version 450 core / 4.50.0
[-] GL ....... 4.5 (Core profile, arb, compat[ES2, ES3, ES31], FBO, hardware) - 4.5.13506 Core Profile Context 23.20.15002.11

And I get one Error:

The method addTemperatureTexture(DwFluid2D fluid, DwOpticalFlow opticalflow) from the type OpticalFlow_MovieFluid.MyFluidData is never used locally.

I have updated my graphics driver and I'm using PixelFlow 1.20. In the original code I changed your pulp Fiction video with my own.

Hope this helps

@diwi
Copy link
Owner

diwi commented Jan 9, 2018

sounds like the movie-file is not found.
Make sure the relative or absolute path to the file is correct.

Just in case, use one of the basic example from the video-library to load your file:
https://processing.org/reference/libraries/video/Movie.html

If that works, it should also work in the optical-flow example.

@lanigoa
Copy link
Author

lanigoa commented Jan 9, 2018

Just tried it with the absolute path and it works now.

Thank you for your fast reply

@lanigoa lanigoa closed this as completed Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants