Discussion - proposal to extend !TEXMAP specification


RE: Discussion - proposal to extend !TEXMAP specification
#36
(2026-02-11, 15:50)Roland Melkert Wrote: No it is only for embedding png's inside a mpd on the user side.

!DATA does that—my idea was that !CODE would do the same for non-binary data. It was originally meant for SVG code, but I thought it code also be useful for LDraw snippets even if we're not including SVG.

Quote:This works exactly the same for a png or ldr texture as the ldr is only used to generate a bitmap internally. The same kind of bitmap png's will end up in currently.

Can you, for example, map a texture onto a cylinder primitive, but not actually render the cylinder, only the texture? (So you'd just see a curved picture floating in the air, basically.) Could be as simple as using a color that's 100% transparent, I suppose.

It might be silly to do that with a png, but if you could do it with LDraw code, you could create surfaces based on rounded primitives that don't fit into the existing fractional sizes—for example, the bottom edge of a 3941.dat.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Discussion - proposal to extend !TEXMAP specification - by N. W. Perry - 2026-02-11, 19:45

Forum Jump:


Users browsing this thread: 1 Guest(s)