-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fixture definition] add emitters layout parameters #1156
Comments
This definitely sounds good, as it will fix the pixel arrangement for many matrix heads!
What if the amount of specified heads is higher or lower than |
Leaving 1x1 and then definining let's say 6 heads, the latter will have precedence, as it is an explicit user setting. [EDIT] Even better, this could actually throw a warning of inconsistence. Mode heads lower than physical heads could follow these rules:
As usual. it is impossible to cover every single case, so with this I'm trying at least to get closer to reality. |
That sounds really nice to me! I guess this will be an addition to the |
Definitions are in common, so QLC+ 4/5. |
@mcallegari That's pretty cool! The preview actually shows the correct pixel amount, even if only one channel is specified 👍 I haven't noticed yet that you changed the spec to include width/head in the physical section, not in the heads section. This definitely makes sense! Is it allowed (or recommended) to reuse a channel in the heads section? For example to define an even/odd mode: <Mode Name="Even/Odd">
<Channel Number="0">Dimmer odd</Channel>
<Channel Number="1">Dimmer even</Channel>
<Head>
<Channel>0</Channel>
</Head>
<Head>
<Channel>1</Channel>
</Head>
<Head>
<Channel>0</Channel>
</Head>
<Head>
<Channel>1</Channel>
</Head>
</Mode>
<Physical>
<!-- ... -->
<Layout Width="4" Height="1"/>
</Physical> |
One more thing is needed in fixture definitions to help out the previews and avoid guessing.
As mentioned here, the 2D preview tries to understand the heads layout by doing some spatial calculations.
However, this mechanism fails on several cases.
Moreover, there are 2 other cases not considered at all at the moment:
Example 3 DMX channels: intensity, shutter, color macro --> 8 physical emitters.
The proposal is to add 2 new fields to physical properties to indicate the emitter matrix Width x Height.
In XML could be something like this in the
Physical
section:<Layout Width="8" Height="1" />
The default will be 1x1 and if not changed, it won't even be saved in XML. This is to avoid changing all the current definitions and avoid to waste space.
@fxedel @FloEdelmann sounds good ?
The text was updated successfully, but these errors were encountered: