Using OpenGL with PLT Scheme

On 19-Jun-2003, Scott Owens exp-tagged a rewritten version of sgl in PLT CVS that I think should be used in lieu of all other OpenGL bindings packages for PLT. I will tweak my demos for the new bindings, and rework this Web page.

Here are some notes on using OpenGL with PLT Scheme. This page was created 23-Nov-2002, and will be updated as I have more information. Please email additions.

I'm currently using Scott Owens' SGL bindings, which use the special OpenGL hooks in the MrEd canvas% object class. (Note: As of 08-Dec-2002, there is a known problem with SGL on Windows.)

Also now available is Robert Kooima's GLSCM, which are OpenGL 1.3 bindings for MzScheme, currently without MrEd canvas support. I plan to try this out.

Carlos Eduardo Scheideggar has made some GLUT bindings (file glutscm-0.1.tar.bz2).

One demo using SGL is gears.ss, which was ported from glxgears.c.

 screenshot of 3-D gears

Another demo using SGL is teapot.ss, a rendering of the Newell Teapot.

 screenshot of 3-D teapot

Site © 1994-2008 Neil Van Dyke   neil@neilvandyke.org    XHTML 1.0 Strict  CSS2    Legal