Smooth Poly

BlitzMax Forums/BlitzMax Beginners Area/Smooth Poly

Hezkore(Posted 2011) [#1]
Hello there!
Right here's the situation...
I'm using DrawPoly to draw some "ground" and it's working alright, but I want some darker inner edges for it and also black outlines!
The only way I could think of to achieve this was to use DrawLine and draw darker inner edges and then black outlines, but it turns out that it looks very very jagged and is incredibly slow! :S

Here's what I got (Ingame):


And here's what I want (Photoshop):


Anyone got something for me? :/


GW(Posted 2011) [#2]
Here is an opengl example that does smooth lines. Not sure if it helps.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1761


Hezkore(Posted 2011) [#3]
Woo thanks mate, that was easy. x)