Jump to content
  • Advertisement

Archived

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

passy01

Bezier and nurbs surfaces

This topic is 5304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys, I am a newbie to OpenGL and most importantly to curved surfaces. I know that openGL support nurbs surface drawing. however as a newbie to both openGL and nurbs I found the function call to draw this stuff a bit hairy. the tutorials I have from the net either assume you''re familiar with the topic or if not they bombard you with maths junkies. for those already familiar with the topic and APIs, what does ''stride'' means in layman terms, and what does ''knots'' means too. i am trying to draw a long 2d curved surface of say 80 points . can i pass these points as an array of 2*40 points straight to the funxtion call? Many Thanks.

Share this post


Link to post
Share on other sites
Advertisement
First you need to learn something about parametric surfaces (and of course NURBS in specifically). You can google for some information. You can also start by reading this:

http://www.gamasutra.com/features/19991117/macri_01.htm

Note that the sample code at the end of the article uses DirectX but the concepts are what you need.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!