Lisp HUG Maillist Archive

Open GL Support

Hi Lispworks Hug,

I’m in the process of updating an older lispworks project from 2014-ish.

It uses OpenGL, and it looks like there is no longer opengl support in lispworks, or at least I don’t see it in the current docs.

An excerpt from the doc.txt file from the `opengl` directory that was copied in to the project:

```txt
;; -*- Mode: Text; rcs-header: "$Header: /hope/lwhope1-cam/hope.0/compound/61/LISPopengl/RCS/doc.txt,v 1.7.1.1 2006/03/24 14:46:33 davef Exp $" -*-

;; Copyright (c) 1987--2006 LispWorks Ltd. All rights reserved.


LispWorks OpenGL interface
--------------------------


The lispworks library directory examples/opengl contains source code
for a Lisp interface to the OpenGL libraries.

You can use CAPI output-panes as OpenGL windows.  


Installation
------------

To install, copy the entire directory to a working directory of your
own, load the host.lisp file, then evaluate (load "OPENGL:compile").
This will compile all the files needed for the CAPI interface.
```

I’m running into some errors trying to compile it with the directions there, but before I dig in to too much further, I’m wondering if there is an updated copy of the OpenGL support I should be using for development on MacOS with Lispworks 7.1

Cheers,
Steve

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: Open GL Support

Hi again,

I just wanted to check again to see if anyone knows what happened to, and if it still exists, the OpenGL CAPI widget that was around for Lispworks 6.1 from the mid 2000’s. 

Cheers,
Steve


> On Nov 5, 2019, at 7:56 PM, Steven Githens <steve@githens.org> wrote:
> 
> Hi Lispworks Hug,
> 
> I’m in the process of updating an older lispworks project from 2014-ish.
> 
> It uses OpenGL, and it looks like there is no longer opengl support in lispworks, or at least I don’t see it in the current docs.
> 
> An excerpt from the doc.txt file from the `opengl` directory that was copied in to the project:
> 
> ```txt
> ;; -*- Mode: Text; rcs-header: "$Header: /hope/lwhope1-cam/hope.0/compound/61/LISPopengl/RCS/doc.txt,v 1.7.1.1 2006/03/24 14:46:33 davef Exp $" -*-
> 
> ;; Copyright (c) 1987--2006 LispWorks Ltd. All rights reserved.
> 
> 
> LispWorks OpenGL interface
> --------------------------
> 
> 
> The lispworks library directory examples/opengl contains source code
> for a Lisp interface to the OpenGL libraries.
> 
> You can use CAPI output-panes as OpenGL windows.  
> 
> 
> Installation
> ------------
> 
> To install, copy the entire directory to a working directory of your
> own, load the host.lisp file, then evaluate (load "OPENGL:compile").
> This will compile all the files needed for the CAPI interface.
> ```
> 
> I’m running into some errors trying to compile it with the directions there, but before I dig in to too much further, I’m wondering if there is an updated copy of the OpenGL support I should be using for development on MacOS with Lispworks 7.1
> 
> Cheers,
> Steve


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: Open GL Support

I'm using LW Mac 7.0 on macOS 10.14 and it still seems to work OK for the demo application.

(load "path/to/opengl/examples/load")

(setf v (capi:display (make-instance 'icosahedron-viewer)))


John DeSoi, Ph.D.


> On Jan 9, 2020, at 9:43 PM, Steven Githens <steve@githens.org> wrote:
> 
> Hi again,
> 
> I just wanted to check again to see if anyone knows what happened to, and if it still exists, the OpenGL CAPI widget that was around for Lispworks 6.1 from the mid 2000’s. 
> 
> Cheers,
> Steve


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: Open GL Support

Thanks John and Priyadarshan!!

I managed to find and get the demos working on LispWorks 7.1 on MacOS.  Works great, cheers!

-Steve

> On Jan 9, 2020, at 11:41 PM, lisp@gmx.com wrote:
> 
> Same here using LispWork 7.1 on Windows 10. It loads and runs
> smoothly. I didn't explore that directory yet, very nice.
> 
> Thanks for pointing that out.
> 
> Priyadarshan
> 
> 
> 
> Friday, January 10, 2020, 5:40:37 AM, you wrote:
> 
>> I'm using LW Mac 7.0 on macOS 10.14 and it still seems to
>> work OK for the demo application.
> 
>> (load "path/to/opengl/examples/load")
> 
>> (setf v (capi:display (make-instance 'icosahedron-viewer)))
> 
> 
>> John DeSoi, Ph.D.
> 
> 
>>> On Jan 9, 2020, at 9:43 PM, Steven Githens <steve@githens.org> wrote:
>>> 
>>> Hi again,
>>> 
>>> I just wanted to check again to see if anyone knows what happened to, and if it still exists, the OpenGL CAPI widget that was around for Lispworks 6.1 from the mid 2000’s. 
>>> 
>>> Cheers,
>>> Steve
> 
> 
>> _______________________________________________
>> Lisp Hug - the mailing list for LispWorks users
>> lisp-hug@lispworks.com
>> http://www.lispworks.com/support/lisp-hug.html
> 
> 
> 
> -- 
> Best regards,
> lisp@gmx.com<opengl-demo.png>


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Updated at: 2020-12-10 08:29 UTC