I added plugin ThreeJs to show model 3D , but the problem is it show model 3d in all scene, i just want it show in a scene, how to do it?
i tried with set(plugin[threejs].visible,false) and removeplugin(threejs) but it's not work
Code
<plugin name="threejs" url="gltfloader.js" keep="true" /><action name="remove">js(console.log("Test"))set(plugin[threejs].visible,false)
</action>
<scene name="scene_1" title="0" onstart="remove()" thumburl="panos/1.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="1.245" vlookat="-14.021" fovtype="MFOV" fov="140.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/1.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512"> <level tiledimagewidth="2624" tiledimageheight="2624"> <cube url="panos/1.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1280" tiledimageheight="1280"> <cube url="panos/1.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="640" tiledimageheight="640"> <cube url="panos/1.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <hotspot name="scene_2" style="hs_circle" ath="-1.231" atv="-2.748" tag="1" />
</scene>
<scene name="scene_2" title="1" onstart="" thumburl="panos/2.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="6.420" vlookat="-11.392" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/2.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512"> <level tiledimagewidth="2624" tiledimageheight="2624"> <cube url="panos/2.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1280" tiledimageheight="1280"> <cube url="panos/2.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="640" tiledimageheight="640"> <cube url="panos/2.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <hotspot name="scene_1" style="hs_circle" ath="6.539" atv="-7.554" tag="Cổng" /> <hotspot name="scene_3" style="hs_circle" ath="-172.139" atv="-10.359" tag="2" />
</scene>
<scene name="scene_3" title="2" onstart="" thumburl="panos/3.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="169.390" vlookat="-16.326" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/3.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512"> <level tiledimagewidth="2560" tiledimageheight="2560"> <cube url="panos/3.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1280" tiledimageheight="1280"> <cube url="panos/3.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="640" tiledimageheight="640"> <cube url="panos/3.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <hotspot name="scene_2" style="hs_circle" ath="-2.235" atv="-3.448" tag="Quảng trường 1" /> <hotspot name="scene_SAN_KHAU" style="hs_circle" ath="170.731" atv="-10.698" tag="Sân khấu" />
</scene>
Display More