Replies: 2 comments 5 replies
-
I think it would be like this, basically wrap any kind of AJAX request in a const { scene } = useThree()
useEffect(() => {
const loader = new THREE.CubeTextureLoader()
loader.load(
['room.jpeg', 'room.jpeg', 'room.jpeg', 'room.jpeg', 'room.jpeg', 'room.jpeg'],
cubeTexture => {
scene.background = cubeTexture
},
[scene.background]
)
}) Example: |
Beta Was this translation helpful? Give feedback.
-
@eldrgeek I attended a few live events via AltSpace early on. Here is a link to such an event: Also here are some upcoming events: Usually what happens is that you end up in an environment with X number of people. I attended a stress test with several hundred people but it was horrible, it was also a world record. ‘Most number of people in a single VR instance’. Usually you end up in an instance with 40 or so people. I appreciate that it might not be what your trying to achieve but I do think it’s interesting for your research perhaps.... |
Beta Was this translation helpful? Give feedback.
-
I have a project that I've built using 3JS using a CubeTextrure as background. I've tried doing it with three-fiber but it does not work.
Here's the working code:
Here's my attempt to translate to react-three-fiber
Here's a link to the working project in CodeSandbox
Here is a link to the react-three-fiber version
Beta Was this translation helpful? Give feedback.
All reactions