Trouble with Patch-surfaces in OpenGL
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: Trouble with Patch-surfaces in OpenGL

Threaded View

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Trouble with Patch-surfaces in OpenGL

    Hello all.

    I am trying to build a small OpenGL application where the user can specify a bezier/b-spline curve (as side-view) and a closed bezier/b-spline curve (as top-view).

    What I want to do is 'sweep' the top-view curve over the side-view cure to generate a 3D object in the 3rd viewport.

    I have set-up the curves correctly, given 8 control points each. But I am unsure how to proceed in generating the control points for the 3D surface.

    I started experimenting with the OpenGL evaluators and GL_MAP2_VERTEX3.

    The results I am getting are very strange, so I am sure that I define the 3D surface's control points incorrectly.

    Could anyone give me any advice, or point me on an alternative route of accomplishing my goal?

    If you need me to post any code, or give more detail just let me know. (I thought it unnecessary to post code at this time, as I'm only looking for possible ways to proceed.)

    Thank you in advance.
    Last edited by CCodeMunky; March 19th, 2009 at 07:12 AM. Reason: Misspelled word in title potentially ambiguous

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center