GLUTessator for real-time tessellation?

I am trying to create a drawing application using OpenGL that will allow the user to see the result in real time. The way I configured it is to call the edge flag back, so the glu tesselator only outputs triangles, which then pass the VBO. I tried to make all my algorithms as fast as possible, and that is not my problem. According to several code profilers, my biggest slowdown occurs when I call GLUTessEndPolygon (), which is a function that makes a polygon. I found that when a form exceeds 100 input vertices, it becomes really very slow and basically destroys all the hard work I did to optimize everything else. What can I do? I provide normal (0,0,1). I also tried all the tips from Redbook GL. Is there a way to make tesselator tesselate faster, but with less accuracy?

thanks

+4
source share
1 answer

You can give poly2tri an attempt to figure out if it is faster.

+2
source

All Articles