-
Junior Member
Regular Contributor
Mesa source code: where are the nurbs surface/curve evaluation function implemented?
I downloaded the Mesa source code. In opengl there is built in support for nurbs curves and surfaces. Where are those (file?) implemented in Mesa? I can't seem to find them...
Thank you,
Luke
-
Super Moderator
OpenGL Guru
Re: Mesa source code: where are the nurbs surface/curve evaluation function implemented?
OpenGL evaluators implement this functionality.
You need to trace what happens with a call to glEvalCoord*
glEnable(GL_MAP2_VERTEX_3) & variants are relevant.
glMap2* & variants are relevant.
Tracing the code behind these entry points should lead you to the bezier calculations in Mesa.
-
Junior Member
Regular Contributor
Re: Mesa source code: where are the nurbs surface/curve evaluation function implemented?
dorbie, you say that this should lead me to bezier calculations in mesa... are b-splines and nurbs calculated with beizer functions? I thought these were different...?
Thanks,
Luke
-
Super Moderator
OpenGL Guru
Re: Mesa source code: where are the nurbs surface/curve evaluation function implemented?
Only Bezier is supported.
-
Advanced Member
Frequent Contributor
Re: Mesa source code: where are the nurbs surface/curve evaluation function implemented?
i think Nurbs are implemented in the GLU library, that should either comes with the mesa source, or you should be able to find an SGI implementation of it (that now is opensource)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules