LDraw.org Discussion Forums

Full Version: Transparent stickers on transparent bricks with opaque print
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I was wondering how to make transparent stickers on transparent bricks with opaque print.
Like the windows on the side in set 40252. 

[Image: 40252-1.jpg]

Reading this thread I don't quite follow
https://forums.ldraw.org/thread-22204.html

I thought I'd just make a png image with transparent background and the azure blue triangular shape.
But applying that and make the brick transparent makes the pattern transparent too.

Can I achieve an opaque pattern?
(2018-11-12, 21:45)Jaco van der Molen Wrote: [ -> ]Can I achieve an opaque pattern?
Currently the only sure way is to put it on a polygon matching the non transparent shape.

So in pseudo for a 100x100 sticker:

Code:
0 My textured sticker
0 UNOFFICIAL PART
0 BFC CERTIFY CCW

1 16   0 -0.25 0   50 0 0   0 0.25 0   0 0 50   box5.dat

0 !TEXMAP START PLANAR   -50 -0.25 50   50 -0.25 50   -50 -0.25 -50   image.png
1..5+  inner sticker shape
0 !TEXMAP END

1..5+  outer sticker shape (filling it to an rectangle for use on top of the box5

Note the lack of fallback code as the two parts always make the whole with or without the texture.
(2018-11-12, 22:25)Roland Melkert Wrote: [ -> ]
(2018-11-12, 21:45)Jaco van der Molen Wrote: [ -> ]Can I achieve an opaque pattern?
Currently the only sure way is to put it on a polygon matching the non transparent shape.

So in pseudo for a 100x100 sticker:

Code:
0 My textured sticker
0 UNOFFICIAL PART
0 BFC CERTIFY CCW

1 16   0 -0.25 0   50 0 0   0 0.25 0   0 0 50   box5.dat

0 !TEXMAP START PLANAR   -50 -0.25 50   50 -0.25 50   -50 -0.25 -50   image.png
1..5+  inner sticker shape
0 !TEXMAP END

1..5+  outer sticker shape (filling it to an rectangle for use on top of the box5

Note the lack of fallback code as the two parts always make the whole with or without the texture.

Ah, OK. I see.
I'll see what I can make of that.
I made parts for the side windows like a patterned part with LDraw geometry to mimic the sticker.

[attachment=3307]

I made the other parts as textured parts with images and planning to pattern the surfboard too (though I do not know how yet)
(2018-11-13, 11:52)Jaco van der Molen Wrote: [ -> ]I made parts for the side windows like a patterned part with LDraw geometry to mimic the sticker.

I made the other parts as textured parts with images and planning to pattern the surfboard too (though I do not know how yet)

And here are the other parts and model file.
(2018-11-12, 21:45)Jaco van der Molen Wrote: [ -> ]Hi all,

I was wondering how to make transparent stickers on transparent bricks with opaque print.
Like the windows on the side in set 40252. 

Reading this thread I don't quite follow
https://forums.ldraw.org/thread-22204.html

I thought I'd just make a png image with transparent background and the azure blue triangular shape.
But applying that and make the brick transparent makes the pattern transparent too.

Can I achieve an opaque pattern?

I am sorry, for now I see I totally missed this discussion: https://forums.ldraw.org/thread-23013.html which covers the same question.