PDA

View Full Version : points to construct a surface..?



radiac
12-16-2000, 06:23 AM
are there any native opengl features that allow me to specify a set of arbitrary points and have ogl convert it into a surface?

later,
zack

Crunch
12-16-2000, 03:36 PM
Try glBegin/glEnd with GL_TRIANGLE_FAN or GL_TRIANGLE_STRIP or GL_QUAD_STRIP.

When you say "arbitrary" I assume you've already worked out the verticies so they do form a surface and not random points in space.