var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/")); var g_Prefix="https://super.4dage.com/"; // var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1); var s = window.location.href.split('/'); s.pop(); //var g_Prefix = s.join('/'); var g_index=null; var g_modeldata=null; var g_weixinTitle=null; var g_Hots=null; var g_HotMeshes=[]; var g_HotMeshSize = { g_HotMeshWidth: 0.3, g_HotMeshHeight:0.3 }; //add表示添加,delete表示删除 var g_HotStatus=null; var g_newHot = [];//存储新加热点 var g_HotImage= { "point":"https://super.4dage.com/images/4dagePoint2.png", "point2":"https://super.4dage.com/images/4dagePoint.png" }; var g_saveHot=false; var g_TextColor=0x7777ff; var g_Text=null; var g_TextPlaneMesh=[]; var g_TextIconMesh=[]; var g_TextIcon="./images/text.png"; var g_SelectTextIndex=null; var g_TextShow=null; var g_audioPlay=false; var g_background=null; var g_roof=null; var g_data2 = null;//加载的data2.js的内容 var g_bgAudio=null;//背景音乐 var g_tourAudio=null;//导览音乐 var g_play = 1;//表示播放图标状态 var g_playAudio = null;//当前在播放或当继续播放时应该播放的,是g_bgAudio或g_tourAudio var g_currentHot = null;//当前打开的热点 //var g_Texture=null; //var g_ChunknameTexture={}; //chunkname和贴图名称对应 var g_NormalTexture=false; var g_SpecularTexture=false; var g_DirectionalLight=null; var g_snapShotWidth = 200; //截图下载图片的大小 var g_snapShotHeight = 140; //微信分享 var g_weixinObj = { "title": document.querySelector("head title").innerHTML, "lineLink" : window.location.href, "imgUrl" : "https://www.4dmodel.com/SuperPanoramic/images/weixintitle.jpg", "desc" : "四维时代提供技术支持", } var settings = { overlay:{ width:1, height:0.5, depth:0.02 } , //dontExamHot:true } if(window.number == '725'||window.number == '724'){ settings.mobileNavHigh = true }