<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.lightstream.pro/index.php?action=history&amp;feed=atom&amp;title=Exporting_Mask</id>
	<title>Exporting Mask - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.lightstream.pro/index.php?action=history&amp;feed=atom&amp;title=Exporting_Mask"/>
	<link rel="alternate" type="text/html" href="http://en.lightstream.pro/index.php?title=Exporting_Mask&amp;action=history"/>
	<updated>2026-09-04T10:02:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>http://en.lightstream.pro/index.php?title=Exporting_Mask&amp;diff=374&amp;oldid=prev</id>
		<title>LumiBot: Перевод с русской вики (задача №1097, LS Dev Hub)</title>
		<link rel="alternate" type="text/html" href="http://en.lightstream.pro/index.php?title=Exporting_Mask&amp;diff=374&amp;oldid=prev"/>
		<updated>2026-09-03T15:58:21Z</updated>

		<summary type="html">&lt;p&gt;Перевод с русской вики (задача №1097, LS Dev Hub)&lt;/p&gt;
&lt;a href=&quot;http://en.lightstream.pro/index.php?title=Exporting_Mask&amp;amp;diff=374&amp;amp;oldid=316&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>LumiBot</name></author>
	</entry>
	<entry>
		<id>http://en.lightstream.pro/index.php?title=Exporting_Mask&amp;diff=316&amp;oldid=prev</id>
		<title>LumiBot: Перевод с русской вики (задача №954, LS Dev Hub)</title>
		<link rel="alternate" type="text/html" href="http://en.lightstream.pro/index.php?title=Exporting_Mask&amp;diff=316&amp;oldid=prev"/>
		<updated>2026-09-02T18:32:45Z</updated>

		<summary type="html">&lt;p&gt;Перевод с русской вики (задача №954, LS Dev Hub)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[ru:Экспортирование маски]] [[en:Exporting Mask]]&lt;br /&gt;
