Draw a number on each side of a box

Hello,

I think a possible solution would be using the shapes3d library and drawing a PImage on each side of the box. But I’m new with all this and I wasn’t able to come up with a solution using this library, so I was wondering if there is a simpler solution for drawing a character (in this case a number, same number) on each side of a box. Or If someone could guide me through any solution!

Thanks in advance.

Hello,

Here is an example to start with:

This will work for a cube as well.

You will have to add a z to the vertices and align your uv coordinates correctly.

I just did it for one face and rotated so you could see it:

image

There is a an example in the Processing IDE here:

Walk through the code and explore the tutorials and references as necessary.

One of the best tools in a programmers tool chest is knowing the resources available to you and learning to navigate, filter and use them.

This is a very short list:

Resources < Click here to expand !

I encourage you to review the resources available here:

I expect that there are other ways to do this as well.

I will leave the rest of the exploration to you.

:)