Author Topic: Need a simple chase function  (Read 1512 times)

Offline Avind

  • Newbie
  • *
  • Posts: 14
    • View Profile
Need a simple chase function
« on: December 23, 2021, 11:35:36 AM »
I have been trying to find a method of starting an effect with 5 red, 2 black, 5 green and 2 black that would begin at pixel 1 and advance to pixel 100.  The model is one of the boscoyo animated bells.  I have included a picture to demonstrate what I am trying to do.  If I was trying to do this on an arch or a straight line, the chase function would work.  However, when applied to different types of models the "left to right" "right to left" modes do not work.  It literally does the entire model from one side to the other.  Using the single strand Render Style does not work either. 

Would it be possible to add a function to the Chase effect which indicates which pixel to start at and which one to end at as well as specific nodes to skip?  This would accomplish what I am trying to do and would hopefully not require a great deal of modification to the program.

Even if this effect could be accomplished without the function of skipping nodes this would be very helpful.

Offline allknowing2012

  • Sr. Member
  • ****
  • Posts: 386
    • View Profile
Re: Need a simple chase function
« Reply #1 on: December 23, 2021, 01:46:52 PM »
Just thinking out loud here .. but what about a submodel where you list all the pixels in order that you want them to fire and then place your chase on that submodel?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Need a simple chase function
« Reply #2 on: December 23, 2021, 04:19:01 PM »
Single Line Render Buffer is the key.  It sounds like you said that didn't work but it does I just tried it.  Maybe it was the effect settings.  I chose to use Marquee because its easy to set those band sizes.  Just drop a default Marquee and set skip size to 2 and choose the 2 colors you want.

Offline Avind

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Need a simple chase function
« Reply #3 on: February 08, 2022, 01:40:54 PM »
Marque causes the entire model to light up at the start of the effect.  What I am trying to do is to have the colors start at one point and then advance through the model.  So at the start, most of the model would be black.  At the midpoint, half the model would be black while the other half would be showing the chase pattern.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Need a simple chase function
« Reply #4 on: February 08, 2022, 06:02:14 PM »
Well you don't need to use Marquee use Single Strand Chase like you wanted.  It works if you change the Render Buffer to "Single Line".  I just tried it.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Need a simple chase function
« Reply #5 on: February 08, 2022, 06:03:55 PM »
And if you don't like the order of where its starting then you can create a submodes and define a line of pixels in any order you want.

Offline Avind

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Need a simple chase function
« Reply #6 on: February 17, 2022, 11:27:54 AM »
Thank you very much!  The single line Render Style made it happen!  I really appreciate your help with this.