A fixture mask is an image where the positions of all fixtures and splines of the project are marked in white — exactly as they are arranged in the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; window — while everything else remains transparent. Light Stream can save such a mask to a &amp;lt;code&amp;gt;*.png&amp;lt;/code&amp;gt; file so it can be used in other programs.&lt;br /&gt;
&lt;br /&gt;
== What the mask is for ==&lt;br /&gt;
&lt;br /&gt;
The mask is a pixel &amp;quot;map&amp;quot; of your object. It is most often used as follows:&lt;br /&gt;
&lt;br /&gt;
* as a base for preparing content in a third-party editor (After Effects, Photoshop, Resolume, etc.): video or an image drawn over the mask will land exactly on the real fixtures;&lt;br /&gt;
* as a stencil: finished video is cropped by the mask, so light remains only where fixtures are actually installed;&lt;br /&gt;
* as a layout diagram for an artist or contractor who doesn&amp;#039;t have Light Stream or the project;&lt;br /&gt;
* to check the layout itself — the mask clearly shows gaps, extra pixels, and uneven lines.&lt;br /&gt;
&lt;br /&gt;
By default the mask size matches the size of the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; field, so one mask pixel corresponds to one project pixel, and you won&amp;#039;t need to align content with fixtures manually.&lt;br /&gt;
&lt;br /&gt;
== How to open the window ==&lt;br /&gt;
&lt;br /&gt;
# In the main menu, select &amp;#039;&amp;#039;View – Export Mask&amp;#039;&amp;#039;.&lt;br /&gt;
# The &amp;#039;&amp;#039;&amp;#039;Export Fixture Mask&amp;#039;&amp;#039;&amp;#039; window opens. On the left are the save buttons and parameters, on the right is a preview of the future file.&lt;br /&gt;
# The preview updates immediately whenever any parameter changes, so you can see the result before saving.&lt;br /&gt;
&lt;br /&gt;
The mask is drawn in pure white on a transparent background. In the preview, transparency is shown as a gray &amp;quot;checkerboard&amp;quot;: anything that looks like the checkered background will be transparent in the saved file.&lt;br /&gt;
&lt;br /&gt;
== What goes into the mask ==&lt;br /&gt;
&lt;br /&gt;
* All fixtures and splines of the project, regardless of selection and of which composition is open. The mask describes the fixture layout, not the animation, so effects, layouts, the background image, and the grid are not included.&lt;br /&gt;
* Fixtures with visibility disabled are not included in the mask. Nor are fixtures located in a port or converter with visibility disabled. This is a convenient way to export a mask for only part of the object: disable visibility for the unneeded fixtures, ports, or converters in the &amp;#039;&amp;#039;&amp;#039;Fixtures&amp;#039;&amp;#039;&amp;#039; window and export the mask.&lt;br /&gt;
* Fixtures placed outside the boundaries of the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; field are not included in the image — it is limited to the project size.&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;Fixtures&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Splines&amp;#039;&amp;#039;&amp;#039; checkboxes let you choose what exactly to draw: only individual fixtures, only splines, or both.&lt;br /&gt;
&lt;br /&gt;
== Window parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Fixtures&amp;#039;&amp;#039;&amp;#039; || Draw individual fixtures in the mask. Enabled by default&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Splines&amp;#039;&amp;#039;&amp;#039; || Draw splines in the mask. Enabled by default&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Fixture Size&amp;#039;&amp;#039;&amp;#039; || Size of the white dot for an individual fixture. Set in pixels of the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; field, default value 1. Fractional values are allowed&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Spline Size&amp;#039;&amp;#039;&amp;#039; || Thickness of the white line (dot size) for fixtures on splines, in pixels of the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; field. Default value 1&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Texture Width&amp;#039;&amp;#039;&amp;#039; || Width of the saved image in pixels. Equal to the width of the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; field by default&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Texture Height&amp;#039;&amp;#039;&amp;#039; || Height of the saved image in pixels. Equal to the height of the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; field by default&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;X2 Size&amp;#039;&amp;#039;&amp;#039; || Doubles the texture&amp;#039;s width and height. The button works as long as the result does not exceed 8192 pixels per side&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;1/2 Size&amp;#039;&amp;#039;&amp;#039; || Halves the texture&amp;#039;s width and height&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Reset&amp;#039;&amp;#039;&amp;#039; || Returns all parameters to their default values, and the texture size to the size of the current project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Below the size-change buttons, the current ratio of the texture to the project size is shown as &amp;#039;&amp;#039;1.00x / 1.00x&amp;#039;&amp;#039; — separately for width and height. A value of &amp;#039;&amp;#039;2.00x / 2.00x&amp;#039;&amp;#039; means the mask is exported at twice the size of the project. Make sure both numbers match: if they differ, the image will come out stretched, and content drawn against such a mask will not align with the fixtures.&lt;br /&gt;
&lt;br /&gt;
The specified parameters are remembered by the program and will be suggested the next time the window is opened.&lt;br /&gt;
&lt;br /&gt;
== Working with the preview ==&lt;br /&gt;
&lt;br /&gt;
The preview can be examined in detail without changing the file itself:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;mouse wheel&amp;#039;&amp;#039;&amp;#039; — zoom the image in or out;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;hold the mouse wheel&amp;#039;&amp;#039;&amp;#039; — pan the image;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;right mouse button&amp;#039;&amp;#039;&amp;#039; — reset the zoom and position to their initial state.&lt;br /&gt;
&lt;br /&gt;
Zooming in on the preview is useful to make sure the fixture dots haven&amp;#039;t merged together and the spline lines aren&amp;#039;t broken.&lt;br /&gt;
&lt;br /&gt;
== Saving the mask as a single file ==&lt;br /&gt;
&lt;br /&gt;
# Enable the needed &amp;#039;&amp;#039;&amp;#039;Fixtures&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Splines&amp;#039;&amp;#039;&amp;#039; checkboxes.&lt;br /&gt;
# Set the dot and texture sizes, check the result in the preview.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Save As…&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Specify the folder and file name, then click &amp;#039;&amp;#039;&amp;#039;Save&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The mask is saved in &amp;lt;code&amp;gt;*.png&amp;lt;/code&amp;gt; format with a transparent background. Everything shown in the preview goes into a single file.&lt;br /&gt;
&lt;br /&gt;
== Saving a separate file for each fixture ==&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Save Each&amp;#039;&amp;#039;&amp;#039; button exports not a single overall mask, but a separate image for each fixture and each spline of the project. This is needed when content is prepared separately for each element of the object — for example, when each line has its own animation.&lt;br /&gt;
&lt;br /&gt;
# Enable the &amp;#039;&amp;#039;&amp;#039;Fixtures&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Splines&amp;#039;&amp;#039;&amp;#039; checkboxes — only the marked types are exported. If both checkboxes are cleared, the button is unavailable.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Save Each&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Choose the folder where the files will be placed, and click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Each file receives the name of the fixture or spline from the &amp;#039;&amp;#039;&amp;#039;Fixtures&amp;#039;&amp;#039;&amp;#039; window and the extension &amp;lt;code&amp;gt;.png&amp;lt;/code&amp;gt;. If a file with that name already exists in the folder, &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; is appended to the new file&amp;#039;s name, so previously saved masks are not overwritten. The texture and dot sizes are the same for all files and are taken from the window&amp;#039;s fields, so the individual masks align exactly with each other and with the overall mask.&lt;br /&gt;
&lt;br /&gt;
To make the files easy to distinguish, give the fixtures and splines clear names beforehand in the &amp;#039;&amp;#039;&amp;#039;Fixtures&amp;#039;&amp;#039;&amp;#039; window.&lt;br /&gt;
&lt;br /&gt;
== Choosing the mask size ==&lt;br /&gt;
&lt;br /&gt;
* For most tasks, the default size is enough — it equals the project size, and no alignment is needed.&lt;br /&gt;
* If there are many fixtures and they merge into a solid blob on the mask, enlarge the texture with the &amp;#039;&amp;#039;&amp;#039;X2 Size&amp;#039;&amp;#039;&amp;#039; button. The dots will become larger along with the image, and the proportions will be preserved.&lt;br /&gt;
* If content is being prepared at a resolution higher than the &amp;#039;&amp;#039;&amp;#039;Mapping&amp;#039;&amp;#039;&amp;#039; field, export the mask at the content&amp;#039;s resolution — but as a multiple of the project size, so the width-to-height ratio stays the same.&lt;br /&gt;
* The maximum side size is 8192 pixels. Very large masks take longer to compute and take up a lot of space.&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;Fixture Size&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Spline Size&amp;#039;&amp;#039;&amp;#039; values are set in project pixels and increase along with the texture. Increase them separately only when the dots need to be made noticeably larger than the actual pixel pitch — for example, to get a solid outline of the object.&lt;br /&gt;
* If you&amp;#039;re unsure about the current values, click &amp;#039;&amp;#039;&amp;#039;Reset&amp;#039;&amp;#039;&amp;#039; and start over.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Adding Splines and Fixtures]]&lt;br /&gt;
* [[Изменение размера и вращение приборов]]&lt;br /&gt;
* [[Описание режимов отображения]]&lt;br /&gt;
* [[Экспорт композиций]]&lt;/div&gt;</summary>
		<author><name>LumiBot</name></author>
	</entry>
</feed>