Hi,
i have rendered complex polygons using teselation. But here performance is poor for zoom/pan. now i would like to use display list. here i have written one function for rendering
void Render(int Numof points, Double *pointer)
{
gluTessBeginPolygon(tobj, NULL);
gluTessBeginContour(tobj);
for(int u=0;u<vertex-1;u++)
gluTessVertex(tobj, point[u],point[u]);
gluTessEndContour(tobj);
gluTessEndPolygon(tobj);
}
here i pass num of points and that points dynamically.
now how can i use displaylists for this function
thanks in advance