Article 4591 of comp.sys.amiga: Path: mcdsun!noao!hao!gatech!seismo!esosun!ucsdhub!sdcsvax!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Super Splurge: BEZIER CUBIC SURFACES! (source and executable) Message-ID: <8705130658.AA24676@cory.Berkeley.EDU> Date: 13 May 87 06:58:05 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 899 For those of you who don't know what a Bezier Cubic surface is, it's a way of defining a curved surface in 3D. The Bezier Cubic uses 16 control points to define the surface. The mouse control is somewhat trickier than my previous postings, so I added a '?' gadget that you can click on to get help. I fear that many of you will not appreciate the speed that this thing updates in the window when you move control points around. Just keep in mind the fact that the algorithm is basically n^2 where n is the granularity, and involves a *huge* amount of matrix algebra to boot. The source is incredibly optimized (though I didn't resort to assembly language), and only those who are familar with Hermite/Bezier/Bspline surfaces will understand what I did to get the speed. Feel free to add automation and other bells and whistles!! -Matt