Search found 2 matches

by Nicat
Sat Apr 15, 2017 2:57 am
Forum: Bug report
Topic: Multiple viewers in 1 page
Replies: 7
Views: 409

Re: Multiple viewers in 1 page

So i found out FORGE.BackgroundShaderRenderer._mesh.material.uniforms a same for both viewers, cus they linked with this._viewer.renderer.view.current.shaderSTW , so when changing texture in other viewer changes too, so i cloned this with var shaderSTW = JSON.parse(JSON.stringify(this._viewer.render...
by Nicat
Wed Apr 12, 2017 3:46 pm
Forum: Bug report
Topic: Multiple viewers in 1 page
Replies: 7
Views: 409

Multiple viewers in 1 page

Hello, I'm trying to change scenes via js, viewer.story.loadScene(c); used this, then this viewer.story.sceneUid = c; all changing scene actions changing in all Forge.viewer elements. So my question: when u have multiple elements in one page, is there any other methods for changing scene? which will...

Go to advanced search