Stupid Transparency Tricks
This trick was already posted in a separate thread, but I wanted to put it here as well for reference, since it's fundamentally a decal trick.
It turns out that the non-transparent parts of decal images are always rendered opaque, even if the underlying component is not. This becomes useful for
visually representing tubes that are not cut square, and some other stuff as well.
Let's take this decal. The triangle up top that is showing white here is actually transparent in the PNG image.
Now let's take a completely transparent tube and apply this decal:
It's hard to see what's going on here because the decal is showing on the inside as well, rotated 180 degrees. So let's do what we did in the previous post: use separate appearances inside and out, set *both* to fully transparent (Opacity = 0), and then use the same decal on the inside, rotated 180 degrees:
The red part is the transparent part at the front of the tube, showing red because the component is selected. Here it is unselected:
That's cool. As noted, you can't get rid of that little ring at the front, it's out of our control for now. This sort of thing looks best when the wall thickness of the tube is zero, so it's not quite right as far as simulation goes. You need to fiddle and fudge as necessary.
Might as well finish up where we're going with that tube. Let's use this decal instead for the inside:
Same exact shape, just a different color. And the result is:
I think we can agree that's pretty cool. Whether it is *useful* or not... well, sometimes cool is enough.
You can achieve all kinds of crazy visuals with transparent decals. This render has elaborately cut tube fins, and a transparent nose cone with a decal that makes it look like the nose it in two separate pieces. ORK is attached:
One final caution on this trick: the rendering engine here is pretty simple, and does not handle multiple transparent objects layered on top of one another. A transparent object will occlude another
transparent object behind it. You can see the effect on the top tube fin above: it is blocking the next tube fin behind it, even though in theory it should show it through the transparency. So, unfortunately, you can't create elaborate layerings of transparent objects. That doesn't really diminish the fun you can have goofing around with this, though. Enjoy!