Camera v2.0
Overview
For taking photos, there are two types:
Simple Type

Input the ID of the memory bank that you want to store the photo in, and the camera will take a photo towards the direction that block faces to. The view angle is 90 degrees, and the resolution is 512×512.
The final input is generated by performing a bitwise OR operation between the inputs from all ports.
Complex Type
You can control all parameters of the camera. The Details are below.
Ports Definition
Top Input
Start & End | Function | Description |
---|---|---|
1 ~ 8 | View Angle | In degree. |
9 ~ 16 | Empty | No effect. |
17 ~ 32 | Y Offset | For each 1 increase of this, the position of the camera moves up by 1/8 block. If the highest bit of this is 1, moving down instead. |
Right Input
Start & End | Function | Description |
---|---|---|
1 ~ 16 | X Offset | For each 1 increase of this, the position of the camera moves north by 1/8 block. If the highest bit of this is 1, moving south instead. |
17 ~ 32 | Z Offset | For each 1 increase of this, the position of the camera moves east by 1/8 block. If the highest bit of this is 1, moving west instead. |
Bottom Input
Start & End | Function | Description |
---|---|---|
1 ~ 8 | Yaw | Set the yaw angle of the camera, in degree. |
9 ~ 16 | Pitch | Set the pitch angle of the camera, in degree. |
17 ~ 24 | Roll | Set the roll angle of the camera, in degree. |
25 | Yaw Sign | If this is 1, the yaw angle will be negative. |
26 | Pitch Sign | If this is 1, the pitch angle will be negative. |
27 | Roll Sign | If this is 1, the roll angle will be negative. |
28 ~ 32 | Empty | No effect. |
Left Input
Bit Width Used | Function | Description |
---|---|---|
16 | Image Height | Not greater than 8192 (0x2000) is recommended. |
16 | Image Width | Not greater than 8192 (0x2000) is recommended. |
Back Input
Bit Width Used | Function | Description |
---|---|---|
32 | Memory Bank ID | Set the ID of a memory bank that you want to store the photo in. The pixels will be converted to data in ABGR color mode. |
💡 Tip
The offset ranges of each direction are all ±4095.875.
📝 ABGR Color Mode
From high to low bits,every 8 bits represents the color's Alpha chanel、Blue chanel、Green chanel、Red chanel. You can use the tool below to convert.