Lurker News
It's been closed source for a long time while I worked on it on and off as a hobby research project, but yesterday the repo was made public for the first time under the MPL 2.0 license.

A feature reel showing its capabilities can be found here: https://ktstephano.github.io/rendering/stratusgfx/feature_re...
A technical breakdown of a single frame can be found here: https://ktstephano.github.io/rendering/stratusgfx/frame_anal...
It's still in a very beta state (bugs and instability expected), but I felt like it was a good time to make it public since a lot of its core features are mostly presentable. I plan to continue working on it in my spare time to try and improve the usability of the code.
Two main use cases I could see for it:
1) People using it for educational purposes.
2) People integrating it into other more general purpose engines that they're working on since Stratus is primarily a rendering engine. Any extensions to the rendering code that are made public would then further help others.
So I think it will remain very niche but I'm hoping it will still be helpful for people in the future.

Comments (82) 29 threads

Earlier comments
jarrell_mark2 replies#
Nice choice of license. MPL. Much clearer and straightforward than LGPL. Existing files and changes to them must stay MPL licensed. New files can be any other license.
actionfromafar#
LGPL is pretty clear, it's just not very convenient. It's only unclear when your start going through mental hoops to make it seem more laisser-faire than it is.

For instance, it's just about impossible to distribute an iOS application in a kosher way.

ktstephano#
I only recently learned about the MPL and I'm a fan. It seems to be a really nice alternative to GPLv3 and LGPL and offers a lot of convenience while still being copyleft.
werdnapk2 replies#
I'd recommend using lower resolution inline images on your pages... they're very slow to download.
nine_k2 replies#
The images are fine, they just need to be hosted somewhere faster, like maybe Cloudflare, or even just S3.
ktstephano1 reply#
I'll look into both of those. I've been trying to figure out a way to move away from using GitHub as storage for images and 3D assets and one of those might be the answer.
nine_k1 reply#
Sorry, my suggestions are useless; the problem is in the PNG format (and indeed the raw byte size), not in the lack of CDN (see sibling thread).

Continue this thread — 1 reply

thangngoc892 replies#
It’s on Github Pages so CDNed by fastly already
nine_k#
Oh snap, indeed!

An image of this size should not be so heavyweight, but the images are PNG, not JPG or webP. This is why they are so slow.
I would consider adding JPG previews with links to PNG images for those who want to see every pixel as rendered.

naet#
I've sped up Github pages hosted sites significantly by adding Cloudflare's CDN. Github has something but it isn't as good out of the box.
Cthulhu_#
Is it getting hugged to death? I can imagine Github has bandwidth limits for pages.
nine_k1 reply#
Looks impressive! Especially for real-time.

What kind of hardware does it expect, and what's the FPS? (I know that performance may be far from what the architecture allows at this early stage.) What kind of API is it using: DX12? Metal? OpenGL? I did not seem to be able to find it mentioned.

ktstephano1 reply#
Thanks! In most of the demo scenes it can get 60+ fps at 900p and 1080p on an Nvidia GTX 1060. That's currently the only hardware I can test it on. On more difficult scenes from the demos I can generally get 30-45 fps.

Its backend only supports OpenGL right now. I think for a long term goal migrating to Vulkan would be a great option since it would unlock MacOS while still allowing Windows and Linux to run it.

sosodev1 reply#
Do you think it would be possible to reduce the version requirements to OpenGL 4.3 / OpenGL ES 3.0? Then it might possible to port this engine to WebGL2 and WASM and support all platforms via the browser. Maybe that's a silly idea but I think it would be really cool and perhaps easier than porting to Vulkan :)
ktstephano3 replies#
You know it actually might be. Three big things it requires are Multi-Draw Indirect (looks to be available in 4.3), shader storage buffers (looks like it's also available in 4.3) and compute shaders which 4.3 should have too.

I don't know much about WebGL2 - do you happen to know if dropping the requirement to GL 4.3 would be enough to make it compatible with WebGL2?

Continue this thread — 3 replies

Load more comments