Skip to content

Commit

Permalink
handle missing channels in fixture definition
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanCrotaz committed Aug 18, 2020
1 parent 5a7281d commit 11f2068
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 148 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,18 @@ Handles the following DMX channels (coarse only for now)

# Pan, Tilt and fixture modelling

If fixtures are visible in the scene, you may wish to model the body of the fixture. Typically it would have a panning section, containing a tilting section with the lamp in it. If you parent the objects in this chain, you can select the parent or grandparent to be animated with pan and tilt.
If fixtures are visible in the scene, you may wish to model the body of the
fixture. Typically it would have a panning section, containing a tilting
section with the lamp in it. If you parent the objects in this chain, you can
select the parent or grandparent to be animated with pan and tilt.

To use this method, select the light in Blender and select the Pan Target and Tilt Target. Select which axis of the light, its parent, or its grandparent to affect. You can also choose _none_, for example if the fixture has panning but no tilt motor.
To use this method, select the light in Blender and select the Pan Target
and Tilt Target. Select which axis of the light, its parent, or its
grandparent to affect. You can also choose _Ignore_, for example if the
fixture has panning but no tilt motor.

Pan and tilt affect the delta rotation, so you can use the rotation transform to set the centre position of your fixture models.
Pan and tilt affect the rotation transform, so you can use the delta rotation
transform to set the centre position of your fixture models.

# Future ideas

Expand Down Expand Up @@ -109,12 +116,14 @@ Gobos can be handled by [https://www.youtube.com/watch?v=Af-yLsRpF7I]
Please submit a PR if you have an improvement.

# Funding
I'm not a professional lighting designer - this came out of a hobby project to control lighting for an event I worked on for a friend. So I have no personal value gained by working on improving it (unlike other open source software I work on), although it is rather fun. If lighting professionals see a value in this plugin I would be happy to be funded to work on it via Patreon.
I'm not a professional lighting designer - this came out of a hobby project to control
lighting for an event I worked on for a friend. So I have no personal value gained by
working on improving it (unlike other open source software I work on), although it is
rather fun. If lighting professionals see a value in this plugin I would be happy to be
funded to work on it.

Alternatively, I would be very happy to accept high quality PRs to improve the plugin.

# Funders

Many thanks to the below companies and individuals who have funded me to work on this addon.

* Skeldon Società Cooperativa, Italy
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,6 @@ def _light_data_change(data, context):
# apply the DMX data to get it up to date
universes = GLOBAL_DATA["UniverseStore"]
if old_universe is not None:
universes.notify_universe_change(old_universe)
universes.notify_universe_change(old_universe, range(0, 511))
if data.artnet_enabled:
universes.notify_universe_change(data.artnet_universe)
universes.notify_universe_change(data.artnet_universe, range(0, 511))
Loading

0 comments on commit 11f2068

Please sign in to comment.