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
Hello @dwqdaiwenqi ,
I really appreciate this repo, actually we are developing an electron / react app, and we need a simple 3d view inside of it.
I tried your repo and this is exactly what we need.
We have some troubles loading the texture file though, because we are taking it from a web server and THREE is giving us a cross-origin error
"THREE.WebGLState: DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The image element contains cross-origin data, and may not be loaded"
On the server we have all the response headers for CORS
The text was updated successfully, but these errors were encountered:
Hello @dwqdaiwenqi ,
I really appreciate this repo, actually we are developing an electron / react app, and we need a simple 3d view inside of it.
I tried your repo and this is exactly what we need.
We have some troubles loading the texture file though, because we are taking it from a web server and THREE is giving us a cross-origin error
"THREE.WebGLState: DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The image element contains cross-origin data, and may not be loaded"
On the server we have all the response headers for CORS
The text was updated successfully, but these errors were encountered: