Draw transparents Polygons without artefact
BlitzMax Forums/BlitzMax Programming/Draw transparents Polygons without artefact
| ||
Hi I'm trying to render liquid area inside my 2d platform game using drawpoly ![]() The problem is self explanatory. I would like to visually get rid of those triangulate artefact. The poly must be transparent ! Does anybody having any clue on this ? A visual solution like farseer liquid would be very good (Alex ? Any idea how to ?) Thanks :D |
| ||
Hum... I think I will use vertical polygon for each height point maybe this would do the trick ;) [Edit] This method working very well Sorry for any derangement ^^ |
| ||
I think it simply was being caused by polygons being drawn on top of other polygons, because you were having all of them converge at the bottom center and therefore some of the wave edges were too variegated to avoid sort of `going back on yourself`. |
| ||
yes you have to build that big polygon in a different way. Your going to have to add more vertices on the bottom line to really avoid this problem |
| ||
Given that you know the "end points" of those lines coming from that centre point, can't you just collate those to create a polygon? |
| ||
Could Polygon triangulation - subtracting ears method be helpful ? |