[Edited to remove bad mood swing]
DORGH
sorry, im just in a real bad mood and happened to read this at the time.
Right, you CAN do it with 4 vertices:
Note, thats untested, but if ive written it correctly with all the syntax right, itl do a square with 4 vertices :/
DORGH
sorry, im just in a real bad mood and happened to read this at the time.
Right, you CAN do it with 4 vertices:
mesh=createmesh() surface=createsurface(mesh) ; x y z u v v1=addvertex(surface,0,0,0,0,0) v2=addvertex(surface,1,0,0,1,0) v3=addvertex(surface,0,1,0,0,1) v4=addvertex(surface,1,1,0,1,1) ; vertices to connect tri1=addtriangle(surface,v1,v2,v3) tri2=addtriangle(surface,v2,v4,v3) Updatenormals mesh
Note, thats untested, but if ive written it correctly with all the syntax right, itl do a square with 4 vertices :/