-
Notifications
You must be signed in to change notification settings - Fork 31
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
libvisual: Improve lv-tool a bit #151
Conversation
4aba98b
to
4dbf31f
Compare
Can you explain why you decided to switch the default actor to lv_gltest? My preference is to not require OpenGL for a default. Upping the frame rate cap to 60Hz is a nice thought. Are there any plugins that are frame rate dependent? |
@kaixiong my main motivation was that I like lv_gltest a lot — I think it looks really nice — while lv_analyzer feels more like a debugging tool or an actor demo, in its current state.
I was wondering the same. What could happen with a GL actor for a default worst case?
Actor |
@hartwork One solution to this is check for OpenGL support and default to either
Makes sense. I just did a random tour of the plugins with a 60Hz cap and the visualizations looked okay (didn't go nuts). There are roughly two reasons for this:
I imagine the frame dependent portions are where the visualization applies some transformation per frame e.g. rotating the camera view, applying motion blur, etc. Some of these transforms e.g. convolutions aren't easily parameterizable by time (or time deltas) and will probably require locked frame rates. But this is a discussion for another time. |
I might have just answered my own question. What happens when OpenGL plugins aren't built? They are currently optional. |
4dbf31f
to
46e25c9
Compare
@kaixiong I have made it depend on the availability of OpenGL now (and rebased onto latest |
I just remembered that a hard-coded default will fail one way or the other since every plugin build is optional. lv-analyzer can be missing too. What we will eventually need is for lv-tool to also prioritise certain plugins for default after discovery. For now, this pull request is good to go. |
@kaixiong good point! 👍 |
Inspired by #150