AnsweredAssumed Answered

Javascript path file problem in WebViewer

Question asked by f.i.sciences on Jul 6, 2016
Latest reply on Jul 7, 2016 by beverly

Good morning,

 

For some raison, this is working in a normal browser but has soon as I paste it in a WebViewer, the texture file for the floor is not loaded.

 

var wallMaterial = new THREE.MeshBasicMaterial( { map: 'http://remote.plancher2000.com:82/1-3-2-5-Plancher.jpg', side: THREE.DoubleSide } );

var floorMaterial = new THREE.MeshBasicMaterial( { map: '/var/folders/7n/m1g42f05269c558xz5mp0q2r0000gn/T/S10/white.png', side: THREE.DoubleSide } );

 

So in a normal web browser (loaded locally), both lecture will show. In a WebViewer (loaded from FMS in FMP), only wall texture will show.

 

See included htm file.

 

Thank you.

Attachments

Outcomes