Results 1 to 2 of 2

Thread: gluNurbsSurface ... runs slow and slower ... and stops ...

  1. #1
    Andrew Jameson
    Guest

    gluNurbsSurface ... runs slow and slower ... and stops ...

    Hi,
    I decided to add a little more realism to a book ... turning pages ... at the moment a page is simply a hinged plane and it looks like it's made of steel ! So I tried to use a bezier surface ... and failed ...

    I'm using a bezier surface with 12 control points ... based around a simple example by Jan Horn. Now when the program runs, there is a noticeable performance hit that continues to degrade until it all stops ...

    What am I doing wrong ? Are bezier surfaces supported in hardware ?

    Andrew

  2. #2
    Member Contributor
    Join Date
    Jul 2002
    Location
    Southampton, PA, USA
    Posts
    61

    Re: gluNurbsSurface ... runs slow and slower ... and stops ...

    Usually if a program runs slower and slower and then stops, there is a pretty bad memory leak.

    You can open up Task Viewer (assuming Windows 2000/XP here) and monitor the memory usage for your program - be sure to show the Memory Delta column.

    If this is the case, check that you aren't declaring a new pointer in each cycle through your draw function(s). One time I ended up eating through 8mb/sec by doing that Or it could have to do with some sloppy recursion...

Similar Threads

  1. Replies: 1
    Last Post: 08-20-2012, 05:51 AM
  2. same opengl code runs 1/3 slower on windows 7
    By wwuster in forum OpenGL: Advanced Coding
    Replies: 12
    Last Post: 12-11-2009, 01:59 PM
  3. Particles render slower and slower as app runs...
    By Kiamo in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-02-2005, 12:54 AM
  4. gluNurbsSurface ... runs slow and slower ... and stops ...
    By Andrew Jameson in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 06-27-2003, 01:00 PM
  5. Why it runs so slow?!
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-25-2001, 03:12 PM

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