Sticker with other than rectangular shape


RE: Sticker with other than rectangular shape
#8
(2018-12-13, 9:24)Jaco van der Molen Wrote:
(2018-12-12, 20:50)Travis Cobbs Wrote: It might not be obvious from the other responses, but textures only get applied to the geometry inside the !TEXMAP START/END group. (For !TEXMAP NEXT, the texture is only applied to the next line of LDraw geometry.) This means that even though the image is rectangular, since it only shows up on the specified geometry, it can quite easily be mapped onto a non-rectangular flat sticker.

Others have already pointed out distortions that can appear when the geometry being mapped is non-flat.

OK, so for the flat stickers applied to the side of the bucket in this set, you'd have to create a circular LDraw geometry object on which the image of the sticker can be projected?

How? Can someone help with that?

Well, it's not exactly trivial, but neither is it too complicated. You need to manually create a flat surface that is the shape of the sticker, then store this in a subpart. In the sticker part, have a !TEXMAP line with the appropriate texture coordinates, and have a reference to the subpart be the only geometry that is textured. Then, have a second reference to the surface (not textured), with BFC INVERNEXT, and offset by 0.25 LDU to represent the back of the sticker. Finally, add quads around the edges between the two surfaces.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Sticker with other than rectangular shape - by Travis Cobbs - 2018-12-13, 18:13

Forum Jump:


Users browsing this thread: 9 Guest(s)