I'm creating some 3D graphics using TikZ, and I need to apply a transformation matrix to some coordinates I'm specifying in 2D so they end up in 3D. I am going to draw graphics on all three visible sides of a cube, and I have defined macros that work in 2D that I want to be able to use on those sides. Is there any way to do this? I saw that there are some primitive transformations in PGF, but they all work in 2D.
How about this:
Here is a way, but rotations are generally needed to get the text "right".
The '3d' TikZ library is required.
Put this as usual in the preamble of your LaTeX file
Then in your tikzpicture environment, something like
We could probably customize it further with parameters. Hope it helps as it stands.