[cl-opengl-devel] playing with opengl at the repl

Jose A. Ortega Ruiz jao at gnu.org
Sat Jul 12 21:49:40 UTC 2008


Hi,

I'm currently learning OpenGL, using to that end cl-opengl. It comes
without saying that one of the main advantages of using Lisp here is the
ability to experiment interactively at the REPL. The examples i've seen
so far, though, use a blocking call to GLUT:DISPLAY-WINDOW to run (which
is OK for such examples, i don't complain), and i was wondering about
what would be the best way to have an OpenGL/GLUT window open and
manipulate it from a (non-blocked) REPL, maybe even while the GLUT main
loop is running. Threads come to mind (i'm using SBCL on Linux), but
probably more experienced readers of this list will have some other (or
more concrete) advice/code snippets/configurations/whatever to share?
Needless to say, pointers to documentation or examples in any form would
also be very welcome.

Thanks a lot for your time!

Cheers,
jao
-- 
Always have a vision. Why spend your life making other people’s dreams?
 -Orson Welles (1915-1985)




More information about the cl-opengl-devel mailing list