Archived

This topic is now archived and is closed to further replies.

jonbell

Spline Data

Recommended Posts

When i generate a spline using glMap1f and then glEvalCoord1f how can i get access to the actual x,y,z values for each coord generated. I know that glEvalCoord calls glVertex internally and doesn''t return a value so i am at a loss. Cheers

Share this post


Link to post
Share on other sites
You can''t. I''ve came to this problem a while ago, so I decided to implement my own curve/patch class - not spline, but bezier. If you want to see it, visit my webpage at http://ionware.8m.com and get the Bezier terrain tutorial source file.



" Do we need us? "


Ionware Productions - Games and Game Tools Development

Share this post


Link to post
Share on other sites