I am using glu to tesselate and trimm some nurbs surfaces. But the problrm is that it takes a lot of time to calculate data that will be rendred (vertices , normals). I am taking this data throw callbacks.
I' am trying to make this multithreaded but I have got this error : "Nurbs Error : gluEndSurface can not preceed gluBeginSurface". An opengl expert tell me that glu do not support multithreading.
Are there any solution to make it faster? Is the problem with callbacks?