Texturing a mesh

Blitz3D Forums/Blitz3D Programming/Texturing a mesh

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi Folks,

A nice simple question, I suspect.

I've created a shape - in this case an elongated cube - from scratch, ie, AddVertex, AddTriangle, etc, and I want to texture it with a basic wall like texture(possibly a different texture on top of the wall?). Can someone show me the sequence of commands needed to do this? I have no problem with primitives but my own meshes are causing me problems.

I suspect this has to do with UVs, right?

Anyway help much appreciated.

Later,

Jes