From: Nils Stritzel
Subject: Newbie question: LispWorks and OpenGL with Mac OS X
Date: 
Message-ID: <cokhrt$qde$01$3@news.t-online.com>
Hi!
At the moment I am trying to figure out which Lisp developement 
environment to use to develope a program using LispWorks and OpenGL. 
Since I am rather new to Lisp I hope you will excuse me, if I don't see 
the obvious.
I have installed the LispWorks Demo and found OpenGL folder and copied to ~/
Then I did the following:
 (load "/Users/nrms/opengl/host.lisp")
 (load "OPENGL:compile")

But where do I go from here and especially how I get those example in 
the examples subfolder running?
If anyone know some good documentation about LispWorks+OpenGL that 
would be nice, too.
Thanks in advance!

Bye,

Nils

From: Jeff M.
Subject: Re: Newbie question: LispWorks and OpenGL with Mac OS X
Date: 
Message-ID: <1101918531.011727.264120@f14g2000cwb.googlegroups.com>
Out of curiosity, what's wrong with the LispWorks environment. I think
its fantastic. Is there some feature you need that it doesn't provide?
Jeff M.
From: John Thingstad
Subject: Re: Newbie question: LispWorks and OpenGL with Mac OS X
Date: 
Message-ID: <opsiccgid4pqzri1@mjolner.upc.no>
On 1 Dec 2004 08:28:56 -0800, Jeff M. <·······@gmail.com> wrote:

> Out of curiosity, what's wrong with the LispWorks environment. I think
> its fantastic. Is there some feature you need that it doesn't provide?
> Jeff M.
>

well. Mousewheel is only supported in the last version.
and drag and drop isn't supported at all.
appart from that it's pretty cool.

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
From: Friedrich Dominicus
Subject: Re: Newbie question: LispWorks and OpenGL with Mac OS X
Date: 
Message-ID: <87is7l29z7.fsf@fbigm.here>
Nils Stritzel <·············@gmx.net> writes:

> Hi!
> At the moment I am trying to figure out which Lisp developement
> environment to use to develope a program using LispWorks and
> OpenGL. Since I am rather new to Lisp I hope you will excuse me, if I
> don't see the obvious.
> I have installed the LispWorks Demo and found OpenGL folder and copied to ~/
> Then I did the following:
>  (load "/Users/nrms/opengl/host.lisp")
>  (load "OPENGL:compile")
>
> But where do I go from here and especially how I get those example in
> the examples subfolder running?
> If anyone know some good documentation about LispWorks+OpenGL that
> would be nice, too.

It's just one example and it's too complex to start with IMHO. I
suggest you download the cl-sdl-demos and see the nehe-tutorial in it
is starts with simple things like:
in-package #:nehe-tutorials)

(defun draw-gl-scene1 (surface)
  (declare (ignorable surface))
  (gl:clear-color 0f0 0f0 0f0 0f0)
  (gl:clear (logior gl:+color-buffer-bit+
                    gl:+depth-buffer-bit+))
  (gl:load-identity)
  (gl:translate-f -1.5f0 0.0f0 -6.0f0)

  (gl:begin gl:+triangles+)
  (gl:color-3f 1f0 1f0 1f0)
  (gl:vertex-3f 0f0 1f0 0f0)
  (gl:vertex-3f -1f0 -1f0 0f0)
  (gl:vertex-3f 1f0 -1f0 0f0)
  (gl:end)
  
  (gl:translate-f 3f0 0f0 0f0)

  (gl:begin gl:+quads+)
  (gl:vertex-3f -1f0 1f0 0f0)
  (gl:vertex-3f 1f0 1f0 0f0)
  (gl:vertex-3f 1f0 -1f0 0f0)
  (gl:vertex-3f -1f0 -1f0 0f0)
  (gl:end)
  (sdl:gl-swap-buffers)
  t)

and what is documented at:
http://nehe.gamedev.net/

Regards
Friedrich

-- 
Please remove just-for-news- to reply via e-mail.
From: nils stritzel
Subject: Re: Newbie question: LispWorks and OpenGL with Mac OS X
Date: 
Message-ID: <col729$omh$01$3@news.t-online.com>
Actually I just see any OpenGL from LispWorks and tought the easiest 
way might using the examples delievered with LispWorks. Unfortunately 
the documentation is rather fuzzy (at least for me) and want to learn 
how to LispWorks before I decide whether I want to use it.

On 2004-12-01 18:40:12 +0100, Friedrich Dominicus 
<···················@q-software-solutions.de> said:

> Nils Stritzel <·············@gmx.net> writes:
> 
>> Hi!
>> At the moment I am trying to figure out which Lisp developement
>> environment to use to develope a program using LispWorks and
>> OpenGL. Since I am rather new to Lisp I hope you will excuse me, if I
>> don't see the obvious.
>> I have installed the LispWorks Demo and found OpenGL folder and copied to ~/
>> Then I did the following:
>> (load "/Users/nrms/opengl/host.lisp")
>> (load "OPENGL:compile")
>> 
>> But where do I go from here and especially how I get those example in
>> the examples subfolder running?
>> If anyone know some good documentation about LispWorks+OpenGL that
>> would be nice, too.
> 
> It's just one example and it's too complex to start with IMHO. I
> suggest you download the cl-sdl-demos and see the nehe-tutorial in it
> is starts with simple things like:
> in-package #:nehe-tutorials)
> 
> (defun draw-gl-scene1 (surface)
>   (declare (ignorable surface))
>   (gl:clear-color 0f0 0f0 0f0 0f0)
>   (gl:clear (logior gl:+color-buffer-bit+
>                     gl:+depth-buffer-bit+))
>   (gl:load-identity)
>   (gl:translate-f -1.5f0 0.0f0 -6.0f0)
> 
>   (gl:begin gl:+triangles+)
>   (gl:color-3f 1f0 1f0 1f0)
>   (gl:vertex-3f 0f0 1f0 0f0)
>   (gl:vertex-3f -1f0 -1f0 0f0)
>   (gl:vertex-3f 1f0 -1f0 0f0)
>   (gl:end)
>     (gl:translate-f 3f0 0f0 0f0)
> 
>   (gl:begin gl:+quads+)
>   (gl:vertex-3f -1f0 1f0 0f0)
>   (gl:vertex-3f 1f0 1f0 0f0)
>   (gl:vertex-3f 1f0 -1f0 0f0)
>   (gl:vertex-3f -1f0 -1f0 0f0)
>   (gl:end)
>   (sdl:gl-swap-buffers)
>   t)
> 
> and what is documented at:
> http://nehe.gamedev.net/
> 
> Regards
> Friedrich
From: Friedrich Dominicus
Subject: Re: Newbie question: LispWorks and OpenGL with Mac OS X
Date: 
Message-ID: <87sm6pdvhc.fsf@fbigm.here>
nils stritzel <·············@gmx.net> writes:

> Actually I just see any OpenGL from LispWorks and tought the easiest
> way might using the examples delievered with LispWorks. Unfortunately
> the documentation is rather fuzzy (at least for me) and want to learn
> how to LispWorks before I decide whether I want to use it.
I found the LispWork environment quite easy to use. Maybe because of
my "long" term background with Emacs. So I assume you should read the
Manual about the Editor first. The Listener works similiar to a
"normal" command line, so there you just "can play around".


Regards
Friedrich

-- 
Please remove just-for-news- to reply via e-mail.