Having a lot of objects just to have a functional, digital numeric display seemed unnecessary to me with how simple it should work, by just turning on or off the sections of the digit needed to produce the desired numeric value.
As such I was able to create a single digit display using only 1 material, it’s able to “turn on or off” any section of the digit as desired and with drivers I am able to output any number between 0 and 9 with a custom property.
This was achieved by having a texture for the digit that separates each section of the digit using a unique color, that texture is then separated by color into 7 layers (because there are 7 sections in the digit to individually identify) where every section but the one with the unique color in the layer is blacked out while also having the unique color turned white.
There’s still some optimizing / quality of life improvements I’d like to do with this such as removing the need for a texture, being able to alter the mesh, and perhaps allowing actual text. However I’ve hit a roadblock with this whole concept, to add a second digit you’d need 2 different materials to allow both digits to have individual values. Now I figure a work around could be to use more unique colors and to expand the texture for the digit, however that would be very tedious as digit amounts increase along with the need for more groupings of digital displays in a scene, it would also be counter productive for trying to remove the need for a texture in the first place.
So I ask out to anyone interested;
- Is it possible to add more digits while still only using one material with the method I’m using?
- Is it possible to identify the individual sections of the digit without the need of a texture?
- Am I mad for thinking that using more objects is unnecessary when using such a method is straight forward to setup using the mask modifier?
To sum what I’m after; one object per digit, one material per group of digits, and the ability to add more digits in a grouping of digits.
I’ve included the blend file and a video overview below.
Thanks in advance.