Tang Xiaofei
Tang Xiaofei
猪小羊 请教一下,earthsdk中的模型裁剪接口没看到啊 @猪小羊 示例中就有的,看一下就知道了 http://earthsdk.com/v/last/Apps/Examples/earth-analyzation-clipping.html 
实验室的 那个可视域是怎么实现的? --- 可视域分析的原理其实就是shadowmap,图形学中的; Cesium中的阴影其实就是用shadowmap实现的, 我们则是在Cesium已实现的阴影中进行改造,修改shader加入颜色来实现的
请问下,请问earthsdk的path怎么去掉自动做的圆滑轨迹啊? 比如里我就定了4个点,希望可以按连接四点的直线轨迹运行,试过了改slice,但改完转折点的位置不对,还请哪位帮忙看下。多谢了 改slice只会改显示出来的path轨迹,但实际的运行轨迹不变。希望运行轨迹是几点间没有圆滑过的直线,不知哪位可以帮忙看下,多谢了。 另外,如果加载的gltf模型本身带动画,请问怎样能开启动画效果呢?原生cesium我看是在生成viewer时传入shouldAnimate : true的参数,但在earthsdk没有效果。 --- earthsdk中的path的生成有一个技巧:  earthsdk中的path不受cesium的shouldAnimate影响,不受cesium中的time影响; 这是有意为之。目的是为了开发时可以任意时间进行任意路径操作。 对啊,每个path可以自驱动,通过playing=true,并需要适当修改一个currentSpeed。 也可以手动控制,通过currentD属性来确定运行到哪一个位置,currentD表示从起点到目标点的长度,可以通过p.length来查看路径总长。  路径相关的示例代码: 
camera.positionWC和camera.position有啥区别  --- positionWC是世界坐标 position是本地坐标系的坐标 camera.positionWC = camera.transform * camera.position 当transform为单位矩阵是,二者相等
请问有人知道怎么剪裁凹多边形的地形吗(clippingPlanes)  cesium有限制裁切不了,earthsdk做了扩展可以裁切  http://earthsdk.com/v/last/Apps/Examples/earth-restrict.html 

想问个问题:可否在用XE.earth生成viewer时传入Cesium.viewer的参数呢?有些参数比如shouldAnimate,homeButton一类在viewer生成后无法或不方便设置。 可以设置的,效果如下:  代码在这里: ``` // earth = new XE.Earth('earthContainer'); earth = new XE.Earth('earthContainer', { // 这里设置Viewer的配置,和new Viewer(container, options)中的options一致 homeButton: true, timeline: true, }); ```
 有没有哪位知道除了第一个参数,其它三个参数分别是什么参数? 材质底色 相当于修改模型本身的颜色 散射强度 则修改的是散射光线的照射强度 镜面强度 同上, 如果不太理解 散射强度 和 镜面强度,可能得看下图形学的书籍。。
 cesium没有框选,earthsdk有一个扩展的方法,叫xbsjBoxPick,可以获取指定范围内的对象。 参数pos1和pos2, 窗口坐标,形式 {x: 123, y: 456} 返回值是结果 这个函数还没有对外开放,api文档中找不到,也没有示例,只能您自行试试了  xbsjBoxPickMixinh函数,在加载时调用; 需要框选的地方调用 xbsjBoxPick方法。
toAllJSONStr() 这个方法会打印y一个对象的所有属性信息,并且本身就是JSON格式配置信息,方便存储和配置。 