ra2@doc.ic.ac.uk (Roger Attrill) (03/13/91)
I've got hold of a version of rayshade 3.0 which has been adapted to do bi-cubic patches. It came with a definition file for the teapot. It works a treat, but I'd really like to know where I can get the source code for the procedures necessary, ie makebcpatch,intbcpatch,nrmbcpatch and bcpatchextent. If anybody has any other additions such as for bezier/beta splines, or anything else I would much appreciate some pointers. I have the rayshade 4.0 beta release, but bcpatches would be nice Ciao Rog.
erich@eye.com (Eric Haines) (03/15/91)
In article <3004@gould.doc.ic.ac.uk> ra2@doc.ic.ac.uk (Roger Attrill) writes: > I've got hold of a version of rayshade 3.0 which has been adapted to >do bi-cubic patches. It came with a definition file for the teapot. It >works a treat, but I'd really like to know where I can get the source >code for the procedures necessary, ie makebcpatch,intbcpatch,nrmbcpatch >and bcpatchextent. If anybody has any other additions such as for >bezier/beta splines, or anything else I would much appreciate some >pointers. I have the rayshade 4.0 beta release, but bcpatches would be >nice. Get the SPD 3.0 package - it now contains the teapot (with or without bottom). It starts with the patch definitions, and you can tessellate at whatever resolution you'd like. Hack the code into whatever you'd like output (there's not much to the code, other than the patch definitions). The SPD 3.0 package is available via anonymous FTP from: weedeater.math.yale.edu [130.132.23.17] among others. For those without FTP access, write to the netlib automatic mailer: research!netlib and netlib@ornl.gov are the sites. Send a one line message "send index" for more information, or "send haines from graphics" for the latest version of the SPD package. Eric Haines, erich@eye.com