multiple bezier curves Problem

Hi there,

I have a problem to visualize multiple bezier curves.

the controlpoints[n][4][3] is provided.

I want to draw N Bezier curves.

Why can not I visualize them all at the same time??

       void init(void)
       int j;
       glClearColor(1.0, 1.0, 1.0, 0.0);
       for(j=0; j<2; j++){
    	    glColor4f(0.0, 0.0, 0.0, 0.5);
       glMap1f(GL_MAP1_VERTEX_3, 0.0, 1.0, 3, 4,       &ctrlpoints[j][0][0]);

only one curve is visualized. why???

Thanks a lot for your idea.

First of all, please don’t double post :stuck_out_tongue:

Second, I already told you and I will tell this again: don’t use OpenGL evaluators, but write your own bezier curve evaluator. This is a trivial task and will allow you to manage your rendering the way you want it.