Comments (6)
The FreeFrame 1.5 spec defines an alpha parameter type:
value = 11
type = alpha
Transparency value esp. for use in a 3 colour colourpicker + alpha
That value appears in the FFGL trunk header, but not in the FFGL 1.6 branch header.
(Also there's a conflict between that and FF_TYPE_OPTION = 11
defined in Resolume's fork.)
from ffgl.
I think I may have previously tried using FF_TYPE_ALPHA, which didn't work, but my memory is hazy!
In any case, using type = 11 doesn't work.
from ffgl.
In any case, using type = 11 doesn't work.
Same here; in Resolume Avenue and Arena, type=11
doesn't show any widget. Some other hosts (such as VDMX and MMV) show a standard float widget for type=11
.
from ffgl.
As far as I can see, there is no other mention of type=11 being reserved for Option type before we published our fork to Github. Judging by 56b3fa2, it wasn't properly implemented either until we pushed the FFGL2.0 spec. This makes chances of anyone using it right now pretty slim.
All in all, it sounds like we should keep type=11 reserved for Alpha (to not break compatibility with VDMX and Magic), and change the type reserved for Option.
Once we make that change, we can then make Resolume take type=11 as the fourth parameter of
a color picker widget.
from ffgl.
I would argue that we should keep 11 as option. Color picker based support for alpha should then use type 203 as suggested by spxl.
We've already broken vdmx/magic compatibility by changing the init function. They already need to update their hosts to the new ffgl headers, so then a change in the number associated with the param types will be adopted right away.
If we change 11 back to alpha and use 13 as option then everyone who has already updated their plugin to ffgl 2.1 would need to recompile and we may get a version mismatch between those plugins and resolumes beta build that supports ffgl 2.1
from ffgl.
It seems like this may have been an issue on the host side. I've updated the Gradient example and tested with Resolume 7.3.0 and there it works as intended.
from ffgl.
Related Issues (20)
- FFGL plugin is not recognized on another computer HOT 6
- FFGL Testbed - Can't paste into Text parameter HOT 1
- more than 2 samplers makes crash HOT 2
- Fbo plugin crash when play and select the same clip with different dimensions HOT 7
- Does ffgl support WebGL 2 features? HOT 4
- Simpler multi buffer FFGL Example HOT 2
- FF_TYPE_FILE Usage HOT 1
- Where is the list of available uniforms HOT 1
- ffglex::FFGLShader doesn't cache uniform locations
- "_brightness" misspelled in Plugin::AddHueColorParam
- Why does ```Audio::GetVolumeFromTo( int fromFreq, int toFreq )``` return ```0.0```?
- Bloom Example No Longer Compiles HOT 1
- Debug and breakpoint on xcode HOT 2
- AddSubtract example debug binary crashes on Mac HOT 2
- Incorrect `hostTime` for first render iteration HOT 1
- Build with CMake HOT 3
- Compile for linux
- Documentation for Codesigning
- Any example provided and other projects crash in DEBUG on mac
- resolume arena can't see my dll source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffgl.