ILDA standards
From WikiStuff
Contents |
[edit]
Electrical interface
[edit]
DB-25 connector pinouts
Pin Number Signal Name 1 X+ 2 Y+ 3 Intensity + 4 Interlock A 5 R+ 6 G+ 7 B+ 8 User-defined signal 1+ 9 User-defined signal 2+ 10 User-defined signal 3+ 11 User-defined signal 4+ 12 Projector return signal 13 Shutter 14 X- 15 Y- 16 Intensity - 17 Interlock B 18 R- 19 G- 20 B- 21 User-defined signal 1- 22 User-defined signal 2- 23 User-defined signal 3- 24 User-defined signal 4- 25 Ground
[edit]
Signal specification
[edit]
Required signals
TODO
[edit]
Optional signals
TODO
[edit]
User-defined signals
TODO
[edit]
Testpattern
TODO
[edit]
Image data transfer format
The International Laser Display Association (ILDA) has developed an image data transfer format, used to exchange frames between systems. You can obtain frames from any program with an ILDA conversion program, and transparently load them directly into any system that supports ILDA standard frames.
For multi-byte values, big-endian is used (MSB LSB).
[edit]
Sections
ILDA section header description
Byte Description Remarks
----------------------------------------------------------------------
1-4 "ILDA" The ASCII letters ILDA, identifying an ILDA format header.
5-8 Format Code Unsigned 32 Bit (Big endian, Motorola)
0 - 3D images
1 - 2D images
2 - Color lockup tables
3 - 24-bit RGB true color table
All other numbers are reserved for future use
9-12 Data Length Format code 3 and higher
Data length specifies the number of data bytes to follow starting at
byte 13 (if present) the number of bytes in this section as an unsigned,
32 bit value.
The older formats (0 – 2) have special headers
13-nn Data These are the data to follow this header.
[edit]
2D coordinates
ILDA 2D coordinate header description — one for each frame
Byte Description Remarks
----------------------------------------------------------------------
1-4 "ILDA" The ASCII letters ILDA, identifying an ILDA format header.
5-8 0, 0, 0, 1 Format Code 1 for 2D images
9-16 Frame name Eight ASCII characters with the name of this frame.
17-24 Company name Eight ASCII characters with name of the company who created the frame.
25-26 Nr of points Total number of points in this frame in binary (1-65535).
If the number of points is 0, then this is to be taken as the end of
file header and no more data will follow this header.
27-28 Frame number If the frame is part of a group such as an animation sequence, this
represents the frame number. Counting begins with frame 0. Frame range
is 0-65535.
29-30 Nr of frames Total number of frames in this group or sequence. Range is 1-65535.
31 Scanner head The scanner head or projector number that this frame is to be displayed
on. Range is 0-255.
32 Future Reserved for future use. Must be set to binary 0.
2D data record description — one record for each point
Byte Description Remarks
----------------------------------------------------------------------
33-34 X coordinate A 16-bit binary twos complement (signed) number.
Extreme left is -32768; extreme right is +32767. (All directions stated
using front projection.)
35-36 Y coordinate A 16-bit binary twos complement (signed) number.
Extreme bottom is -32768; extreme top is +32767.
37-38 Status code Bits 0-7 (lsb) indicate the point's color number. This value is used as an
index into a color lookup table containing red, green and blue values. See
ILDA Color Lookup Table Header section for more information.
Bits 8-13 are unassigned and should be set to 0 (reserved).
Bit 14 is the blanking bit. If this is a 0, then the laser is on (draw).
If this is a 1, then the laser is off (blank). Note that all systems must
write this bit, even if a particular system uses only bits 0-7 for blanking/
color information.
Bit 15 (msb) is the “last point” bit. This bit is set to 0 for all points
except the last point. A 1 indicates end of image data. This was done for
compatibility with certain existing systems; note that a zero in bytes 25-26
(Total Points) is the official end-of-file indication.
39-N Next X Repeat point format until last point has been written.
coordinate N+1 Next header Next ILDA header follows. If this header has a zero value for
Total Points (bytes 25-26), then it is the last header in the file and the
file can be closed.
[edit]
3D coordinates
TODO
[edit]
True colour
ILDA true colour header description — one for each frame and MUST proceed the coordinate section.
Byte Description Remarks
----------------------------------------------------------------------
1-4 "ILDA" The ASCII letters ILDA, identifying an ILDA format header.
5-8 0, 0, 0, 3 Unsigned 32 Bit format code (Big endian, Motorola)
Format Code 3 for true color section
9-12 Data Length Data length specifies the number of data bytes to follow starting at
byte 13 (if present) as an unsigned, 32 bit value.
13-16 Nr of points Total number of points in this frame in unsigned binary. This number
has to be identical to the total number of points used in coordinate
header of the corresponding frame. If the number of points is 0, then
this is to be taken as the end of file header and no more data will
follow this header.
True color data record description — one for each frame
Byte Description Remarks
----------------------------------------------------------------------
17 Red A 8-bit binary (unsigned) number that represents the intensity of the
red component of the laser beam.
Value ranges from 0 (no red) to 255 (full red)
18 Green A 8-bit binary (unsigned) number that represents the intensity of the
green component of the laser beam.
Value ranges from 0 (no green) to 255 (full green)
19 Blue A 8-bit binary (unsigned) number that represents the intensity of the
blue component of the laser beam.
Value ranges from 0 (no blue) to 255 (full blue at)
20-N Color info Repeat point true color format until last point has been written.
for next
point
N+1 Next header Next ILDA header follows.
[edit]
Colour tables
TODO

