Live data from Hacker News

Purely Functional 3D in Typed Racket [video]

youtube.com

1–10 of 12 posts

Re: Purely Functional 3D in Typed Racket [video]

#2
If you jump to 11:52, you’ll see a neat demo that shows off the engine’s performance: 70,000 spheres (ray traced on the card), 500 lights, at 60 frames per second. Great stuff!

http://www.youtube.com/watch?v=t3xdv4UP9-U&t=11m52s

The source code is available on GitHub:

https://github.com/ntoronto/pict3d

Re: Purely Functional 3D in Typed Racket [video]

#3

If you jump to 11:52, you’ll see a neat demo that shows off the engine’s performance: 70,000 spheres (ray traced on the card), 500 lights, at 60 frames per second. Great stuff! http://www.youtube.com/watch?v=t3xdv4UP9-U&t=11m52s The source code is available on GitHub: https://github.com/ntoronto/pict3d

Honestly, I'm not sure if I should be impressed with the demo they showed. I haven't given the code a read, so take this with a grain of salt, but I feel like the exact demo they showed off was mostly a graphics card demo. You can get most, if not all, of that scene rendered purely on the graphics card itself using fancy shaders without needing to hit the CPU very much. I feel like I would have been much more impressed if they had created something such as a level from Megaman (since they showed a sprite of Megaman near the start) that the presenter was able to play. I would consider it more impressive since it would have to spend more time in Racket dealing with physics, collision, AI, etc. instead of spending the majority of the time on the graphics card. Hopefully they'll be able to show off a demo like that soon (if one doesn't exist already) to really show off the capabilities of the engine inside Racket. Honestly though, the whole project is exciting for me since they're really just trying to explore new ways of writing games. I'm looking forward to what they do in the future.

Re: Purely Functional 3D in Typed Racket [video]

#4

If you jump to 11:52, you’ll see a neat demo that shows off the engine’s performance: 70,000 spheres (ray traced on the card), 500 lights, at 60 frames per second. Great stuff! http://www.youtube.com/watch?v=t3xdv4UP9-U&t=11m52s The source code is available on GitHub: https://github.com/ntoronto/pict3d

Honestly, I'm not sure if I should be impressed with the demo they showed. I haven't given the code a read, so take this with a grain of salt, but I feel like the exact demo they showed off was mostly a graphics card demo. You can get most, if not all, of that scene rendered purely on the graphics card itself using fancy shaders without needing to hit the CPU very much. I feel like I would have been much more impress…

It seems like the interesting thing is that it's a purely functional API. I don't thing they were trying to demonstrate that the language is fast.

Re: Purely Functional 3D in Typed Racket [video]

#5

If you jump to 11:52, you’ll see a neat demo that shows off the engine’s performance: 70,000 spheres (ray traced on the card), 500 lights, at 60 frames per second. Great stuff! http://www.youtube.com/watch?v=t3xdv4UP9-U&t=11m52s The source code is available on GitHub: https://github.com/ntoronto/pict3d

Honestly, I'm not sure if I should be impressed with the demo they showed. I haven't given the code a read, so take this with a grain of salt, but I feel like the exact demo they showed off was mostly a graphics card demo. You can get most, if not all, of that scene rendered purely on the graphics card itself using fancy shaders without needing to hit the CPU very much. I feel like I would have been much more impress…

The presentation just before the "3D" one demonstrated a purely functional SNES-inspired engine, with sprites of Megaman, etc.

Relevant HN thread: https://news.ycombinator.com/item?id=8381274

Re: Purely Functional 3D in Typed Racket [video]

#6
post #4

Earlier quoted context omitted.

Honestly, I'm not sure if I should be impressed with the demo they showed. I haven't given the code a read, so take this with a grain of salt, but I feel like the exact demo they showed off was mostly a graphics card demo. You can get most, if not all, of that scene rendered purely on the graphics card itself using fancy shaders without needing to hit the CPU very much. I feel like I would have been much more impress…

It seems like the interesting thing is that it's a purely functional API. I don't thing they were trying to demonstrate that the language is fast.

Exactly. The engine is able to make excellent use of the GPU while sporting a purely functional API in Racket, a dialect of Lisp.

Re: Purely Functional 3D in Typed Racket [video]

#7

If you jump to 11:52, you’ll see a neat demo that shows off the engine’s performance: 70,000 spheres (ray traced on the card), 500 lights, at 60 frames per second. Great stuff! http://www.youtube.com/watch?v=t3xdv4UP9-U&t=11m52s The source code is available on GitHub: https://github.com/ntoronto/pict3d

Honestly, I'm not sure if I should be impressed with the demo they showed. I haven't given the code a read, so take this with a grain of salt, but I feel like the exact demo they showed off was mostly a graphics card demo. You can get most, if not all, of that scene rendered purely on the graphics card itself using fancy shaders without needing to hit the CPU very much. I feel like I would have been much more impress…

As other said, it was a matter at bridging fast hardware with a lisp (racket) and its composable objects.

Re: Purely Functional 3D in Typed Racket [video]

#10
The talk says it doesn't work on OS X because of which versions of OpenGL are supported. Neil, is that just because you don't know very well how to use the particular version OS X supports, or are there critical features of your Pict3D engine that won't work in OS X's version?

(I like to do all my for-fun projects in OS X.)

Post reply on HN