LDraw.org Discussion Forums
Extension for material properties? - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: Official File Specifications/Standards (https://forums.ldraw.org/forum-32.html)
+--- Thread: Extension for material properties? (/thread-24221.html)

Pages: 1 2 3 4


RE: Extension for material properties? - Orion Pobursky - 2022-04-05

(2022-04-05, 1:59)N. W. Perry Wrote: By coding I meant the numerical code. In other words, if the code for the slope material is 00100, then a yellow slope would get color code 1400100. But maybe it should be 14-100, or 14.100, or not use numerals at all…

Oh. Ok. I meant something like:
0 !SURFACE SLOPE
<one or more type 1,3, or 4 lines>
0 !SURFACE END


RE: Extension for material properties? - N. W. Perry - 2022-04-05

Yes to both. If RGB values are indeed different for each material version of a color, then you will have the flood of combinations either way, because the existing color definition spec would be retained. The new material definitions wouldn't change that, but they wouldn't be the cause of it, either. And at least, they would provide the option to reduce the flood, if a way can be found to programmatically relate the difference in RGB between a base color and its material variant. This could be part of the supplied parameters to a material definition.