Commit Graph
3452 Commits
Author SHA1 Message Date
Troy James Sobotka 6ebe0084a3 Implement Histogram
Basic pass at histogram. Uses a power based
scale compared against the total pixel count.
Probably needs a UI toggle to flip lines on
and off as the text and lines in OpenGL are
a large cycles sucker. Could be likely much
faster when migrated to a geometry shader
approach. Uses the scaled viewport resolution
to increase performance as much as possible.
2020-05-19 00:07:34 -07:00
itsmattkc 3518a10230 opengl: added another bilt override for custom coordinates and mode 2020-05-18 13:41:11 +10:00
itsmattkc 992321a9a5 viewer: don't update if gizmos haven't actually changed
Minor optimization that prevents unnecessary repaints of the viewer viewport.
2020-05-13 18:26:21 +10:00
itsmattkc ce78c168e6 renderer: fix bug where disconnecting a shared node wouldn't update in the renderer 2020-05-13 16:07:08 +10:00
itsmattkc 1ed0814e83 nodeview: associate disconnected nodes with selected blocks until re-connected 2020-05-13 16:06:13 +10:00
itsmattkc ce58671fd6 nodeview: started core node filtering work 2020-05-11 22:48:27 +10:00
itsmattkc 9c30f13a2e nodeview: added setting for curved/straight edges 2020-05-10 04:33:37 +10:00
itsmattkc ed82061b51 config: new default colors accidentally contained a duplicate 2020-05-10 04:10:33 +10:00
itsmattkc 6ad5076160 viewer: added debug message if playback queue falls behind 2020-05-10 04:05:08 +10:00
itsmattkc eb1b76896e nodeview: reimplemented crude autopositioning system 2020-05-10 03:23:03 +10:00
itsmattkc 948a95f336 Merge branch 'master' into nodeviewredux 2020-05-10 01:01:58 +10:00
itsmattkc c5292f1290 import: disable default matrix/math node generation
While I think the matrix node is a fairly benign node to generate automatically,
I think we have an easier time communicating what's actually happening in the
node graph if we start with the bare essentials (video input -> clip).
2020-05-10 00:55:06 +10:00
itsmattkc a15e3496db config: improved default colors
Use more distinct colors for each category.
2020-05-10 00:54:38 +10:00
itsmattkc 5bdca974bf Merge branch 'master' into nodeviewredux 2020-05-09 23:32:14 +10:00
itsmattkc 25b35725f6 nodes: added more default values to nodes 2020-05-09 18:55:42 +10:00
itsmattkc d653070a9d slider: reviewed and conformed code 2020-05-09 18:53:00 +10:00
itsmattkc cd5a6a6b78 Merge branch 'slider' of https://github.com/ThomasWilshaw/olive into ThomasWilshaw-slider 2020-05-09 18:36:03 +10:00
itsmattkc a574771552 travis: attempt to acquire latest cmake from site 2020-05-09 17:55:39 +10:00
itsmattkc 476e45cfdc appveyor: don't upload artifacts
AppVeyor has reached its artifact limit causing builds to fail. We already
upload separately to GitHub Releases anyway, so it's kind of unnecessary.
2020-05-09 17:38:47 +10:00
itsmattkc 42b749e697 travis: attempt to prioritize our cmake build 2020-05-09 17:20:35 +10:00
itsmattkc 8decdd2224 travis: use updated cmake version 2020-05-09 16:47:35 +10:00
itsmattkc ec6eb4c053 cmake: bumped minimum version
We use `target_link_libraries` now which is 3.13+ only.
2020-05-09 16:40:13 +10:00
itsmattkc e0b08040ce cmake: explicitly state minimum OIIO version 2020-05-09 16:24:13 +10:00
itsmattkc 20ef7b1c21 viewer: fixed issue that would cause playback queue to stall 2020-05-09 16:21:03 +10:00
itsmattkc 0340373faa viewerpanel: only listen to closeEvent to pause
Using showEvent as well would pause if Maximize Panel was used which is
undesirable.
2020-05-09 16:20:31 +10:00
itsmattkc 869f41fc50 ffmpegdecoder: fixed audio bug that failed to conform if the codec didn't supply a channel layout 2020-05-09 16:06:05 +10:00
itsmattkc 00248de49c viewer: improved frame queue and linked window
Improves minor issues with frame queue implemented in earlier commit. Also links
ViewerWindow with the queue and a separate timer to make it much smoother.
2020-05-09 16:02:18 +10:00
itsmattkc 8c4c6ba2a5 viewer: queue frames during playback
Rather than have to decode EXRs and display them in the span of one frame,
decode into memory ahead of time so that they're ready for upload. Has the
potential to speed up playback by about 5-6x.
2020-05-09 04:47:10 +10:00
itsmattkc fc694296f1 nodeviewscene: added basic standard filtering modes 2020-05-09 03:33:41 +10:00
itsmattkc 16d4cccdb5 nodeview: optimized selecting
Rather than responding to every single selection change, the selection operation
can function as-is and then respond to all of them at the end.
2020-05-09 03:33:36 +10:00
itsmattkc 218c63f933 nodecombobox: implemented node combobox widget 2020-05-09 03:22:09 +10:00
itsmattkc 3d0f11c6ef nodeview: first attempt at filter dialog 2020-05-08 23:12:00 +10:00
itsmattkc 1efd4e9f99 nodeview: further improved auto-positioning system 2020-05-08 19:20:24 +10:00
itsmattkc 12672aae7c Merge branch 'master' into nodeviewredux 2020-05-08 13:00:21 +10:00
itsmattkc 6988436753 preferences: added minimums to cache ahead/behind
Fixes sobotka/Olive#114
2020-05-08 12:53:05 +10:00
Thomas Wilshaw cb1127936a Implement Alt Click to default on sliders
The following sliders now have Alt Click functionality:
 - Nodes (What it's initialy set too or 0 if not)
 - Export Dialog Dimensions~ (Defaults to Sequence width/height)
 - Export Compression Settings~
    - Advanced (0)
 - Speed/Duration
    - Speed (100%)
    - Duration (clip length)
 - Stream Properties Image sequence
    - Start Index (1)
    - End Index (sequence length)

Sliders with no default value set ignore an Alt
Click.

Added SliderBase::SetDefaultValue() which sets the
default value of a slider.

Added ValueReset() to SliderBase signals which is
called if a slider is Alt Clicked on. Only updates
if default_value_ is not Null.
2020-05-07 22:14:37 +01:00
itsmattkc 502ce85828 Merge pull request #1146 from sobotka/ocio-fixes
OCIO Fixes
2020-05-08 03:20:37 +10:00
itsmattkc 8362a68aa9 viewer: factor visibility into audio playback 2020-05-08 02:57:59 +10:00
itsmattkc 95e1273a63 Merge branch 'gizmos' 2020-05-08 00:41:19 +10:00
itsmattkc 69941dc2da nodes: added access to default value 2020-05-08 00:37:43 +10:00
itsmattkc 65705d580d renderer: keep frames in vram while paused
Saves some GPU cycles when adjusting parameters.
2020-05-08 00:32:02 +10:00
itsmattkc 46b61c0226 Merge pull request #1152 from ThomasWilshaw/gitignore_update
gitignore updates for Visual Studio with CMake
2020-05-07 23:10:49 +10:00
Thomas Wilshaw 49b8e2bfab gitignore updates for Visual Studio with CMake
Using Visual Studio and it's built in CMake generates a folder called .vs and a
JSON file of CMamke settings called CMakeSettings.json. These have both been
added to the .gitignore file.
2020-05-07 13:28:21 +01:00
itsmattkc 5b956729b3 gizmos: work towards gizmos in the matrix transform node 2020-05-07 18:12:18 +10:00
itsmattkc 32eb28d05e Merge branch 'master' into gizmos 2020-05-07 14:42:11 +10:00
itsmattkc 3436740d23 gizmos: consolidated input param dragging code into reusable class 2020-05-07 14:41:50 +10:00
itsmattkc b9622ff916 Merge branch 'master' of https://github.com/olive-editor/olive 2020-05-07 04:57:37 +10:00
itsmattkc e45256f6ab cmake: rdynamic needs to be a *link* flag (not a compile flag) 2020-05-07 04:56:34 +10:00
itsmattkc d02e9090b9 implemented core gizmo interaction functionality 2020-05-07 04:45:27 +10:00
itsmattkc 3600d1254d config: shorten default cache length 2020-05-07 04:06:03 +10:00