8 Commits
Author SHA1 Message Date
cfc206886d Adsk Contrib - Fix grading inversion (#1245)
* Fix grading op inversion

Signed-off-by: Doug Walker <Doug.Walker@autodesk.com>

* Fix dyn prop equality

Signed-off-by: Doug Walker <Doug.Walker@autodesk.com>

* RGB curve inverse

Signed-off-by: Doug Walker <Doug.Walker@autodesk.com>

* Add curve slopes

Signed-off-by: Doug Walker <Doug.Walker@autodesk.com>

* Add serialization test

Signed-off-by: Doug Walker <Doug.Walker@autodesk.com>

* Add frozen python docs

Signed-off-by: Doug Walker <Doug.Walker@autodesk.com>

* Adjust tests after merge from master (v2 is using from_scene_reference instead of from_reference)

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
Co-authored-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
Co-authored-by: Bernard Lefebvre <37628108+BernardLefebvre@users.noreply.github.com>
2021-01-06 12:31:58 -05:00
Bernard LefebvreandPatrick Hodoul 50e4daf6b1 Adsk Contrib - Improve FileTransform interpolation (#1157)
* FileTransform interpolation

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix typo and add missing stream reset

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Dummy commit to trigger Easy CLA

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
2020-10-15 15:03:43 -04:00
Bernard LefebvreandPatrick Hodoul f82a098997 Adsk Contrib: Grading ops related improvements. (#1133)
* Grading ops related improvements.

Improve uniforms implementation and usage.
- Use vector (instead of array) for variable size containers name.
- Introduce Float3.
- Replace int2 container by int vector.
- Reuse the Uniform structure in the glsl implementation.

Precompute grading primary values to simplify to simplify renderers.

Fix GradingRGBCurveOpGPU uniform declaration for offsets and adjust to VectorInt.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix merge issue

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix alignement

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
2020-09-28 13:45:30 -04:00
Patrick Hodoul a8dcfa09a1 Adsk Contrib - Add the support for processor caches (#1130)
* Adsk Contrib - Add processor caches and improve the context variable support

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix merge issues with the Grading pull request

Signed-off-by: Patrick Hodoul <patrick.hodoul@autodesk.com>

* Follow up on conflicting merges

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Some changes following the code review

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
2020-09-22 11:54:13 -04:00
Bernard LefebvreandPatrick Hodoul d683c09c9b Adsk Contrib - Add grading ops (#1102)
* Add grading ops

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fixing build issues

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Build issue (forgot these)

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Python test syntax

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Adjust error for a non SSE test failure on linux

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix build break after merge (validate instead of sanaityCheck)

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Revert find module patch

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Instead of trying to revert the commit before the merge, use master version of the files.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* When style of GradingTone is changed, values are reset to defaults, but precomputed values might not be updated until the values are modified.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Uniforms for offsets for grading curves are declared with the right size, but the getSize was wrong with the risk of not updating some offset values.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
2020-09-08 15:40:46 -04:00
Patrick Hodoul d5230e6096 Adsk Contrib - Add arguments to unit test binaries (#944)
* Adsk Contrib - Add arguments to unit test binaries

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix Clang build break

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix merge breaks

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix merge breaks

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
2020-03-20 12:27:21 -04:00
luzpaz c7b19a0b12 Fix various typos (#900)
* Typos found via `codespell -q 3 -S ./vendor`

Signed-off-by: luz paz <luzpaz@users.noreply.github.com>

* Fix typos in tests/

Signed-off-by: luz paz <luzpaz@users.noreply.github.com>

* Revert some corrections from previous commit

Signed-off-by: luz paz <luzpaz@users.noreply.github.com>

* Fix follow-up typos

Signed-off-by: luz paz <luzpaz@users.noreply.github.com>
2019-12-08 22:50:59 -05:00
Bernard Lefebvre 5c5135f54e Adsk Contrib - Namespace and code formating (#892)
* Namespace and code formating

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix include case.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix member from anonymous namespace errors.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Other file case issues.
Move enum in class instead of using namespace.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
2019-11-28 13:03:16 -05:00