Commit Graph
3399 Commits
Author SHA1 Message Date
Troy James Sobotka 949e43cada Update IRE increments
Move to 10% increments.
2020-04-28 15:59:40 -07:00
Troy James Sobotka c06bdc5eac Update flourishes
Centre and align text.
2020-04-28 15:39:16 -07:00
Troy James Sobotka 4af10b2b5c Update Waveform Output
Updates:
 * Added IRE text on 20% increments
 * Added waveform lines that work
 * Scaled waveform to a subsection of the surface
2020-04-28 15:06:22 -07:00
Troy James Sobotka b9a62eb1aa Add lines
Adding waveform lines. Still requires scaling to
fit in arbitrary range.
2020-04-28 15:06:22 -07:00
Troy James Sobotka 5dd999b406 First working pass of Waveform
Remove the sum, add some commments, and
make it scale to the full window.

TODO:
 * Hook up CM.
 * Add UI for intensity
 * Add lines at 20% increments, plus under /
    overshoot?
 * Add UI for increments.
2020-04-28 15:06:22 -07:00
Troy James Sobotka f82bd39f0e Minor tweaks
Cleanup.
2020-04-28 15:06:22 -07:00
Troy James Sobotka c0b4cb28e0 Temp waveform work. 2020-04-28 15:06:22 -07:00
itsmattkc ff1a470aa0 Merge branch 'master' into nodeviewredux 2020-04-29 05:01:11 +10:00
itsmattkc 2a9c11823e Merge branch 'master' of https://github.com/olive-editor/olive 2020-04-29 04:57:39 +10:00
itsmattkc 8ab91a70cc nodeview: implemented moving with either the hand tool or middle mouse button
Includes splitting off this functionality from TimelineViewBase so it can be
re-used in any QGraphicsView.
2020-04-29 04:56:58 +10:00
itsmattkc e7e895739b Merge pull request #1138 from olive-editor/BrimsonBhin-patch-1
Gaussian Blur: Use straight multiply
2020-04-29 04:52:22 +10:00
itsmattkc 366945fd29 add rdynamic to the linux build options
This appears to be necessary for debug symbols to show in the crash handler.
2020-04-29 03:57:49 +10:00
itsmattkc f04fa12c06 nodeview: allow expanded views of nodes again
Re-implementing expanding nodes to see the connections (but nicer this time).
2020-04-29 03:56:50 +10:00
itsmattkc d8df7cd5a7 Merge branch 'master' into nodeviewredux 2020-04-29 02:15:34 +10:00
itsmattkc 877e8d3afc curveview: ensured curveview is updated with the correct length and playhead 2020-04-29 01:26:09 +10:00
itsmattkc 69d399105a manageddisplaywidgets: fixed issue that caused buffers to be drawn on the main window 2020-04-29 01:24:21 +10:00
itsmattkc 3070aa7e40 waveformscope: convert buffers to DVL before drawing the waveform 2020-04-29 00:36:55 +10:00
itsmattkc bb61525d44 Merge branch 'master' of https://github.com/olive-editor/olive 2020-04-29 00:02:09 +10:00
itsmattkc a412e26d66 panels: fixed bug that added panel to list twice and led to double-free 2020-04-29 00:01:50 +10:00
itsmattkc 61dd75a2ed scopes: only update if visible
Updating scopes can require heavy processing so we limit updates to only
when the scope is visible
2020-04-28 23:55:40 +10:00
itsmattkc df7f0040ec mac: implemented support for retina displays 2020-04-28 21:08:36 +10:00
itsmattkc ad419754a9 waveformscope: fixed double free on close 2020-04-28 17:40:22 +10:00
itsmattkc 737edba243 Merge branch 'master' of https://github.com/olive-editor/olive 2020-04-28 17:14:17 +10:00
itsmattkc cdf29c8ccc Merge branch 'master' of https://github.com/olive-editor/olive 2020-04-28 17:09:37 +10:00
itsmattkc 4906bb7d53 scopes: don't use shared context
OpenGL shared contexts (through Qt at least) seem to be buggy. Scopes have been
shifted to a non-shared approach as a result.
2020-04-28 17:08:52 +10:00
itsmattkc 5c088b9f1a mainwindow: show task manager if status bar is double clicked
Minor UI improvement.
2020-04-28 16:04:50 +10:00
itsmattkc 1b2c68c927 preferencesaudiotab: fixed bug that didn't disable UI when refreshing audio devices 2020-04-28 15:39:31 +10:00
itsmattkc 64ce4642c6 linux: fixes bug where layout was wonky on startup for some systems 2020-04-28 15:26:22 +10:00
itsmattkc 06ab2d3a0b fixed namespace issue that broke loading projects from file 2020-04-28 04:00:27 +10:00
itsmattkc d74d6a1542 nodes: implementing saving/loading node positions from project file 2020-04-28 03:43:35 +10:00
itsmattkc 3c01b14a14 palette: fixed disabled text color 2020-04-28 03:32:50 +10:00
itsmattkc b57d12868f nodeview: allow dropping a node on any edge
Before we checked data types to ensure compatibility, but some nodes (e.g. the
math node) may be compatible despite a not apparently compatible data type.
We allow users to make any connection quickly this way.
2020-04-28 03:20:08 +10:00
itsmattkc 0faf682225 core: fixed bug that didn't register ProjectPtr correctly and broke some
functionality as a result
2020-04-28 02:47:28 +10:00
itsmattkc e154b5d5d4 nodeview: make auto-position a manual and specific function, allow different flow directions
The first in many NodeView improvements. Up until now, nodes have been forcibly
auto-arranged, which has worked as a reasonable stop-gap just so that all the
nodes are visible during testing/development. However this does not make a good
user experience.

