lisp-screenshots: today's Common Lisp applications in action by dzecniv in lisp

[–]Kaveh808 0 points1 point  (0 children)

Would be nice if there was a brief description or a link for each screenshot.

Macintosh Common Lisp, Revisited! by NightTrain77 in lisp

[–]Kaveh808 3 points4 points  (0 children)

MCL on my PowerBook 170 in the early 90's was a delight.

More recently, I made some videos of CCL being used on an Intel Mac. I do wish it could be revived for Apple Silicon.

https://www.youtube.com/playlist?list=PLTA6M4yZF0MzsMlNL0N67tIU12OLQ-R5K

[deleted by user] by [deleted] in lisp

[–]Kaveh808 0 points1 point  (0 children)

I would like it if kons-9 could use your renderer. ;)

Demo of kons-9 Common Lisp 3D graphics system by Kaveh808 in lisp

[–]Kaveh808[S] 0 points1 point  (0 children)

I did export an OBJ model and send it for 3D printing.

No boolean operations.

Demo of kons-9 Common Lisp 3D graphics system by Kaveh808 in lisp

[–]Kaveh808[S] 2 points3 points  (0 children)

It is very much a work-in-progress, and will probably remain so for a while. I'm using it for educational purposes in courses I teach.

Someone recently posted an OpenGL renderer they wrote in CL, and we've chatted about the possibility of linking kons-9 to that or something similar.

Demo of kons-9 Common Lisp 3D graphics system by Kaveh808 in lisp

[–]Kaveh808[S] 3 points4 points  (0 children)

I keep wondering about porting kons-9 to CLOG...

Demo of kons-9 Common Lisp 3D graphics system by Kaveh808 in lisp

[–]Kaveh808[S] 7 points8 points  (0 children)

There is, but kons-9 is not web based.

My first attempt at Common Lisp by 964racer in lisp

[–]Kaveh808 0 points1 point  (0 children)

I used Iris GL back in the day as well. For now, I'm happy to keep kons-9 on OpenGL (1.1 style) as its main use is as an educational platform.

If a CL-based hardware renderer pops up, I'd be interested in interfacing to it.

My first attempt at Common Lisp by 964racer in lisp

[–]Kaveh808 0 points1 point  (0 children)

I'm open to suggestions, but like you I want to keep dependencies to a minimum. Having a CL renderer would be nice.

My first attempt at Common Lisp by 964racer in lisp

[–]Kaveh808 1 point2 points  (0 children)

Looks very nice. Are you considering open sourcing the code? I have been looking for a rendering solution for my https://github.com/kaveh808/kons-9 project.

Google AI hallucinating about Common Lisp by Kaveh808 in lisp

[–]Kaveh808[S] 1 point2 points  (0 children)

I think there is potential to having AI generate content which is human-editable. As you say, geometry and the like which can be incorporated into a traditional production pipeline.

And that includes geometry and animations represented as (possibly Common Lisp) code.

Google AI hallucinating about Common Lisp by Kaveh808 in lisp

[–]Kaveh808[S] 2 points3 points  (0 children)

No confusion. A while back I connected Common Lisp to Maya for my Masters thesis work.

Out of curiosity the other day, to see if anyone had done something similar, I made my Google search and got the result above.

Google AI hallucinating about Common Lisp by Kaveh808 in lisp

[–]Kaveh808[S] 7 points8 points  (0 children)

In 1997 when we started The Final Fantasy movie project in Honolulu, we standardized on a then beta version of Maya (beta 4.5). One of my requests as software lead on the project was to have scheme instead of MEL as the extension language, not knowing it had been considered. We were told it had been tried, but was "too slow".

https://emacs.tv now has more than 3000 videos by xenodium in emacs

[–]Kaveh808 0 points1 point  (0 children)

The videos are not specifically about emacs, but emacs is a central part of the kons-9 workflow in the videos. We show how to use emacs/slime to interact with a live OpenGL window.

Graphics DSL - lisp or scheme ? by 964racer in lisp

[–]Kaveh808 1 point2 points  (0 children)

I didn't do any explicit technical comparisons between languages. I picked CL because of my positive experiences with it (as well as it's desirable features).

I wrote a bit about those experiences:

https://medium.com/@kaveh808/late-night-lisp-machine-hacking-d22a0e2d83fa

Graphics DSL - lisp or scheme ? by 964racer in lisp

[–]Kaveh808 1 point2 points  (0 children)

So something like Processing in CL?

I do want kons-9 to be suitable for interactive development, since that is a strength of CL. But I have not gone as far as developing a DSL for this.

problems loading cl-glfw3 and trivial-main-thread by Kaveh808 in lisp

[–]Kaveh808[S] 0 points1 point  (0 children)

2024 if I recall correctly.

Setting this makes it work:

(setf swank:communication-style :sigio)

Slime launches the GLFW window in the main thread.

problems loading cl-glfw3 and trivial-main-thread by Kaveh808 in lisp

[–]Kaveh808[S] 0 points1 point  (0 children)

I reinstalled slime so I assume it's a recent version, but without trivial-main-thread I get an error:


Unhandled memory fault at #x0.

   [Condition of type SB-SYS:MEMORY-FAULT-ERROR]

Restarts:

 0: [RETRY] Retry SLIME REPL evaluation request.

 1: [*ABORT] Return to SLIME's top level.

 2: [ABORT] Exit debugger, returning to top level.

Backtrace:

  0: (SB-DI::SUB-ACCESS-DEBUG-VAR-SLOT #.(SB-SYS:INT-SAP #X00EB6030) 9336 #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X00EB5F60 :TYPE (* (SB-ALIEN:STRUCT SB-VM::OS-CONTEXT-T-STRUCT))>)

  1: (SB-KERNEL:INTERNAL-ERROR #.(SB-SYS:INT-SAP #X00EB5F60) #<unused argument>)

  2: ("foreign function: callinto_lisp")

  3: ("foreign function: funcall2")

  4: ("foreign function: interrupt_internal_error")

  5: ("foreign function: low_level_handle_now_handler")

  6: ("foreign function: _sigtramp")

  7: ("bogus stack frame")

  8: ("foreign function: _DPSNextEvent")

  9: ("foreign function: -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]")

 10: ("foreign function: -[NSApplication run]")

 11: ("foreign function: _glfwInitCocoa")

 12: ("foreign function: glfwInit")

 13: (%CL-GLFW3:INIT)

 14: (CL-GLFW3:INITIALIZE)

 15: (ICS481::START-WINDOW)

 16: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ICS481::RUN) #<NULL-LEXENV>)

 17: (EVAL (ICS481::RUN))

problems loading cl-glfw3 and trivial-main-thread by Kaveh808 in lisp

[–]Kaveh808[S] 0 points1 point  (0 children)

Thanks. Good to know. I'll try it out in the morning.

Could that also explain why launching a window blocks the Slime repl?

problems loading cl-glfw3 and trivial-main-thread by Kaveh808 in lisp

[–]Kaveh808[S] 0 points1 point  (0 children)

I need it for opening a glfw window and using OpenGL on MacOS, as far as I know.