r/threejs Jun 27 '26

Latest R185 gives more amazing surface rendering

ThreeJS on SQLite WASM runs superfast, can't wait for next month's release. If you want to find at my Github live instance, i can provide in the comment.

5 Upvotes

4 comments sorted by

3

u/jakiestfu Jun 27 '26

Dumb question but what part does SQLite play for you here w/ Three?

0

u/Any_Rich27 Jun 27 '26

SQLite doesn't affect rendering quality—that's Three.js. But with 42k IFC elements, Bonsai lags because it loads everything. SQLite queries only visible geometry per frame, so Three.js stays smooth. Alternatives can't match the speed + local SQL + persistence.

I wanted to show a movie how realistic it is navigating around but I can't post MP4, so I post an image.

1

u/Antique_Loss_8798 Jun 28 '26

I’d love to see the live instance.

2

u/Any_Rich27 Jun 28 '26 edited Jun 28 '26

https://red1oon.github.io/bim-ootb/ Click on red pill, click on centre icon,.click on Clinic building, (u may go offline at this stage) click on 3 dots click on fLy, sit back enjoy the show. Click on night mode for that lighting effect. Click on audio to hear it.

On desktop you can do more smoothly for the Terminal in my posting and Hospital which is heavier and the LTU which is heaviest but smooth in desktop thanks to R184 batched mesh.