Texturing cube faces

Hi,

This is a simple one I’m sure…

I would like to set up a simple six sided cube in vvvv and then texture each face with a normal flat image. I have had a mess around and come up with the attached patch (you will need to point it to your own texture file). There are a couple of things with this.

Firstly, even though I have set “Fullscrren Depthbffer Format” to D24X8 (I also tried D16 - not sure what the difference is) the cube seems to be hollow and with two of the near faces dissapearing and the images on the back of the box being visible. I’m not sure if the “DrawFixed” node is the right one to use.

Secondly, is there a way to put different images on each each face?

Thanks

box_texture_01.v4p (3.9 kB)

Ahha,

Setting the “Windowed Depthbffer Format” sorted out the first issue but I am still interested in how to put different images on each face.

Thanks

i don’t have opportunity to look at your patch now, but try feeding a spread of 6 filenames into the FileTexture
(This assumes that you created the cube with a spread of rotations and translations of a quad)
i’ve been meaning to patch together a module for this for a while, but don’t find the time for it :-(

see @colorsound.
i think he did a patch “cubeslider” or sth like this.

hi you,ll need to load this xfile to cubeslider patch to get the six textures on the sides or you can use a handmade quad cube patch like this . cheers .

xfile+quad_cube.zip (3.4 kB)

I haven’t tried this yet but, in anticipation, you guys are grest. This is distracting me from what I really should be doing but that’s what happens when fun things are put in front of you.

p.s. I did check out some of colorsound’s patches after kalle put me onto them. great stuff indeed. Thanks.