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.
markb@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.
cl-opengl-devel@common-lisp.net