[Openmcl-devel] LUI with OpenGL (was: bad impressions to Lisp newbies)

Alexander Repenning ralex at cs.colorado.edu
Sat Apr 25 18:16:13 PDT 2009

Glad to hear that! Thank you.

here is an open invitation for anybody to explore OpenGL. Try to build  
some of the NeHe examples in Lisp: http://nehe.gamedev.net

This is a great place for OpenGL tutorials. LUI has still a way to go  
but it should be possible and quite simple to translate most of the  
NeHe tutorials into LUI:

- implement at least the draw method, optionally: init, clear- 
background, animate
- basic syntax: C: glVertex3f( 0.0f, 0.0f, 0.0f )  Lisp:  (glVertex3f  
0.0 0.0 0.0)
- constants: C: GL_DEPTH_TEST Lisp:  GL_DEPTH_TEST
- vector constants: C: { 1.0f, 1.0f, 1.0f, 1.0f } Lisp:  { 1.0 1.0 1.0  
1.0 }

That's it. The basic idea is to have the Lisp version to be as close  
as possible to how developers would find code in the OpenGL Red Book.  
It would be great to get some additional examples. I'd love to collect  
as many as possible. I would like to share them with students learning  
graphics via OpenGL.

good luck,  Alex

On Apr 25, 2009, at 2:58 PM, Raffael Cavallaro wrote:

> This is way cool! I've got 10 different opengl demo windows running at
> once, using the camera controls, resizing windows, etc. with no
> problems at all, and CCL cpu usage well under 10% of one cpu. Well  
> done!
> warmest regards,
> Ralph

Prof. Alexander Repenning

University of Colorado
Computer Science Department
Boulder, CO 80309-430

vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf

More information about the Openmcl-devel mailing list