itsmattkc
0d0766e4fb
improved render channel count system
2020-11-15 22:16:40 +11:00
itsmattkc
ddbca1ba51
Merge branch 'master' of https://github.com/olive-editor/olive into render-singleton
2020-11-12 00:57:12 +11:00
itsmattkc
3c1ac3eeba
upgraded to ocio v2
2020-11-11 21:53:24 +11:00
itsmattkc
1d61f89920
large scale renderer rework
...
- Abstracts all OpenGL functionality including UI objects
- Cleans up several rendering codepaths
- Improves threading functionality
- Removes old code and problematic functions
2020-11-10 11:24:51 +11:00
itsmattkc
34cb7c96de
further enclosed C locale setting
2020-10-29 02:20:59 +11:00
itsmattkc
59241f9023
generate OCIO extraction directory BEFORE setting C locale for OCIO
2020-10-29 01:39:22 +11:00
itsmattkc
909dd37cc2
files: continue using temp location for temp files and use cache location just for ocio
2020-09-28 14:20:48 +10:00
itsmattkc
0f301cfdcc
manageddisplaywidget: show colorspaces as well as DVL
2020-06-09 13:53:20 +10:00
itsmattkc
17876410b5
rewrote OCIO C locale patch
...
Previous build was getting optimized out. This one shouldn't.
2020-05-06 00:10:10 +10:00
itsmattkc
911ef782f9
colormanager: always temporarily set C locale when loading an OCIO config from file
...
Fixes known bug in OCIO when loading files from non-English locales.
2020-05-05 14:48:09 +10:00
itsmattkc
4a225aff85
colormanager: show OCIO error if env config failed to load
2020-05-01 17:55:04 +10:00
itsmattkc
4290797389
colormanager: use env variable as default config if it exists
2020-05-01 16:33:46 +10: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
6940b00164
colormanager: added wrappers for GetDefaultLumaCoefs
2020-04-23 21:39:21 +10:00
itsmattkc
6c1e90665f
colormanagement: moved from passing DVL strings everywhere to a consolidated ColorTransform struct
2020-04-23 01:17:58 +10:00
itsmattkc
1d7c29c6d8
colormanager: minor comment update
...
More explicitly explains what's happening.
2020-04-22 14:55:40 +10:00
itsmattkc
bf787b1d2f
projectproperties: updated to assume empty config is default config
2020-04-22 14:04:10 +10:00
itsmattkc
8272f482d9
colormanager: temporarily hardcoding default input color space
...
The first input color space is "linear" which is very rare for footage to be
in. For simplicity, it'll default to sRGB for now.
2020-04-22 13:44:18 +10:00
itsmattkc
d15b08c181
sampleformat: fixed erroneous constant
2020-04-22 13:10:48 +10:00
itsmattkc
ccb02d30aa
colormanager: implement default config
2020-04-22 05:08:33 +10:00
itsmattkc
38fcad6a3f
cache: fixed signalling issue where changing default input didn't update the cache
2020-04-21 23:48:26 +10:00
itsmattkc
707e9d5522
project: fixed bug where ocio config wouldn't automatically load from a saved project
2020-04-18 17:55:23 +10:00
itsmattkc
1aa87cbda6
various: encapsulate all code in the olive namespace to avoid name collisions
...
Large-scale code cleanup. Also adds a license to the top of all files that were
missing it.
2020-04-06 15:29:53 +10:00
itsmattkc
e1ca5f2f82
various: removed hardcoded OCIO::ROLE_SCENE_LINEAR to allow for a configurable reference space
2020-04-03 01:30:47 +11:00
itsmattkc
552163320c
colorpicker: implemented color management
...
Also moves some items to ColorManager from Project for better accessibility and
re-uses some widgets in ExportDialog for improved code.
2020-04-03 01:23:08 +11:00
itsmattkc
02ce48d0c6
various: pixel optimizations
...
Several things are accomplished in this commit, including:
- Use OIIO instead of our own functions for pixel format conversions
(cleaner code/less for us to maintain)
- Fold all PixelService functions into the PixelFormat class
(cleaner code)
- Moved OpenGL pixel definitions to OpenGL classes and out of the
global classes.
- Add support for RGB buffers as well as RGBA (optimization)
2020-02-27 13:54:38 +11:00
itsmattkc
1101b58ee8
allow setting of pixel format/ocio method/sample format in preferences
...
Implementation isn't perfect yet, viewer/renderer doesn't update yet when
the preference is changed so a sequence needs to be re-opened for the change to
take effect.
2020-01-18 03:37:36 +11:00
itsmattkc
61c60e00d6
various small code cleanups and improvements
...
Largely refactoring work to make the code somewhat nicer to work with.
2019-12-26 19:00:08 +11:00
itsmattkc
a0b6bb842d
ColorManager is now specific to the Project
...
OCIO config was set on a per-project basis, but we were using a singleton for
the ColorManager that would break if more than one project was ever open.
Now the ColorManager belongs to the Project and is always accessed through the
Project.
2019-12-17 15:18:07 +11:00
itsmattkc
1d5d7bcc24
use alias namespace instead of direct ocio namespace in colormanager
...
Minor code improvement
2019-11-24 02:06:59 +09:00
itsmattkc
45bfad2b20
setting ocio config specific to project
2019-09-30 05:40:14 +10:00
itsmattkc
d2dc0d2823
work on internal color management
2019-09-28 01:38:15 +10:00