[Openmcl-devel] basic OpenGL window animation on OSX

Bill St. Clair billstclair at gmail.com
Wed Feb 23 21:39:51 PST 2022


I have added the openmcl-devel mailing list to the recipient list for this
message. Hopefully, somebody there can help you.

On Thu, Feb 24, 2022 at 12:33 AM Kaveh Kardan <kaveh at kardanphotography.com>
wrote:

> I understand. :) I remember you from my days of using MCL on my PowerBook
> 170.
>
> Is there someone else at Clozure who may be able to help?
>
>
> On Wed, Feb 23, 2022 at 7:28 PM Bill St. Clair <billstclair at gmail.com>
> wrote:
>
>> Ah. I used to know how to make the Cocoa Bridge work, but since I
>> retired, I've been letting go of much of my programming programming.
>>
>> On Wed, Feb 23, 2022 at 10:06 PM Kaveh Kardan <
>> kaveh at kardanphotography.com> wrote:
>>
>>> Hi Bill,
>>>
>>> I'm not writing for the browser, but just some Cocoa OSX code in ccl. I
>>> have a feeling adding a couple of lines to the OpenGL demo should be all
>>> that's needed, but can't figure out the ffi format for NSTimer and such.
>>>
>>> Even an example of drawing explicitly (with-focused-view ...) in the
>>> Cocoa Bridge sample code would be helpful. That used to work but no longer.
>>>
>>> Regards,
>>>
>>> Kaveh
>>>
>>>
>>>
>>> On Wed, Feb 23, 2022 at 4:34 PM Bill St. Clair <billstclair at gmail.com>
>>> wrote:
>>>
>>>> I haven’t messed with OpenGL in the browser in a long time. But you
>>>> have the right idea. I write my JavaScript in Elm.
>>>>
>>>> On Wed, Feb 23, 2022 at 7:38 PM Kaveh Kardan <
>>>> kaveh at kardanphotography.com> wrote:
>>>>
>>>>> Greetings,
>>>>>
>>>>> I am trying to get something very simple working and was wondering if
>>>>> you knew someone who could help.
>>>>>
>>>>> I want to open an OpenGL window and draw into it and see the results
>>>>> in real time. So basically loop over a draw function and get real-time
>>>>> updates. I can't tell if I need to use an NSTimer or if there is a simpler
>>>>> way.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Kaveh
>>>>>
>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20220224/4fec07fc/attachment.htm>


More information about the Openmcl-devel mailing list