Hi, I'm rather interested in learning more about OpenGL and how it's used but I unfortunately do not know much C/C++ (only more basic things), do you know if there are any books focusing on 3d programming with Lisp or at least some kind of tutorial which talks about how OpenGL works but without any code?
@Cran1988 I get 60 fps on my desktop machine and at least 30 fps on my laptop. I did use SBCL, but the difference between SBCL and other Lisps is not that noticeable. I think the performance bottlenecks that we had to deal with were more in how we used OpenGL than Lisp-side computations. (E.g. going from direct calls to vertex buffers made a huge difference.) But on the other hand, Lisp is fast enough to do particle systems on the CPU without any trouble, which is definitely nice.
@Cran1988 I think the biggest difference versus Python, Java, Flash, etc, is performance. There was another team that used Python; they could get on the order of 100 particles in their game without lag, while we could get on the order of 5000 particles without lag. I would expect Flash to be similar. Java is about the same speed as Lisp and ought to be fine, but you'd lose a lot of nice abstractions.
I tried Clojure when it was 1.0 and it didn't really feel ready. I might try again some time.
Yes try it , now it is being used from industry , i found 148 jobs that want Clojure developers ... it is still low but it is good enough!!!
Today i found that a group with the name "Ferret" tries to create Clojure compiler that translates the code to c++. I believe that some day LISP will get to game industry even better from Haskell and F#
@deltafire Shadows are in the engine, but were disabled for the initial demo. I don't remember exactly what the trouble was, but it's definitely on my roadmap to get them enabled again.
Hi, I'm rather interested in learning more about OpenGL and how it's used but I unfortunately do not know much C/C++ (only more basic things), do you know if there are any books focusing on 3d programming with Lisp or at least some kind of tutorial which talks about how OpenGL works but without any code?
lpasepok 7 months ago
@lpasepok Google search for 3b opengl tutorial. Other than that, I can only recommend general Lisp books and OpenGL resources for C.
elliottslaughter 7 months ago
is it compiled with SBCL ?
I mean is the performances great ?
Cran1988 8 months ago
@Cran1988 I get 60 fps on my desktop machine and at least 30 fps on my laptop. I did use SBCL, but the difference between SBCL and other Lisps is not that noticeable. I think the performance bottlenecks that we had to deal with were more in how we used OpenGL than Lisp-side computations. (E.g. going from direct calls to vertex buffers made a huge difference.) But on the other hand, Lisp is fast enough to do particle systems on the CPU without any trouble, which is definitely nice.
elliottslaughter 7 months ago
@elliottslaughter
Great job , i like Lisp but i use Clojure.
however i want to see computer game in FP.
Do you think LISP can do a great job from other OO languages , like Python, Java , Flash ?
Cran1988 7 months ago
@Cran1988 I think the biggest difference versus Python, Java, Flash, etc, is performance. There was another team that used Python; they could get on the order of 100 particles in their game without lag, while we could get on the order of 5000 particles without lag. I would expect Flash to be similar. Java is about the same speed as Lisp and ought to be fine, but you'd lose a lot of nice abstractions.
I tried Clojure when it was 1.0 and it didn't really feel ready. I might try again some time.
elliottslaughter 7 months ago
@elliottslaughter
Yes try it , now it is being used from industry , i found 148 jobs that want Clojure developers ... it is still low but it is good enough!!!
Today i found that a group with the name "Ferret" tries to create Clojure compiler that translates the code to c++. I believe that some day LISP will get to game industry even better from Haskell and F#
Cran1988 7 months ago
I think shadows would make a great improvement to the look of the game.
deltafire 8 months ago
@deltafire Shadows are in the engine, but were disabled for the initial demo. I don't remember exactly what the trouble was, but it's definitely on my roadmap to get them enabled again.
elliottslaughter 8 months ago