Advertisement

Evaluator's

Started by August 17, 2005 04:23 AM
-1 comments, last by omega_001 19 years, 3 months ago
Does anyone know how to retrieve the coordinates generated during beizer curve evaluation using native gl commands. My math skills aren't quite up to the point I understand the formula that generates them (less someone knows of some pratical examples I can try out), so if there's a way to retreive them during evaluation that anyone's willing to share that would be dandy.

glBegin(GL_LINE_STRIP);
   for (i=0; i<=30; i++)
      glEvalCoord1f((GLfloat)i/30.0);
      // I want to be able to retrieve the generated coordinate
      // each loop iteration.
glEnd();


Thanks in advance. - Bill

This topic is closed to new replies.

Advertisement