Giter VIP home page Giter VIP logo

cesiummeshvisualizer's People

Contributors

mikeswei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cesiummeshvisualizer's Issues

请问能绘制点、或者动态的场吗?

比如说先绘制一个普普通通的三维点,我没找到API?(不想用cesium里的方法绘制)

另外,有绘制场数据的方法吗?比如海水温度、空气污染情况等等。

谢谢。

How the create The .png texture?

I see the volumer endering use a .png to mipmaping the cubeTex: "./.png", ,Now I have the Volume data .But i can't generat the png image. Help.tell me how to change the RAW data to png texture.Thank you.

如何动态的更新渲染参数?

`var materialSecondPass = new MeshMaterial({
vertexShader: document.getElementById("vertexShaderSecondPass").textContent,
fragmentShader: document.getElementById("fragmentShaderSecondPass").textContent,
side: MeshMaterial.Sides.FRONT,
uniforms: {
alpha: -1,
dimensions: dimensions,
tex: rtTexture,
cubeTex: "./demo.png",
transferTex: transferTexture,
steps: guiControls.steps,
alphaCorrection: guiControls.alphaCorrection
}
});

var meshSecondPass = new Mesh(boxGeometry, materialSecondPass);
meshVisualizer.add(meshSecondPass);`

我想动态的更新alphaCorrection,我尝试用remove(meshSecondPass)然后再添加但是没有效果?请求有封装好的方法吗?如果没有请给我一个可行的思路。谢谢。

请问下模型加载上去以后,位置漂移的问题

模型跟cesium球体感觉没有贴地还是怎么的,移动地图的时候,看到模型,是在地图上漂移的,跟地图的经纬度没有完全匹配,平移的时候,明显看到,加载的Threejs场景一会在这个区域,一会在另一个区域,这是怎么回事啊?

TTFLoader 示例引入initCesium报错

尝试TTFLoader的例子,这个示例中引用了initCesium.js。initCesium代码里有一部分好像是固定路径,所以就会报错。
错误信息如下:
n error occurred while rendering. Rendering has stopped.
undefined
TypeError: Cannot assign to read only property 'red' of object '[object Object]'
TypeError: Cannot assign to read only property 'red' of object '[object Object]'
at Function.Color.clone (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:416833)
at o.updateSunLight (http://127.0.0.1:5502/ThirdParty/Cesium/initCesium.js:4:11247)
at o.update (http://127.0.0.1:5502/ThirdParty/Cesium/initCesium.js:4:14683)
at PrimitiveCollection.update (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:2049855)
at updateAndRenderPrimitives (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:3032387)
at executeCommandsInViewport (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:3030969)
at Scene.updateAndExecuteCommands (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:3027985)
at render (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:3040440)
at tryAndCatchError (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:3040677)
at Scene.render (http://127.0.0.1:5502/ThirdParty/Cesium/Cesium.js:1:3042540)
CesiumWidget.showErrorPanel @ Cesium.js:1
VM6:1 Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
e @ VM6:1
tdtVec.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
tdtImg.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)

DevTools failed to load source map: Could not load content for http://127.0.0.1:5502/ThirdParty/Cesium/initCesium.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

The Color Steps don't work?

I Changed the color code .but it will work show a Single Color.
var guiControls = new function () {
this.model = 'bonsai';
this.steps = 256.0;
this.alphaCorrection = 1;
this.color1 = "#000000";
this.stepPos1 = 0.0;
this.color2 = "#ff0077";
this.stepPos2 = 0.22;
this.color3 = "#3f7210";
this.stepPos3 = 0.3;
//this.color4 = "#FFFAFA";
//this.stepPos4 = 0.65;
//this.color5 = "#FF1493";
//this.stepPos5 = 0.85;
//this.color6 = "#FFff00";
//this.stepPos6 = 1.0;

};

无法绕固定的点旋转地球

我的代码如下var heading = viewer.camera.heading;; var pitch = viewer.camera.pitch; var range = 30000.0; viewer.camera.lookAt(center, new Cesium.HeadingPitchRange(heading, pitch, range)); camera.rotateLeft(0.01);
但是好像一直在绕极点进行旋转?
我想要的就右鼠标右键那样可以一直绕着转。谢谢你,希望你的回答。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.