Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any plan to update for new three.js? #6

Open
vaimd opened this issue Oct 17, 2021 · 0 comments
Open

Is there any plan to update for new three.js? #6

vaimd opened this issue Oct 17, 2021 · 0 comments

Comments

@vaimd
Copy link

vaimd commented Oct 17, 2021

Hi, I want to use this j360 but it doesn't work with new THREE r133.
At r117, CubeCamera has changed. so I changed like this below.
But only black images were captured... Is there any workaround for this?

Is there any plan to update for new THREE?
Thanks.

this.cubeCamera = new THREE.CubeCamera(.1, 10000, Math.min(this.cubeMapSize, size));

+ const cubeRenderTarget = new THREE.WebGLCubeRenderTarget( Math.min(this.cubeMapSize, size) );
+ this.cubeCamera = new THREE.CubeCamera(.1, 10000, cubeRenderTarget);
- this.cubeCamera = new THREE.CubeCamera(.1, 10000, Math.min(this.cubeMapSize, size));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant