BlitzPlus Polygons

Blitz3D Forums/Blitz3D Beginners Area/BlitzPlus Polygons

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.

Maybe you're right Andy, but back to the polygons... I thought about it while I was at work (as you do). I thought I could try doing the following...

1. Find the two points with the lowest and highest 'x' values.

2. For each 'x', check each side to see if it crosses the x-axis - working out the y-values in the process.

3. Draw a vertical line from the lowest point to the highest.

I haven't thought of the code for it yet, but I think there's room to insert clipping of the polygons to fit the screen too.