Track Editor help required

Blitz3D Forums/Blitz3D Beginners Area/Track Editor help required

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.

I'm sure there is a simpler way of getting this working, which I can not see at the moment, but you could try something like this:
Define a function to determine if your proposed triangle will be backfacing or not with respect to either the camera or better perhaps the "up" vector for your track section. See the archives for backfacing code. If it is going to be backfacing then reverse the order you add the verts to the triangle.