Hi

I am writing a program where I am required to display NURBs surfaces. The input data were at least 280,000 vertices of a model. Each vertex makes up of x, y, z coordinates. Each coordinate is float data.

Each vertex represents a point of a 3-D rectangular block (like that of a Lego block), i.e. there are at least 280,000 blocks in the model. Each block should have 8 vertices to define the 8 end-points of the blocks, but the input file only specify one of the 8 vertices of each blocks.

It is the requirement that the program cannot use cubes or boxes to display the model. The model must be rendered using NURBS as the model is similar to a terrain.

if can provide some information on how to determine the knot points and control points required in openGL GLU NURBS, from the input data, many grateful thanks in advance.