We move the auto-arrange code to a manual function that can be used when the
user or program deems it necessary, and also abstract the node positions so that
the view can ultimately determine the exact amount of spacing (useful for
changing DPIs) or orientation, so users can direct the flow whichever way they
want.
2020-04-28 00:28:38 +10:00
itsmattkc 3e28c74d20 projectpanel: connected open/save/undo/redo buttons
These were waiting until opening/saving projects was implemented, which it was
about a month ago. Now they are connected.
2020-04-28 00:24:37 +10:00
itsmattkc b947b2224a nodeview: support multiple flow directions 2020-04-27 16:08:48 +10:00
itsmattkc 690bdb6581 timeline: make sure track length is updated if a block is disconnected 2020-04-27 14:01:44 +10:00
itsmattkc 1cca9de7c5 gizmos: implemented pathway for node to draw on the viewer 2020-04-27 04:34:36 +10:00
itsmattkc ac3f49a845 nodes: moved matrix input on "video input" elsewhere
Rather than plugging a matrix into the video input node, the matrix is now
multiplied by the video input using a math node. This is probably more
sensible from a user perspective.

This also means the renderer is tolerant of texture sizes that are not equal
to the sequence size, however most nodes will downsample the texture to the
sequence size (and if not, it will be downsampled once it is cached). Textures
will still *always* be in reference space and the sequence's format. This seems
like the best compromise between backend and frontend congruity.
2020-04-27 04:11:24 +10:00
itsmattkc f61321d68b nodes/timeline: correctly detect when tracks are removed from the graph
Fixes several segfaults that could result from this occurring.
2020-04-27 01:01:12 +10:00
itsmattkc 981860b60b fixed audio regression introduced with optimized node copy 2020-04-27 00:55:40 +10:00
itsmattkc 9c4999cfae curvepanel: reconfigured to be a spawnable child of NodeParamView 2020-04-27 00:04:07 +10:00
itsmattkc 53ae25a7cb nodes: optimize node graph changes by only updating from inputs that changed
A huge optimization that ensures only the parts of a node graph that have
changed get pushed to the renderer. For thread-safety, the node graph is
copied elsewhere so that users can make changes asynchronously and the graph
can update when its threads are ready. Up until now, if an input value changed,
every node's values would be re-copied, or worse, if a connection was changed,
the entire graph would be recopied. This has been negligible in testing since
we've been largely testing with small graphs, but for massive projects, it's
important that this be as optimized as possible.
2020-04-26 04:16:15 +10:00
itsmattkc 17999eab7a timelineview: removed "end item"
This was written as a hack to force our QGraphicsScenes to larger sizes. Turns
out it was completely unnecessary and can be done better.
2020-04-25 15:19:46 +10:00
itsmattkc acef99eb17 renamed viewerglwidget to viewerdisplaywidget
Initially this class was named to provide the possibility of supporting other
APIs, however this abstraction has been done with a base class instead.
2020-04-25 14:46:30 +10:00
itsmattkc c7de93cc5d viewer/opengl: minor code improvements 2020-04-24 15:14:20 +10:00
BrimsonBhin 0703a5851b Gaussian Blur: Use straight multiply
Results are identical (tested with Olive 0.1.x). Using a straight multiply is faster if the compiler doesn't optimize pow(). It's also safer because with pow(), [the result is undefined if x<0 or if x=0 and y≤0](https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/pow.xhtml).
2020-04-23 22:02:47 -07:00
itsmattkc 8c44f8d03d viewer/various: split off color management into separate base class
Also moves scopes to said base class.
2020-04-24 03:45:07 +10:00
itsmattkc 3eb966cb5b openglshader: fixed ocio opengl incompatibility 2020-04-24 00:19:25 +10:00
itsmattkc 7768925826 manageddisplay: started base class for widgets that are managed 2020-04-24 00:17:32 +10:00