LDraw.org Discussion Forums
Texturemap (or formed sticker) on 45677 - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: Texturemap (or formed sticker) on 45677 (/thread-28539.html)



Texturemap (or formed sticker) on 45677 - Jaco van der Molen - 2024-12-10

Hi all,

Can someone please assist me in putting a custom texturemapped picture or formed sticker on part 45677.dat?

[Image: 45677.png]
For a custom MOC of a Batmobile, I need the Batman logo on this part something like this:

   

Thanks!


RE: Texturemap (or formed sticker) on 45677 - Travis Cobbs - 2024-12-11

(2024-12-10, 7:41)Jaco van der Molen Wrote: Hi all,

Can someone please assist me in putting a custom texturemapped picture or formed sticker on part 45677.dat?

[Image: 45677.png]
For a custom MOC of a Batmobile, I need the Batman logo on this part something like this:



Thanks!

As long as you don't need it to look like an actual sticker, you could just project the texture over the part geometry (although it would leak through and be visible on the bottom of the part). If you don't want it to leak through to the bottom, you could create a custom version of the part with the texture only projected onto the top surface.

Projecting onto the existing part would be done like this:

Code:
0 !TEXMAP START PLANAR -32 0 -25  32 0 -28  -32 0 -60 Batman-Logo.png
1 0 0 0 0 1 0 0 0 1 0 0 0 1 45677.dat
0 !TEXMAP END

Note: My Batman-Logo.png file is twice as wide as it is tall. It has blank space on both sides. Here is what it looks like on top:

   

And here is what it looks like on bottom:

   


RE: Texturemap (or formed sticker) on 45677 - Jaco van der Molen - 2024-12-11

(2024-12-11, 3:57)Travis Cobbs Wrote: As long as you don't need it to look like an actual sticker, you could just project the texture over the part geometry (although it would leak through and be visible on the bottom of the part). If you don't want it to leak through to the bottom, you could create a custom version of the part with the texture only projected onto the top surface.

Projecting onto the existing part would be done like this:

Code:
0 !TEXMAP START PLANAR -32 0 -25  32 0 -28  -32 0 -60 Batman-Logo.png
1 0 0 0 0 1 0 0 0 1 0 0 0 1 45677.dat
0 !TEXMAP END

Note: My Batman-Logo.png file is twice as wide as it is tall. It has blank space on both sides. Here is what it looks like on top:



And here is what it looks like on bottom:

OK, that simple  Blush
Thank you Travis!
Doesn't have to look like a sticker, since I am having the logo custom printed on the part, so projecting it like this is perfect.


RE: Texturemap (or formed sticker) on 45677 - Travis Cobbs - 2024-12-11

(2024-12-11, 7:18)Jaco van der Molen Wrote: OK, that simple  Blush
Thank you Travis!
Doesn't have to look like a sticker, since I am having the logo custom printed on the part, so projecting it like this is perfect.

One thing I forgot to mention. I'm pretty sure my texture is flipped vertically. If the texture file weren't symmetric left-to-right, this would result in it being mirrored. The correct projection would rotate things 180 degrees instead of mirroring them, but I didn't bother.