cc @Tojiro @NellWaliczek @cwilso @Lady_Ada_King
I’d be curious what y’all think about making more of the XR API available in a worker by default.
-
-
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
I think you could still change the color of each InstancedMeshes with `InstancedBufferAttribute`: ballGeometry.setAttribute('color', new THREE.InstancedBufferAttribute(new THREE.Color(/* some color... */), 3))
-
`setAttribute()`? That looks like A-Frame, not ThreeJS. Or am I missing something.
- Još 4 druga odgovora
Novi razgovor -
-
-
You added back in the multiplications?
-
No, they are still gone. I _did_ switch to prepared ArrayBuffer views, tho:https://gist.github.com/surma/83878d60b1edb0bb7d0cfd46c8b8cc56#file-worker-js-L40-L41 …
Kraj razgovora
Novi razgovor -
-
-
https://twitter.com/nicolocarp/status/1204841439160684549?s=19 … We used the same idea here on jsartoolkit5, to build an OSS image target web AR
Put all the computation on a worker to keep the camera stream smooth
0:07Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Great post! Ran into some similar issues recently with copying vs transferring ArrayBuffer. Ended up with two copies for each position, quaternion and velocity. One copy for rendering and one for physics in the worker. Not doing XR but still have issues on mobile.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Anyway, putting part of the 3D scene in a worker was pretty awesome, man! Thank you for sharing! And for comlink!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Extremely cool, this really makes VR dev feel more approachable to me. Thanks for sharing!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Your slanted headers make me dizzy. Are they actually angles or is it just the context?
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
Craving simplicity, finding it nowhere.
New blog post: Keeping the frame rate stable is important, but for XR apps it is absolutely crucial. Workers can help!
To make my point, I refactored a 