I want to display NURB surfaces, read from IGES files of Ideas 4.0, with the
OpenGL glNurbSurface call.
I got all data (s&t knots, s&t orders and all control points from IGES files. But I have servere problems displaying surfaces with order > 2.
sknots:0.0,0.0,0.0,2.51934663,2.51934663,5.03869326,5.03869326,7.55803989,7.55803989,7.55803989
tknots:0.0,0.0,1.0,1.0
sorder:3
torder:2
control points:2336.83450222,842.6474008,0.0,
2336.83450222,842.6474008,2078.46096908,536.83450222,842.6474008,1039.23048454,-1263.16549778,842.6474008,0.0,536.83450222,842.6474008,-1039.23048454,2336.83450222,842.6474008,-207 8.46096908,2336.83450222,842.6474008,0.0,
2336.83450222,-807.3525992,0.0,2336.83450222,-807.3525992,2078.46096908,536.83450222,-807.3525992,1039.23048454,-1263.16549778,-807.3525992,0.0,536.83450222,-807.3525992,-1039.2304 8454,2336.83450222,-807.3525992,-2078.46096908,2336.83450222,-807.3525992,0.0
This is a cylinder
Hopefully somebody can help me at the moment.