Jump to content
Light-O-Rama Forums

Scaling intensity for a channel in LOR2 Sequence Editor?


dnewman

Recommended Posts

In the LOR 2 Sequence Editor, is there any easy way to rescale the
intensity setting for a channel? For example, if I'm stuck with having
to run a relatively brighter bulb on a single channel I can compensate
by changing the intensity range from 0-100% to, say, 0-50%.
That is, apply a foreground effect which basically multiplies every
intensity by 0.5.

And yes, I can come up with physical solutions to the issue. I'm
inquiring here to see if there's some simple software method of
doing this in the LOR 2 Sequence Editor which I've not discovered.

Thanks,
Dan

Link to comment
Share on other sites

dnewman wrote:

In the LOR 2 Sequence Editor, is there any easy way to rescale the
intensity setting for a channel? For example, if I'm stuck with having
to run a relatively brighter bulb on a single channel I can compensate
by changing the intensity range from 0-100% to, say, 0-50%.
That is, apply a foreground effect which basically multiplies every
intensity by 0.5.

And yes, I can come up with physical solutions to the issue. I'm
inquiring here to see if there's some simple software method of
doing this in the LOR 2 Sequence Editor which I've not discovered.

Thanks,
Dan


I don't think there's a way currently -- but I'd love that to be a parameter in the channel config (along with the "don't dim" setting I recently mentioned in another thread).

-Tim
Link to comment
Share on other sites

FWIW, the way I'm currently doing this is with an XSLT. Mumbo Jumbo?

As of LOR 2, sequence files are stored as XML documents. Consequently, it's
relatively easy to tweak a sequence file using commonly available XML
tools. XSLT is a (functional programming) language for transforming
XML documents. (An XSLT file is itself an XML document.) Using an
XSLT program and an XSLT processor, it's simple to do transformations on
LOR 2 sequence files.

I've attached to this message the XSLT I'm using. I've tested it with both
Xalan and Saxon and LOR 2 seems happy to consume the results.

Dan

P.S. I had to rename the file from scale.xsl to scale.txt so as to appease
the forum software.

Attached files scale.txt

Link to comment
Share on other sites

Modifying the XML yourself via XSLT is a good workaround. But, as always, I just want to give this warning:

If you are not absolutely certain that you know exactly what you're doing, you might want to avoid modifying the XML yourself. It is pretty easy to make a small mistake which will render the file incomprehensible to LOR.

And if you do decide to modify the XML yourself, please always, always back the file up before you do so.

Link to comment
Share on other sites

bob wrote:

Modifying the XML yourself via XSLT is a good workaround. But, as always, I just want to give this warning:

If you are not absolutely certain that you know exactly what you're doing, you might want to avoid modifying the XML yourself. It is pretty easy to make a small mistake which will render the file incomprehensible to LOR.

And if you do decide to modify the XML yourself, please always, always back the file up before you do so.


Then can we have the above feature, please? :D

(I know, I know, we want everything... :D)

-Tim
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...