Skip to content

Commit dc2646d

Browse files
committed
Add clarification about DMXValue and DMX Channel Offset
1 parent 142a237 commit dc2646d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

gdtf-spec.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ specified in [Table 1](#user-content-table-1 ).
207207
|Rotation<a id="attrtype-rotation"/> | {float, float, float}<br/>{float, float, float} <br/>{float, float, float} | Rotation matrix, consist of 3\*3 floats. Stored as row-major matrix, i.e. each row of the matrix is stored as a 3-component vector. Mathematical definition of the matrix is column-major, i.e. the matrix rotation is stored in the three columns. Metric system, right-handed Cartesian coordinates XYZ:<br/>X – from left (-X) to right (+X),<br/>Y – from the outside of the monitor (-Y) to the inside of the monitor (+Y),<br/>Z – from the bottom (-Z) to the top (+Z). |
208208
|Enum<a id="attrtype-enum"/> | Literal | Possible values are predefined.|
209209
|DMXAddress<a id="attrtype-dmxaddress"/> |Int, Alternative format: Universe.Address | Absolute DMX address (size 4 bytes); Alternative format: Universe – integer universe number, starting with 1; Address: address within universe from 1 to 512. Format: integer |
210-
|DMXValue<a id="attrtype-dmxvalue"/> | Uint/n for ByteMirroring values <br/>Uint/ns for ByteShifting values|Special type to define DMX value where n is the byte count. The byte count can be individually specified without depending on the resolution of the DMX Channel.<br/> By default byte mirroring is used for the conversion. See examples below. Byte shifting and mirroring will be obsoleted in next version of the Spec and the DMXValue will have to be specified including and matching the resolution of the DMX Channel|
210+
|DMXValue<a id="attrtype-dmxvalue"/> | Uint/n for ByteMirroring values <br/>Uint/ns for ByteShifting values|Special type to define DMX value where Uint is a value between 0 and 255, and n is the byte count. The byte count can be individually specified without depending on the resolution of the DMX Channel.<br/> By default byte mirroring is used for the conversion. See examples below. Byte shifting and mirroring will be obsoleted in next version of the Spec and the DMXValue will have to be specified including and matching the resolution of the DMX Channel|
211211
|GUID<a id="attrtype-guid"/> | XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX | Unique ID corresponding to RFC 4122: X–1 digit in hexadecimal notation. Example: “308EA87D-7164-42DE-8106-A6D273F57A51”. |
212212
|Resource<a id="attrtype-resource"/> | String|File name of the resource file without extension and without subfolder. |
213213
|Pixel<a id="attrtype-pixel"/> | Pixel| Integer value representing one Pixel inside a MediaFile. Pixel count starts with zero in the top left corner.|
@@ -219,6 +219,8 @@ Byte mirroring: 255/1 definition in a 16 bit channel will result in 255/255 in t
219219
Byte shifting: 255/1s definition in a 16 bit channel will result in 255/0 in two component notation and in 65280 integer.
220220

221221

222+
223+
222224
The first XML node is always the XML description node: `<?xml version="1.0" encoding="UTF-8"?>`
223225

224226
The second XML node is the GDTF node. The attribute of this node is the
@@ -1935,6 +1937,7 @@ defined XML attributes of the DMX channel are specified in [table
19351937
| Highlight | [DMXValue](#user-content-attrtype-dmxvalue ) | Highlight value for current channel; Special value: “None”. Default value: “None”. |
19361938
| Geometry | [Name](#user-content-attrtype-name ) | Name of the geometry the current channel controls. |
19371939

1940+
If the Offset is set as None, the DMX Channel resolution is provided by the DMXFrom field of the InitialFunction.
19381941

19391942
</div>
19401943

0 commit comments

Comments
 (0)