Search found 3 matches

by Nicat
Thu Sep 14, 2017 12:08 pm
Forum: Bug report
Topic: Hotspots DOM with multiple scenes
Replies: 1
Views: 149

Hotspots DOM with multiple scenes

Hi, I have 2 scenes, 1 with dom hotspots, other one without. When i changing scene console says "Cannot read property 'onOver' of null" and in scene which is without hotspots they staying. Tryed to hide with css var activeScene = this.viewer.story.scenes.filter(x => x.uid === this.viewer.s...
by Nicat
Sat Apr 15, 2017 2:57 am
Forum: Bug report
Topic: Multiple viewers in 1 page
Replies: 7
Views: 1265

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: 1265

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