Lucas Gomes
Lucas Gomes
There are ways to solve 'this problem' without webworkers or alternatives like that, it's not necessary for all objects in a scene to be recalculated within raycasting, since everything outside...
At first, I couldn't say a smart way to do this, I think the solution doesn't need to depend on an implementation with webworkers (of course it would be ideal...
An initial solution could be to provide some kind of hook that would force the raycast to be recalculated. So it's up to the user to handle this in their...
> https://playground.babylonjs.com/#ECMXID#22 > > A little better proof of concept. Really loved that, even more playing with specular, diffuse and intensity of different lights. The possibilities for this are many......
> +1 and it's not just a mouse this would be useful for: > > * Many Android devices have pens with some form of "air hover" feature, e.g. the...
Looking at the react-native code I found that this kind of pointer event seems to be under development and we will get there soon. https://github.com/facebook/react-native/commit/6e5cefe604786c1883ca09febee0792af7ce1b34
Btw, seems @lunaleaps is actively working on it... Thank you a lot ❤️  https://github.com/facebook/react-native/commits?author=lunaleaps
> Why would you want this? > > WebWorkers are a **web API**, all web APIs have heavy restrictions with them in order to comply with isolation and security features....
Anyway I would still love to see React Native bring an official solution related to multithreading / multiprocessing...
May this can help • [expo/packages/expo-gl-cpp/cpp EXGLNativeMethods](https://github.com/expo/expo/blob/d8c4a4f298a00216e26ce844faeaa0efe1d7175f/packages/expo-gl-cpp/cpp/EXGLNativeMethods.cpp#L275) • [three.js/src/renderers/webgl WebGLTextures](https://github.com/mrdoob/three.js/blob/6f11651b4292ede002f71f352a55684e20cc5129/src/renderers/webgl/WebGLTextures.js#L504) • [khronos OpenGL ES 2.0 glPixelStorei](https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glPixelStorei.xml)