I'm trying to put together a script to help create scrolling text. I'd like the text to scroll up within a container & be invisible before it enters and after it leaves the container. I've got a few working-ish versions of it. My application is very render time sensitive, though, and the versions I've created have very very very long render times for how simple this effect seems it would be.
An example image...
This image shows a cube's bounds surrounding a text object that has been converted to mesh. My understanding is that I cannot make the text transparent/clip it if the text is not mesh (is that true?).
Anyway, I'm achieving the effect, now, using a boolean modifier between the text mesh and cube. If the text moves to any side of the box, it gets clipped (which is exactly what I want).
However this process isn't perfect. I'm seeing some weird popping in and out of existence at the edges (on both the inside and outside of the cube). Note the "S" in "Something, and the "e" in "see", among others.
This popping is unpredictable for me; a letter may pop when partially bisected by the cube, but may or may not when bisect to a greater or lesser depth.
Overall Question -- How can I achieve this text effect? I'm trying more solutions which are increasingly ridiculous, but are achievable because I primarily script my Blender work, not do it by hand.