Created
March 30, 2025 21:45
-
-
Save foone/ff2ddb567562c369fcee236d36dccc58 to your computer and use it in GitHub Desktop.
Documentation of the LAT files generated by the µLathe software
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
offset 0x0: Signature: "\xE6LATHE\0" (7 bytes) | |
offset 0xC: render mode (U16) | |
values: wireframe,hidden,constant,gouraud | |
offset 0x0E: number of sides (U16). It's based on the values in the drop down: | |
values: 3,4,5,6,8,9,10,12,15,18,20,24,30,36,40,45,60,72,90,120 | |
offset 0x10: rotation (U16) | |
offset 0x12: scale % (U16) | |
offset 0x14: distance (U16): | |
values: Nearest, Very Near, Nearer, Near, Medium, Far, Farther, Very Far, Farthest | |
offset 0x16: light brightness (U16 | |
offset 0x18: light direction (U16) | |
offset 0x1A: light near-far (U16) | |
offset 0x1C: detail (U16) | |
offset 0x1E: texture (u16) | |
values: None, Smooth1, Smooth3, Smooth3, Medium1, Medium2, Medium3, Rough1, Rough2, Rough3 | |
offset 0x2A: object color. 3 bytes, RGB | |
offset 0x2D: light color, 3 bytes, RGB | |
offset 0x30: number of dots (U16) | |
offset 0x32: x coordinate of first dot (16) | |
offset 0x34: y coordinate of first dot (16) | |
offset 0x252: camera rotation? to end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment