1 2 Previous Next 15 Replies Latest reply on Jul 7, 2016 3:56 AM by beverly

    Javascript path file problem in WebViewer

    f.i.sciences

      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.

        1 2 Previous Next