4 ms·
Looks cool ... it does lock up my browser for several seconds on startup though - 100% CPU usage.
by DarmokJalad1701 3y ago
Looks cool ... it does lock up my browser for several seconds on startup though - 100% CPU usage.
- dylan604 3y agoThat seems natural, and I totally sympathize with the browser. Browsers are just barely able to handle 3D. Going past that is surely wrecking their minds in the same way it does yours (at least mine).
- 0xndavd 3y agoThat's right, it's a very promising technology, however. ncube started as a native app and making a web port was a plus, using Web Assembly.
- quickthrower2 3y agoBrowsers can absolutely ace 3D, there should be zero issues.
- 0xndavd 3y agoThank you. These web apps work better (or only) with "Hardware acceleration" on. It should make use of the GPU. If it still persists I'd recommend the native binaries, they are always going to be faster.
- iainmerrick 3y agoIt's very strangely browser-dependent -- it runs really slowly in Safari, chugs a bit on Chrome, runs very smoothly in Firefox. Maybe I don't fully understand what's going on here, but what causes it to run slowly? For a 5D cube, I would have thought you only need to transform 32 points. That surely isn't much work per frame. Are you rendering with WebGL?
- 0xndavd 3y agoncube started as a native app. The web port was achieved through Web Assembly. It's possibly that WASM is not well supported in all the browsers yet.
- iainmerrick 3y agoI think WASM support is decent these days but if all the rendering is in software that might explain it. You also mention GPU acceleration, but I believe WebGPU support is still a bit spotty, if that’s what you’re using. WebGL 2 is widely supported and WebGL 1 is nearly universal. Edit to add: I hope I’m not being overly critical -- the app looks very nifty and it’s cool that you were able to bring it to the web at all!
- 0xndavd 3y agoThanks for the feedback, and you are not being overly critical at all! I appreciate the suggestions. I might need to explore my options better because I think even though the web version is a side product it's what people prefer the most (no installation step, etc.), so perhaps it's worth digging deeper into it and make the web app as smooth and compatible as possible.
- blueflow 3y agoIn Chromium without hardware acceleration, i end up on a black page with no text or UI elements except for the source popup.
- david422 3y agoThe page crashes for me.
- deleted 3y ago[deleted]