Does anyone know of a way to use XY pad to control the RGB colors when using a slider with RGB selected in widget properties?
By the way...Im running QLC+ 4.9.1 on OS X 10.10 if that helps
RGB slider with XY pad color select?
- mumbles
- Posts: 113
- Joined: Thu Jul 16, 2015 4:39 am
- Location: Central USA
- Real Name: Justin
- mcallegari
- Posts: 4827
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
XY pads are there to control XY positions, not colors. Basically it's a widget dedicated to moving heads.
At the moment to control colors you have Sliders+Click&Go or the Animation widget
At the moment to control colors you have Sliders+Click&Go or the Animation widget
- mumbles
- Posts: 113
- Joined: Thu Jul 16, 2015 4:39 am
- Location: Central USA
- Real Name: Justin
Id like to be able to use an XY pad to select a color without the need to click on the box of an RGB slider and selecting color from color pallet. The pic attached may help show a little better representation of what I'm trying to accomplish than the ones before.
OSX 10.10.5 QLC+ 4.9.1
Surface Pro4 Windows 10
Raspberry Pi B OLA 0.95
Raspberry Pi 2B QLC+
Swisson XMt-350
Chauvet RDM2Go
Enttec Pro Mk2
ultraDMX Micro
FTDI USB-RS485-WE-1800-BT XLR
Korg nanoKONTROL2
Korg nanoPAD2
Surface Pro4 Windows 10
Raspberry Pi B OLA 0.95
Raspberry Pi 2B QLC+
Swisson XMt-350
Chauvet RDM2Go
Enttec Pro Mk2
ultraDMX Micro
FTDI USB-RS485-WE-1800-BT XLR
Korg nanoKONTROL2
Korg nanoPAD2
- mumbles
- Posts: 113
- Joined: Thu Jul 16, 2015 4:39 am
- Location: Central USA
- Real Name: Justin
Maybe a better question would be.. Could someone explain the algorithm that the color pallet uses? So I could patch standard sliders with limits or create a custom fixture profile using loopback patched to standard sliders to make this work. I under stand its not the norm for XY Pad. But I feel I could get this to work the way I want if I understood the algurethum used in color pallet when changing/ selecting colors.
any advice or links about the color algorithm would be appreciated.
thanks
any advice or links about the color algorithm would be appreciated.
thanks
OSX 10.10.5 QLC+ 4.9.1
Surface Pro4 Windows 10
Raspberry Pi B OLA 0.95
Raspberry Pi 2B QLC+
Swisson XMt-350
Chauvet RDM2Go
Enttec Pro Mk2
ultraDMX Micro
FTDI USB-RS485-WE-1800-BT XLR
Korg nanoKONTROL2
Korg nanoPAD2
Surface Pro4 Windows 10
Raspberry Pi B OLA 0.95
Raspberry Pi 2B QLC+
Swisson XMt-350
Chauvet RDM2Go
Enttec Pro Mk2
ultraDMX Micro
FTDI USB-RS485-WE-1800-BT XLR
Korg nanoKONTROL2
Korg nanoPAD2
- mcallegari
- Posts: 4827
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
This is the palette generation code:
https://github.com/mcallegari/qlcplus/b ... nt.cpp#L60
I still don't understand what you want to do, except for saving just one mouse click.
https://github.com/mcallegari/qlcplus/b ... nt.cpp#L60
I still don't understand what you want to do, except for saving just one mouse click.
-
- Posts: 1331
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
Simply stated: in the graph: x = Hue, y = Lightness, with full saturation. See https://en.wikipedia.org/wiki/HSL_and_HSV
I guess what mumbles wants is to control hue with one slider and lightness with another.
Note to Massimo: maybe the code in question may be simplified using http://doc.qt.io/qt-4.8/qcolor.html#fromHsl
I guess what mumbles wants is to control hue with one slider and lightness with another.
Note to Massimo: maybe the code in question may be simplified using http://doc.qt.io/qt-4.8/qcolor.html#fromHsl
- mcallegari
- Posts: 4827
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
plugz wrote:With this, colors could be configured with 2 physical sliders.
Ok, but sliders controlled with an external controller are not discrete, so to go from let's say yellow to blue you have to go through green and cyan first.janosvitok wrote:Simply stated: in the graph: x = Hue, y = Lightness, with full saturation. See https://en.wikipedia.org/wiki/HSL_and_HSV
I guess what mumbles wants is to control hue with one slider and lightness with another.
I doubt this is useful during a live performance as all the intermediate colors will be shown to the audience.
Click & Go, on the other hand is discrete, if you use a mouse.
Similarly, he can use 3 sliders in level mode, but still they're not discrete. Plus you have to remember how to mix a RGB color with 3 componentsplugz wrote:Have you had a look at the animation widget ? You can have R/G/B knobs in it.
I guess that's what a QLinearGradient does.janosvitok wrote:Note to Massimo: maybe the code in question may be simplified using http://doc.qt.io/qt-4.8/qcolor.html#fromHsl
I already simplified the code after I implemented it in Javascript, with the Canvas element:
https://github.com/mcallegari/qlcplus/b ... ll.qml#L72
For now I prefer to keep the gradient calls, so both the code look very similar (and also the JS code can be finally ported to the web interface)
- mumbles
- Posts: 113
- Joined: Thu Jul 16, 2015 4:39 am
- Location: Central USA
- Real Name: Justin
Thanks everyone!
I appreciate the info.
Also Just to explain my use case a little. The reason Im determined to get this functioning is to create the most intuitive interface posable for the fallowing reasons..
1) It will allow mapping an inexpensive nanoPad's XY pad to change colors, trigger scenes and nanoKontrol for faders.
2) The interface has to be simple enough to use in an elementary school and allow children to design and run there on lighting shows. With supervision of course. But I want the students to have the ability to create, design and run as much of the show as posable on there own. Right now the school has all the fixtures they need but the lighting console is old and works intermittently.
3) I want them to be able get the benefits of software based lighting control without getting frustrated and loosing interest in trying to create new/more "advanced" scenes.
4) $0 budget to replace equipment.
use case 2 youth ministry same scenario as above different location, different people.
I appreciate the info.
Also Just to explain my use case a little. The reason Im determined to get this functioning is to create the most intuitive interface posable for the fallowing reasons..
1) It will allow mapping an inexpensive nanoPad's XY pad to change colors, trigger scenes and nanoKontrol for faders.
2) The interface has to be simple enough to use in an elementary school and allow children to design and run there on lighting shows. With supervision of course. But I want the students to have the ability to create, design and run as much of the show as posable on there own. Right now the school has all the fixtures they need but the lighting console is old and works intermittently.
3) I want them to be able get the benefits of software based lighting control without getting frustrated and loosing interest in trying to create new/more "advanced" scenes.
4) $0 budget to replace equipment.
use case 2 youth ministry same scenario as above different location, different people.
OSX 10.10.5 QLC+ 4.9.1
Surface Pro4 Windows 10
Raspberry Pi B OLA 0.95
Raspberry Pi 2B QLC+
Swisson XMt-350
Chauvet RDM2Go
Enttec Pro Mk2
ultraDMX Micro
FTDI USB-RS485-WE-1800-BT XLR
Korg nanoKONTROL2
Korg nanoPAD2
Surface Pro4 Windows 10
Raspberry Pi B OLA 0.95
Raspberry Pi 2B QLC+
Swisson XMt-350
Chauvet RDM2Go
Enttec Pro Mk2
ultraDMX Micro
FTDI USB-RS485-WE-1800-BT XLR
Korg nanoKONTROL2
Korg nanoPAD2