You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this library with my react project but I'm struggling to make it work.
The first issue I run into was the error: "window is not defined", which I was able to solve it by importing the component dynamically without server side rendering, doing it like so:
I'm trying to use this library with my react project but I'm struggling to make it work.
The first issue I run into was the error: "window is not defined", which I was able to solve it by importing the component dynamically without server side rendering, doing it like so:
After, I tried loading the example pointcloud like this:
but I'm not able to see the lion and there is no error in the console.
I've created a sandbox so you can test it: https://codesandbox.io/p/github/mikisf/pNextThreeLoaderReact/draft/hopeful-silence?file=/components/PNextThreeLoader.js:64,3-76,18&workspaceId=9764f67d-193b-4747-b7a4-e67f33e4cfb2
Or in this github repo: https://github.com/mikisf/pNextThreeLoaderReact
Thanks in advance ;)
The text was updated successfully, but these errors were encountered: