[Openmcl-devel] openGL
Gary Byers
gb at clozure.com
Tue Dec 17 16:11:40 PST 2002
On Tue, 17 Dec 2002, Gary Byers wrote:
>
> One helpful step in the process of getting any set of OpenGL bindings to
> work in OpenMCL would be to translate the header files. (There are
> OpenGL interfaces for OpenMCL under LinuxPPC, but not under OSX. I'd
> guess that the LinuxPPC versions might -almost- work, but no sense
> in pressing the issue ...)
>
I put the result of running
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h
/System/Library/Frameworks/GLUT.framework/Headers/glut.h
through OpenMCL's interface translator (on an OSX 10.2 system) at:
<ftp://clozure.com/pub/darwin-gl-interfaces.tar.gz>
That's hopefully adequate to enable people to do:
(use-interface-dir :gl)
and refer to OpenGL/GLUT constants and functions via OpenMCL's FFI.
I don't know enought about OpenGL to know if that set of translated
header files is complete; it seems to be about equivalent to what
OpenMCL's provided for GL under LinuxPPC.
That's a ways from having a good lisp interface to OpenGL, but it's
presumably a necessary step.
What needs to be done in order to get something to actually appear
on the screen seems to depend on R'ing TFM; I'll try to do so soon.
More information about the Openmcl-devel
mailing list