Sticker with other than rectangular shape


RE: Sticker with other than rectangular shape
#15
(2018-12-13, 18:13)Travis Cobbs Wrote:
(2018-12-13, 9:24)Jaco van der Molen Wrote: 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.

OK, so I tried to create the first surface and texmapped it lik this:


Code:
0 Set 42061 - Sticker 1
0 UNOFFICIAL PART
0 BFC CERTIFY CCW

0 !TEXMAP START PLANAR   -37 0 0 37 0 0 -37 0 -47   42061stk01.png
0 !: 1 16 0 0 -10 37 0 -1.87226e-005 0 -1 0 -1.87226e-005 0 -37 2-4disc.dat
0 !: 4 16 37 0 0 37 0 -10 -37 0 -10 -37 0 0

0 !TEXMAP FALLBACK
1 16 0 0 -10 37 0 -1.87226e-005 0 -1 0 -1.87226e-005 0 -37 2-4disc.dat
4 16 37 0 0 37 0 -10 -37 0 -10 -37 0 0

0 !TEXMAP END


It does not work. What is wrong here?
This is the image

.png   42061stk01.png (Size: 54.56 KB / Downloads: 206)
Jaco van der Molen
lpub.binarybricks.nl
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Sticker with other than rectangular shape - by Jaco van der Molen - 2018-12-14, 19:35

Forum Jump:


Users browsing this thread: 2 Guest(s)