[cl-opengl-devel] Some issues porting an example from nehe.gamedev.net

2009-10-05 Thread Malcolm Reynolds
Hello, I'll start by saying I'm fairly new to Common Lisp and almost entirely new to doing any practical graphics programming, and I could well have missed something hugely obvious here.. but I hope not. I'm going to need to write some graphics code in the phd program I've just started. Someone p

Re: [cl-opengl-devel] Some issues porting an example from nehe.gamedev.net

2009-10-05 Thread Bart Botta
On Mon, Oct 5, 2009 at 1:43 PM, Malcolm Reynolds wrote: > Working version (objective C): http://img260.imageshack.us/i/picture3g.png/ > Non working version: http://img209.imageshack.us/i/picture4k.png/ > > In case it's not clear, in the non-working version above the corner > you see in the pyramid

Re: [cl-opengl-devel] Some issues porting an example from nehe.gamedev.net

2009-10-05 Thread Malcolm Reynolds
> Right, you probably need to enable a depth buffer, and you probably > also want double buffering on modern platforms, both are controlled by > the :mode parameter to glut:window instance creation, easiest way to > fix that is changing the ":mode '(:single :rgb)" in the (defclass > test-window ...

Re: [cl-opengl-devel] Some issues porting an example from nehe.gamedev.net

2009-10-05 Thread Bart Botta
On Mon, Oct 5, 2009 at 4:10 PM, Malcolm Reynolds wrote: >> You may also want to get rid of the (glut:post-redisplay) in the >> keyboard method, since that kills my lisp when i try to exit the >> window > > Okay. Is putting #'glut:post-redisplay into my method on #'glut-idle > the preferred way (or

[cl-opengl-devel] sdl:set-gl-attribute

2009-10-05 Thread Luke J Crook
Pardon the question concerning lispbuilder-sdl in this list, but I have a feeling more developers here use lispbuilder-sdl and cl-openl in combination and I may have a better chance of having this question answered. The set-gl-attribute command in lispbuilder-sdl breaks when using SBCL in Wind