Texture a random shape.

Blitz3D Forums/Blitz3D Beginners Area/Texture a random shape.

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 Rhy,
As Blitzmax is (really) all 3D when you use Drawpoly it takes the points and uses them in a gl_polygon command as vertex2f commands (2D float) which you can bind the texture to.
What you're suggesting sounds very similar.
Given a list of points, how would I create the flat 3D object and then use (I assume) texturecoord to texture that shape.
Don't I need a surface ID (or something) to assing texturecoords and a texture to?
I know little about 3D so it's probably me missing something obvious.