Sample code for vertex arrays

Willem Rein Oudshoorn woudshoo at xs4all.nl
Sun Apr 28 07:39:33 UTC 2013


<markb at parkcity.ne.jp> writes:

> Can anyone provide sample code using vertex arrays?
>
> The program varray.lisp in the redbook examples uses these but things
> like gl:vertex-pointer do not appear to be exported into the cl-opengl
> package.


Yes, I do have some sample code.  The overall code is specific for OSX
but the vertex array bit is generic.  

I have a description of it at:

http://ironhead.xs4all.nl/blog/posts/OpenGL-with-CCL-on-OSX.html

and the complete code is at:

https://github.com/woudshoo/opengl-example

If you run into any problems, don't hesitate to ask.

Kind regards,
Wim Oudshoorn.




More information about the cl-opengl-devel mailing list