Sunday, December 18, 2016

28. Muti Display, Order and Value

A Multi Display module can display objects such as bars. In the default setting the number of Objects is 10. We set the Y range from the Properties to be 100 and Y origin is 0, and the X range from 0 to 10, that is, range is 10 and origin is 0.


There is a fader to select order number. From the Properties, set it from 1 to 10 with steps of 1.


The Order module will make sure its output 1 will go first. This will selected Idx (a particular object). Then at Order 2 output, which will be output afterwards we set the position of lower left corner and upper right corner of the rectangle object.


For each object, we will draw a filled rectangle from (Order-.5,0) to (Order,100). As the order module goes from 1 to 10, it will rectangles from those (x,y) positions.


The Value modules will trigger the constants 0 and 100, the y coordinates, whenever a new Object Number is selected.


The color of the rectangles has Red = 1, Green = 0, Blue = 1, Alpha =1.


This is the structure view:


This is the panel view:


No comments:

Post a Comment