3D FlipBook - Is it possible to load cross server images with cross-origin settings to avoid tainted canvas errors? I’ve tried some

E***d@cecn.net
2019-08-08
2019-08-08

Is it possible to load cross server images with cross-origin settings to avoid tainted canvas errors?

I’ve tried some minor modifications to 3dflipbook.js without success, such as setting: this.textureLoader.crossOrigin = ’’; after textureLoader is instantiated within VisualWorld.

Replies

a***r@3dflipbook.net
2019-08-08
2019-08-08

Hi!

In current version it is not. I will add it later.

It is good excercise to edit 3dflipbook.js, but i would recommend to edit the project and then rebuilt it or run the dev server see http://3dflipbook.iberezansky.net/documentation for detailes – you will save a lot of time.

the textureLoader will not help it is not used for loading pages, but i see you have found the solution in the last comment.

Best regards, Ivan.

a***r@3dflipbook.net
2019-08-08
2019-08-08
Log In to leave a comment