![]() |
New Header Meta - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: Administrative (https://forums.ldraw.org/forum-4.html) +--- Forum: Standards Board (https://forums.ldraw.org/forum-5.html) +--- Thread: New Header Meta (/thread-28684.html) |
New Header Meta - Orion Pobursky - 2025-02-20 I'm going to add a simple META after the !CMDLINE meta: 0 !IMAGE_ADJUST <x,y,z> <rotation matrix> This will tell the Library (and any other program that wants to use it) to adjust the rotation/position of a part before rendering it. This will allow for patterns or stickers that would otherwise not be shown in the default rendering to be shown (for example https://library.ldraw.org/parts/search/suffix?basepart=14718 ). This meta will only be included if the position adjust is not zero and the rotation matrix is not unity. A couple of notes: - I'm already doing this internal to the Library software but it's part of the general site settings and only editable by me. This will allow authors/header editors to adjust the image without my help, persist the settings through updates, and could be useful to other software as well. - As this is for display purposes only, a hold for for this meta would not be appropriate - I'm not invested in "!IMAGE_ADJUST" if you have a better suggestion RE: New Header Meta - Travis Cobbs - 2025-02-20 (2025-02-20, 20:17)Orion Pobursky Wrote: I'm going to add a simple META after the !CMDLINE meta: Sounds good to me. RE: New Header Meta - Gerald Lasser - 2025-02-20 I would be more specific in the description: "to adjust the rotation/position of a part's preview image before rendering it" RE: New Header Meta - Roland Melkert - 2025-02-21 (2025-02-20, 20:17)Orion Pobursky Wrote: I'm going to add a simple META after the !CMDLINE meta: Sounds useful to me too. But I would prefer it be called something like !BOM_COR, !PREVIEW_COR or just !PREVIEW And maybe include the color number (ether using the type 1 format or as an optional last option). RE: New Header Meta - Orion Pobursky - 2025-02-21 We've settled on !PREVIEW and the color is a good idea too. Code is ready but there are a couple of things I just thought of that I want to do. This will prolly go live early next week. |