Martins Untals

Results 10 comments of Martins Untals

no updates for this? I am trying to do some work on Amazon G2 GPU instance. It feels that I have similar issue - org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes throw null pointer exception when...

is there any way how to use [orbit-three-controls](https://github.com/mattdesl/three-orbit-controls) together with react-three-renderer?

should work without modifying orbitControls.js, if using [orbit-three-controls](https://github.com/mattdesl/three-orbit-controls). Thought I can't really get it to work. Getting some strange warnings about 'unknown prop' after adding ref to React3 tag. Everything...

ok, I went simpler, and it works. See this [gist](https://gist.github.com/martunta/444afbc7284f2ef8bf12d88f0e1dbc12) for super simple implementation.

Hmm, I guess best way would be if I could just pass it as a prop `matrix` to `Object3D`, but looks like this `THREE.Object3D` property is not implemented in as...

your solution works! Now I am trying to create pull request to create it as a prop. But somehow just replicating what is done with `rotation` or `quaternion` in `Object3DDescriptor.js`...

see here https://github.com/martunta/react-three-renderer/tree/adding-matrix-prop not sure how to link it better. but it is change in src/lib/descriptors/Object/Object3DDescriptor.js

ok, `matrixWorldNeedsUpdate = true` or 'updateMatrix`did not work, so I changed it to simply do`applyMatrix(matrix)` and now it works. Somehow it does feel a bit less declarative, on the other...

hmm. little separate but related question - I tried to do the same for Scene, but somehow it does not work. The same with ref and componentDidMount. could it work...

yeah, If I apply it to the this mesh wrapped in scene tag above, then mesh gets transformed. But scene itself does not. ``` ```