Texture Map a cube

Blitz3D Forums/Blitz3D Programming/Texture Map a cube

Dud(Posted 2003) [#1]
Hi,

I'm new to Blitz3D and I was just wondering what the easiest way would be to texture a cube with 6 different textures (ie one for each side). Would it be easier to create the cube and add the textures in Blitz3D or would it be easier to import a pre-built model?

Regards
Dud


Ross C(Posted 2003) [#2]
i think it's a bit quicker fps wise if it only has one texture. So try creating a texture with all of the sides you want on it. Then messing about the UV co-ords.


Litobyte(Posted 2003) [#3]
Look at the examples, look at Markio Castle demo, and look at the Skybox function.

It creates a sky box with 6 different texture faces


Stickman(Posted 2003) [#4]
Would be easier to do it in modeling program.
With blitz you would have to eather.....

(1)Get the vertices you want to add the texture to then Chang the UV coords accordingly.(like joker said )
(2)Create your own mesh with blitz that uses sepperate surfaces for each side then Paint each surfface with the texture you want.