Adding new wave video effect, which can be animated in a ton of ways to create lots of cool wave distortion effects.

This commit is contained in:
Jonathan Thomas
2018-02-08 03:51:32 -06:00
parent 181a8b42d8
commit c159fde729
6 changed files with 308 additions and 0 deletions

View File

@@ -67,6 +67,9 @@ EffectBase* EffectInfo::CreateEffect(string effect_type) {
else if (effect_type == "Shift")
return new Shift();
else if (effect_type == "Wave")
return new Wave();
}
// Generate Json::JsonValue for this object
@@ -85,6 +88,7 @@ Json::Value EffectInfo::JsonValue() {
root.append(Negate().JsonInfo());
root.append(Saturation().JsonInfo());
root.append(Shift().JsonInfo());
root.append(Wave().JsonInfo());
// return JsonValue
return root;