Author Topic: Rotating effect on a spinner  (Read 3214 times)

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Rotating effect on a spinner
« on: May 28, 2015, 04:24:58 AM »
Hello ,

I have two spinners in my display, each consisting of 8 arms or spokes radiating from  the centre.

I have defined each as a vertical matrix with 
- actual # of strings 8
- # of nodes per string 5
- # of strands per string 1

I wish to have an effect where each alternate  spoke is a diff colour (eg blue, white , blue , white, blue white, etc) and than the arms of the spokes appear to rotate .
is there an easy way to do this ? 
(Or any similar effect - jut want to see it rotate)

Gerry

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Rotating effect on a spinner
« Reply #1 on: May 28, 2015, 04:39:56 AM »
This may help
Think of the spinner as a 360  tree that you are looking at it from above. The setup would probably look like how you set up the vertical matrix.   To get the spinning effect just apply a spiral to the 'tree'.

The problem would be in the preview display.  We can't rotate the models in 3-dimensions. So you can't "flatten out" the tree model.

If you use a custom model, it will act like a vertical matrix when you apply an effect like curtain etc.  there is custom model video you can check out that discusses this limitation.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Rotating effect on a spinner
« Reply #2 on: May 28, 2015, 08:20:02 AM »
That should be pretty easy because to make something rotate should be the same as left to right column movement on a matrix.  The bars effect would work moving horizontally if you can get the palette rotation down to one column.   I could show you how to do some cool things with the Morph on that model.  If its in the files you sent me I'll take a look and create a sequence with a few example effects.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Rotating effect on a spinner
« Reply #3 on: May 28, 2015, 06:42:02 PM »
Thank you !

Yes the files I sent should be okay , because I copied the current configs...
I will also try the bars.
 
Gerry

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Rotating effect on a spinner
« Reply #4 on: May 28, 2015, 06:50:30 PM »
Ok here's a few that might look good on your spinner.  It's one of those models where it might help to have 2 ways to lay effects onto it.  One as a matrix like you have it and the other as a custom model.  Some effects will work better using one model vs the other.  Like the custom model would work well for the Fan effect.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Rotating effect on a spinner
« Reply #5 on: May 29, 2015, 05:16:37 AM »
Thanks very much Gil !

I watched your fan video again, created a custom spinner and tried the fan effect.
Have posted a long description under the other thread , but was I correct in attempting to define the spinner twice eg
Spinner 1 (as a vert matrix)
Spinner 1 custom ( as a custom model)
and using the same start and end channels on both.

I thought that if I did this , then I could carefully chose which type of effect to use (on each definition) at different times.

« Last Edit: May 29, 2015, 05:23:26 AM by gerry »
Gerry

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Rotating effect on a spinner
« Reply #6 on: May 29, 2015, 07:34:33 AM »
Yep that's how I suggested.  It should work fine.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: Rotating effect on a spinner
« Reply #7 on: May 30, 2015, 05:15:00 PM »
Hello Gil,

The effects look very nice. I have a couple of questions:
- Should these be done on the spinner defined as a vert matrix or defined as custom with 8 spokes ?

- For some of the effects, under the Layer timing -->Blending , the option selected is '1 reveals 2' .
Where in xlights 4 are the two effects defined ? (in xlights 3.6 I could see them as effect 1 and effect 2).


Gerry

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Rotating effect on a spinner
« Reply #8 on: May 30, 2015, 06:08:15 PM »
In xLights 4 "1 Reveals 2" really means "Black is Transparent".  Any pixels that are all black will show all the layers beneath.

I didn't have a custom model for your spinner so I put them all on the matrix.