Texturing a cube

This is probably a really simple task, but I’m having trouble figuring out how to do it. Basically, I want a box with a different texture on every face. How do I accomplish this?
Thanks,
Michael

Hi Michael,

you can build your own box texture after the sample given here: $TFS/touch/Map/boxmap.tif

A good to way to build is using the Composite TOP and its “Translate Step” parameter which let’s you offset each input to the Composite TOP by a specified value.
I attached a little Component which explains that a little.

cheers
Markus
BoxMap.tox (1.16 KB)

hi markus,

first off, thanks for putting up that tox file, it’s been useful understanding how to get this working.

I tried this on a regular box and was able to get it to work, but when I try to use this on a mesh cube that was exported from C4D as an OBJ file, it puts all 6 numbers on each face rather than 1 number on each cube.

what am i doing wrong? do i need to convert my mesh cube to a box? if so, how do i do that?

thanks in advance!

That would be because there is no Texture projection information coming in from C4d and Touch does not know what method to use to project onto the cube, so it is just mapping the entire Texture to each face (mostly if you bring in the cube as a C4d primitive)
I have not found that Touch provides very useful texture mapping approaches…What I would do is in C4d make sure you have UV assignments so that each face of the cube has the correct UV coordinates.
You can easily do that in C4d if you apply a random texture, make sure the projection is cubic. Then convert that cube to polygons, you will get a UVW tag that should carry across.
To be on the safe side and make sure this actually works, you can fire up BodyPaint, select your UV polys and in the “Projection” tab of the UVmapping window, make sure it is set to “Box” or “Cubic”
That should definitely help.

If anybody knows of a way to do cubic projection for free in TD, I would love to know…

Alex