Results 1 to 5 of 5

Thread: Selection & gluNurbsSurface

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Posts
    3

    Selection & gluNurbsSurface

    Dear everybody,
    i tried to use selection method to select the control points and move them. i can use selection method without gluNurbsSurface function, but, when i use both, the application seems not to work. If you know what's problem, thank you for answer.
    tatung

  2. #2
    Senior Member Regular Contributor
    Join Date
    Oct 2000
    Location
    Donetsk,Ukraine
    Posts
    118

    Re: Selection & gluNurbsSurface

    WINSDK:"When using gluPickMatrix to pick NURBS, be careful to turn off the NURBS property GLU_AUTO_LOAD_MATRIX. If GLU_AUTO_LOAD_MATRIX is not turned off, then any NURBS surface rendered is subdivided differently with the pick matrix than the way it was subdivided without the pick matrix."
    But if you want to select not whole NURBS but only it's knots it's better to place some objects(like balls) in place of control points and then use them in selection mode.

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2001
    Posts
    3

    Re: Selection & gluNurbsSurface

    Originally posted by RandyU:
    WINSDK:"When using gluPickMatrix to pick NURBS, be careful to turn off the NURBS property GLU_AUTO_LOAD_MATRIX. If GLU_AUTO_LOAD_MATRIX is not turned off, then any NURBS surface rendered is subdivided differently with the pick matrix than the way it was subdivided without the pick matrix."
    But if you want to select not whole NURBS but only it's knots it's better to place some objects(like balls) in place of control points and then use them in selection mode.
    Dear RandyU,
    thank you very much for greate help, and I have solved the problem. By the way, there are two question.
    1. The sentence after "WINSDK" seems a sentence on one book or paper, can you show me where the sentence from? If I could find the related subject, it may be more usefull.

    2. There are three kind of display modes (fill, polygon, path). When in fill mode, some selected object(ball) are incorrect. But in polygon or path mode, all the object could be selected correctly. Could some method to solve it?

    thank for all response.
    tatung

  4. #4
    Senior Member Regular Contributor
    Join Date
    Oct 2000
    Location
    Donetsk,Ukraine
    Posts
    118

    Re: Selection & gluNurbsSurface

    I meant WinApi Help that comes with Delphi5, C++Builder and BC5.
    As for display modes, do you render NURBS in selection mode? Better render only control points(balls). This bug may be due to both NURBS and ball are selected, and your buffer parser can only tell about one selected object. In Polygon and Patch modes there is less chance of selection NURBS.

  5. #5
    Member Newbie
    Join Date
    Jul 2000
    Location
    Millis, MA USA
    Posts
    36

    Re: Selection & gluNurbsSurface

    1. The sentence after "WINSDK" seems a sentence on one book or paper, can you show me where the sentence from? If I could find the related subject, it may be more usefull.

    You can also get this information directly from the microsoft web site (developer tools). At http://msdn.microsoft.com/vstudio/
    search for NURBS. There is a note on gluPickMatrix.

Similar Threads

  1. can you tell me how to use gluNurbsSurface()
    By cilinda520 in forum OpenGL: Windows
    Replies: 1
    Last Post: 10-10-2005, 07:41 AM
  2. can you tell me how to use gluNurbsSurface()
    By cilinda520 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-04-2005, 06:51 PM
  3. how to use gluNurbsSurface()
    By cilinda520 in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 10-03-2005, 11:47 PM
  4. gluNurbsSurface
    By snupinokio in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 07-17-2003, 06:40 AM
  5. gluNurbsSurface
    By snupinokio in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 07-17-2003, 06:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean