Advertisement Jump to content
Sign in to follow this  
Maze Master

Lisp: draw a triangle in 3D

This topic is 3012 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've got a simple prototype program in common lisp that generates meshes based on various input parameters. I'd like to interactively plot the mesh while I change the parameters with slider bars. However, my experience with lisp so far is pretty academic - I've never gotten graphical libraries to actually work in it.

What I need:
1) graphical slider bars that update values or call functions as they are dragged
2) ability to plot triangles in 3D
3) ability to control where the camera is located in space and what direction it's looking in

a) using SBCL Common Lisp
b) works with windows or linux (I don't have a mac)

Not important:
i) it doesn't have to be super fast

What are some good libraries for doing simple graphical stuff like this in lisp?

Thanks for any help!

Share this post

Link to post
Share on other sites
You should check cl-opengl repo here:

there are useful examples, and some tutorials here:

With SBCL - if you stay away from threads (not yet production ready on Windows) if you want both Linux/Windows.

Also - for handling objects and input, both and are worth checking (at least for inspiration).
I have seen a until-it-dies 3d - with OpenGL backend on github somewhere, but couldn't find it now.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!