nununo / vela2017 Goto Github PK
View Code? Open in Web Editor NEWVela 2017
Vela 2017
Because it is based on currentFrame and totalFrames and omxPlayer's currentFrame is not correctly reported.
To avoid hickups
Because it is currently based on movie->isPlaying() and that probably doesn't make sense.
I must try to base it on getPosition() but first I must fix getPosition()
https://forum.openframeworks.cc/t/loading-an-ofmovieplayer-in-a-thread-not-working-correctly/26770
try using OF_PIXELS_NATIVE to set the pixel format of the video player, that avoids a series of conversions in the cpu which make the playback much faster:
player.setPixelFormat(OF_PIXELS_NATIVE);
player.loadAsync("...");
for this you'll need to use openGL ES 2 since it needs some shaders to do the conversions that would otherwise be done in cpu, in you main.cpp, like: https://gist.github.com/arturoc/5880704601cb57b872c48385c10a1db6
int main(){
ofGLESWindowSettings settings;
settings.setGLESVersion(2);
ofCreateWindow(settings);
ofRunApp(new ofApp);
}
To hide the grey background of the videos
It should be calculated based on an alpha gradient around the candle, with parameters.
I will then export it to PNG and use it in Final Cut Pro
Maybe it could be simplified?
Now it's disabled. If it really doesn't serve a purpose I should remove the commented code and the current functionality from the Config and XML file
And:
Because even with alpha correctly set they will be drawn onto each other resulting in a lot of flickering.
So I must abandon direct mode and return to texture mode.
So that I can display trace information next to the movie.
because since I'm currently using direct mode it fills the whole screen and doesn't let anything be written on top of it.
Which will then be caught by the HistoryLayer to update the thresholds
Very strange behavior: shows base layer translated from top layer. Their rotation is exactly the same... so it seems to be a translation issue related to the rotation.
It should happen only when the candle is idle for some time.
Otherwise, it will overlap with interactive actions
So that very small values like the keyboard can look bigger
After some clips loaded... segmentation fault.
It happens if a topLayer is playing and a trigger replaces it.
The base layer unpauses and pauses again and it can be seen for 1 frame. Besides, it has impact in performance. I must try to find a way to avoid this.
Probably related to loading the movies.
Maybe I can find a simple way to avoid or minimize this
Which will then affect how Level works
This event will be caught by the History to draw the value chart
drawing 100 lines shouldn't be a problem.
Instead of starting afresh
For color correction of all the movies
To avoid wasting resources
This event will then be used to reset AutoFlicker timer
The condition to set the finished flag to true is not very health....
No need to use references in most of them. C++ will copy them automatically on assignment.
ofParameter holds a value and notifies its listeners when it changes.
ofParameter can be used as the value itself. For example, an ofParameter can be added, multiplied, substracted, etc with another number.
There should be a way to them to be initialize right from the start
It should be an independent information which is fed to TraceLayer somehow.
So that it can then send it to the event it will trigger when a new value is set
Instead of having an ArduinoInput with nested CalibratedValueInputs...
Have a singleton Arduino which handles all the communications
And then have many ArduinoInputs which all share the same Arduino instance to get their values.
Since we now have both sensors merged into one amplified and filtered signal, I no longer need an Arduino singleton. I will have only one Arduino input.
http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/disable-screen-sleep
The easiest way to disable screen blanking in the Raspbian GUI is to install xscreensaver then configure it to disable:
sudo apt-get update
sudo apt-get install xscreensaver
And I think it is because OMX is not reporting currentFrame correctly and the alpha depends on currentFrame and totalFrames.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.