I spent some time last night checking this demo out following an email from
Brian.  The last time I ran it everything seemed okay, but sure enough there
were some big problems.

I've fixed a few problems with this demo, most importantly:

1) Saved output of tessellation into display lists.  This greatly improved
performance, as the input contours are only tessellated once instead of with
every call to display().  Not sure if this was necessary - see next point.

2) Made all global variables static.  There was some really weird things
happening to the screen width and height variables - they were being trashed
after the tessellation completed.  Don't know what was going wrong, and will
look into this some more.  This basically caused the app to hang while
drawing the grid background.

3) Some other general cleanups associated with the shift to display lists.

I pretty much had it working well last night, but it still crashes every now
and then.  I might send my copy to the list for review before I commit
anything.  Several of the problems may have been associated with my
developmental work (I've changed pretty much all of the winding rule
calculations).

-- Gareth

==============================================
Gareth Hughes        mailto:[EMAIL PROTECTED]
DEFINITYŽ Site Administration Project
Lucent Technologies, Bell Labs Australia ph: +61 2 9352 8608


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to