Home | News | Products | Support | Download | Sales | library | Guests | Contact | WebCam | Links
CDS Logo LanBox-Talk mail archive
 

By date: Prev | Next | Index By thread: Prev | Next | Index

SubjectRe: [LCtalk] Layers
FromTodd Lipcon
DateSun, 18 Jan 2004 01:55:39 +0100


On Sat, 17 Jan 2004, Ian Cattell wrote:
Can you combine scenes in the same layer that don't overlap? What happens if you then play another scene in the same layer that does overlap (I seem do be getting different results all the time)? I can't seem to find in the manual how to clear an engine or layer.

If the scenes don't overlap (i.e. there is no data for a given channel, which is different than a value of 0 for that channel) then only the channels with new information will replace. The others will remain as they were to begin with. For example:


1.1: Ch1@255 Ch2@40
1.2: Ch1@0 Ch3@80
1.3: Ch2@0

After playing 1.1 and 1.2, the values will be: Ch1@0 Ch2@40 Ch3@80 (Ch2 won't change since there is no info for it in scene 1.2)

After then playing 1.3, Ch2 will be reset to 0 and the values will be 0, 0, 80.

In order to clear a channel from the layer (so it doesn't Copy over other layers for example) you need to turn off its "Enable" bit. This is done with the ChannelSetOutputEnable command (0xCA) The syntax is:

In 8-bit mode:
*CAeeChEnChEnChEn...#
where CA is a literal "CA", "ee" is the engine/layer ID, and each "Ch" is a channel number. "En" should be 01 to enable or 00 to disable.


In 16-bit mode, it is the same except each "Ch" is replaced by a 2-byte "ChCh" to specify the channel number. This is the mode that an LCX will run in if asked to by the command *6501#. I don't believe an LC+ can run in this mode even with the newest firmware.

For the engine number, you can use "00" to mean the "current engine", or use 01-3F to refer to a layer by its user-defined ID.


I have many smaller issues, but I'll address them later. I have to solve these issues so I can run a couple of upcoming shows. However, I'm open to taking a totally different tack if someone has any suggestions.

You might want to think about using a separate layer for each factor of the "look". For example, use one layer for positioning, one for beam effects, and one for color. Set them all in "Copy" mode, turn off the "Autoenable" flag on the layers, and only enable those channels which correspond to the given layer. Then load each piece of information into the correct layer, and if you want to go "all clear" it's easy to set every channel of an individual layer to 0. With "autoenable" mode off, this should only affect the attributes you are looking to knockout.


Hope this helps, and I hope my hex magic is working for me today. Someone from CDS, please correct me if I've mucked something up in there :)

-Todd

--
Lead Developer/Sysadmin	- http://GoldBarter.com/ Now open for business
Public Key/Info		- http://toad.mercea.net


By date: Prev | Next | Index By thread: Prev | Next | Index