Shape editor

Blitz3D Forums/Blitz3D Programming/Shape editor

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.

You want to create a quad. Create a surface with 4 vertices, at (-1,-1), (-1,1), (1,-1) and (1,1). Make two triangles that divide the quad in half. You can then easily make irregular quads by moving the vertices using VertexCoords().

Look up the manual's sections on surfaces, particularly AddVertex() and AddTriangle().