qlcplus icon indicating copy to clipboard operation
qlcplus copied to clipboard

Function Wizard: create Effects

Open 8-Lambda-8 opened this issue 10 months ago • 15 comments
trafficstars

Hi, I added the possibility to create Effects with the Function Wizard What types of effects arc creates is determined by the fixture capabilities (Dimmer, RGB, Position). for each type a normal and a staggered version (start offset spread equally) will be created.

image image image

8-Lambda-8 avatar Dec 28 '24 21:12 8-Lambda-8

Hi, this doesn't build. Can you please fix it?

mcallegari avatar Jan 04 '25 12:01 mcallegari

Coverage Status

coverage: 31.812% (-0.06%) from 31.872% when pulling 22b91406da3087baa67172a48fcd5ee424eb53a5 on 8-Lambda-8:effectsInWizard into 7fd06c76dd66b677673c1c1bec0b39e1cba6457f on mcallegari:master.

coveralls avatar Jan 04 '25 16:01 coveralls

i fixed it

i did not see that EFXFixture has a modeToString function

i removed the line and used this function instead

8-Lambda-8 avatar Jan 04 '25 16:01 8-Lambda-8

Hey guys I've had a think about this.

Eventually I'd like to expand the EFX movement effect list. I think these should be separated in the wizard.

My suggestion would be:

  • Primary Colors
  • 16 Colors
  • Animations
  • EFX
    • Position
      • Line
      • Circle
      • etc.
    • RGB

Is there a better way for us to feed settings into the position effects like "Staggered", Split Reverse", "Asymmetrical" etc.?

yestalgia avatar Mar 18 '25 01:03 yestalgia

Hi, Yes, i will add the Modes (Pos, RGB, int) as sub items in the tree, but im not sure about the patterns. I think the list will get too long. And in my opinion you rarely want to create all of them, so you have to select/deselect to get your liked outcome. For me it would be enough to just create one and then manually duplicate and change the pattern. I see the real timesaver of this feature in generating the mode/offset/reverse settings.

For the offset/reverse settings, i could add columns with checkboxes (like odd/even)(i also have to implement odd/even) What exactly do you mean with "Split Reverse" and "Asymetrical"? so i can add them as options

8-Lambda-8 avatar Mar 19 '25 13:03 8-Lambda-8

Hi, i added the mode sub items and the checkbox columns (not implemented the generation yet)

now it looks like this, what do you think? image

8-Lambda-8 avatar Mar 20 '25 18:03 8-Lambda-8

Mate we should be calling you the wizard! This is fantastic stuff!

What exactly do you mean with "Split Reverse" and "Asymetrical"? so i can add them as options

I'm referring to the fixture order setting in the EFX: image

No stress if this is too complex.

im not sure about the patterns. I think the list will get too long.

Personally, I would find the patterns extremely helpful, but I understand the concern. Perhaps this would need to form part of a separate step.

yestalgia avatar Mar 21 '25 08:03 yestalgia

I'm referring to the fixture order setting in the EFX:

oh, i totally forgot that those exist, shouldn't be a problem to implement this. and i realized that my "staggered" does the same as "Serial", so i will remove it.

also i noticed the "Serial" and "Asymmetric" are not displayed in the movement preview (all points are on the same spot), i will try to fix this and create a separate PR for that.

Personally, I would find the patterns extremely helpful, but I understand the concern. Perhaps this would need to form part of a separate step.

okay, i'll try to do that

8-Lambda-8 avatar Mar 24 '25 14:03 8-Lambda-8

What is the status on this pr?

finnie2006 avatar Apr 24 '25 20:04 finnie2006

Hi, i still have to think about how i can add a selection of the patterns and fix some stuff on the VC Widget creation page and fix the tests :)

8-Lambda-8 avatar Apr 25 '25 08:04 8-Lambda-8

Hi, i now have added the patterns like @yestalgia suggested. They are collapsed by default, so that the list is not too long. It is not that bad as i first thought it would be :)

image

8-Lambda-8 avatar Apr 25 '25 22:04 8-Lambda-8

Well.... That's incredible work! I'll be doing some testing especially with multi-head fixtures next week.

yestalgia avatar Apr 26 '25 00:04 yestalgia

image I also builded your fork, going to test it with my movingheads

finnie2006 avatar Apr 27 '25 12:04 finnie2006

Please rebase with master and fix the code style to conform with the rest of the project (one above all: parenthesis on new line) Thanks

mcallegari avatar May 24 '25 14:05 mcallegari

i think the parts of the code that i touched conform with the code style. Did i miss anything?

8-Lambda-8 avatar Jun 12 '25 19:06 8-Lambda-8