RE: LDConfig.ldr problem with colour 11019 Trans_Tan?
2025-11-14, 2:01 (This post was last modified: 2025-11-14, 2:07 by Travis Cobbs.)
2025-11-14, 2:01 (This post was last modified: 2025-11-14, 2:07 by Travis Cobbs.)
(2025-11-08, 2:18)Orion Pobursky Wrote: Per the spec, CODE can be pretty much anything:
By convention LDConfig uses numeric codes (and the library's parsing code enforces numeric only). Does LDView recognize non-numeric codes? If so, LPub3D is free to use an alpha-numeric code that doesn't clash with the LDConfig.
The base LDraw file format requires colors to be numbers. So if some document somewhere says that CODE can be anything that's not a number, then I would strongly argue that that document is wrong. LDView definitely requires numbers (specifically integers), and furthermore only allows 32-bit numbers, not 64-bit ones.
Edit: it looks like LDView probably supports 64-bit color codes on 64-bit Linux and 64-bit macOS. However, due to MS being MS, it's limited to 32 bits on Windows. If anyone really wants it to support 64-bit color codes, I believe that updating it to do so would be fairly simple.
