Skip to content

Commit

Permalink
publish v0.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tengge1 committed Aug 9, 2020
1 parent 18e653c commit bed0eae
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 28 deletions.
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ English / [中文](README_zh.md) &nbsp;&nbsp; | &nbsp;&nbsp; <a href="https://gi
[![image](https://travis-ci.org/tengge1/ShadowEditor.svg?branch=master)](https://travis-ci.org/github/tengge1/ShadowEditor)

* Name: Shadow Editor
* Version: v0.5.7 (Coming Soon)
* Version: v0.5.7
* Description: Cross-platform 3D scene editor based on three.js, golang and mongodb.
* Source: [GitHub](https://github.com/tengge1/ShadowEditor) [Gitee](https://gitee.com/tengge1/ShadowEditor) | Document: [Gitee](https://gitee.com/tengge1/ShadowEditor/wikis/pages) | Demo: [GitHub](https://tengge1.github.io/ShadowEditor-examples/) [Gitee](http://tengge1.gitee.io/shadoweditor-examples/) | Video: [Weibo](https://weibo.com/tv/v/IjIn9AyvX?fid=1034:4446986821107725) [Bilibili](https://www.bilibili.com/video/av78428475?from=search&seid=9203731141485399611) | Assets: [BaiduNetdisk](https://pan.baidu.com/s/1IxJVM6fFLoIAJG-GKHjVTA)
* Technology Stack: html, css, javascript, rollup, react.js, webgl, three.js, golang, mongodb, nodejs, electron, CesiumJS.
Expand All @@ -20,25 +20,17 @@ English / [中文](README_zh.md) &nbsp;&nbsp; | &nbsp;&nbsp; <a href="https://gi
<img src="https://gitee.com/tengge1/ShadowEditor/raw/master/images/scene20200503_en.jpg" />
<img src="https://gitee.com/tengge1/ShadowEditor/raw/master/images/scene20200705.jpg" />

## v0.5.7 is Coming Soon
## v0.5.7 has Released

* Release Date: August 9, 2020
* Update Logs:

1. 3D GIS. (In development)
2. When create new scene or click clear tool, automatically clear distance measurement tools.
3. Delete branch `origin/v0.4.6-csharp`.
4. Use CesiumJS instead of WebWorldWind for GIS editing.
5. Arcgis elevation cache service.

## v0.5.6 has Released

* Release Date: July 26, 2020
* Update Logs:

1. 3D GIS. (In development)
2. The `v0.4.6-csharp` branch will be deleted on August 1.
3. Fix the bug that it says "Only jpg, png, mp4 file is allowed to upload!" when uploading a mesh after uploading an image.
4. Fix the bug that it says "Only zip file is allowed!" when uploading an image after uploading a mesh.
5. The check box in front of the texture property is changed to enable and disable the texture, and add a delete button after the texture.

## Feature List

- [x] General
Expand Down
18 changes: 5 additions & 13 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![image](https://travis-ci.org/tengge1/ShadowEditor.svg?branch=master)](https://travis-ci.org/github/tengge1/ShadowEditor)

* 名称:Shadow Editor
* 版本:v0.5.7(开发中)
* 版本:v0.5.7
* 简介:基于Three.js、Go语言和MongoDB的跨平台的3D场景编辑器。
* 源码:[GitHub](https://github.com/tengge1/ShadowEditor) [Gitee](https://gitee.com/tengge1/ShadowEditor) | 文档:[Gitee](https://gitee.com/tengge1/ShadowEditor/wikis/pages) | 示例:[GitHub](https://tengge1.github.io/ShadowEditor-examples/) [Gitee](http://tengge1.gitee.io/shadoweditor-examples/) | 视频:[微博](https://weibo.com/tv/v/IjIn9AyvX?fid=1034:4446986821107725) [Bilibili](https://www.bilibili.com/video/av78428475?from=search&seid=9203731141485399611) | 资源:[百度网盘](https://pan.baidu.com/s/1IxJVM6fFLoIAJG-GKHjVTA)
* 技术栈:html、css、javascript、rollup、react.js、webgl、three.js、golang、mongodb、nodejs、electron、CesiumJS。
Expand All @@ -20,25 +20,17 @@

![image](images/scene20200705.jpg)

## v0.5.7即将更新
## v0.5.7发布

* 发布日期:2020年8月9日
* 更新日志:

1. 三维GIS。(开发中)
2. 当创建新场景或点击清空工具按钮时,自动清空距离测量工具。
3. 删除分支 `origin/v0.4.6-csharp`
4. 使用CesiumJS代替WebWorldWind进行GIS编辑。
5. Arcgis地形缓存服务。

## v0.5.6发布

* 发布日期:2020年7月26日
* 更新日志:

1. 三维GIS。(开发中)
2. `v0.4.6-csharp`分支将在8月1日删除。
3. 修复上传完图片,上传模型,提示“只允许上传jpg、png或mp4格式文件!”的bug。
4. 修复上传完模型,上传图片,提示“只允许上传zip格式文件!”的bug。
5. 纹理属性前面的复选框改为启用禁用,后面增加了删除纹理按钮。

## 功能清单

- [x] 通用功能
Expand Down
Binary file modified images/scene20200705.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 28 additions & 2 deletions web/src/gis/GISApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import global from '../global';
*/
class GISApplication {
start() {
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIyZDhkNjFjYy00MTA1LTRkYjAtYTliZi1jZGI2NWE3YTlhMzAiLCJpZCI6MjA3NTgsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NzgyOTMxOTh9.8Xq0jpjeo0-3Jbfi_oWEtU5I-isAP9EBJeCElSfP_pU';
var viewer = new Cesium.Viewer(global.app.cesiumRef);
// viewer.scene.postProcessStages.fxaa.enabled = false;
// viewer.scene.fxaa = false;
// viewer.scene.globe.maximumScreenSpaceError = 5;
window.viewer = viewer;
this.createTerrain(viewer);
this.createLayers(viewer);
Expand All @@ -25,12 +29,34 @@ class GISApplication {
createLayers(viewer) {
viewer.imageryLayers.removeAll();
// bing
var bing = new Cesium.BingMapsImageryProvider({
var provider = new Cesium.BingMapsImageryProvider({
url: 'https://dev.virtualearth.net',
key: 'Amvk_1DmXPpb7VB7JIXtWHBIpXdK8ABDN7E2xiK8olFovcy5KcVjVfpsW8rxoeVZ',
mapStyle: Cesium.BingMapsStyle.AERIAL
});
var layer = new Cesium.ImageryLayer(bing);
// sdmap
// var provider = new Cesium.WebMapTileServiceImageryProvider({
// url: 'http://www.sdmap.gov.cn/tileservice/SDRasterPubMap',
// layer: 'SDRasterPubMap',
// style: 'default',
// format: 'image/jpeg',
// tileMatrixSetID: 'raster',
// maximumLevel: 18,
// credit: 'sdmap'
// });
// google
// var provider = new Cesium.WebMapTileServiceImageryProvider({
// url: "http://t0.tianditu.com/img_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=36c59ede59e3760b6fff1cf5f8c37a01",
// layer: "img",
// style: "default",
// format: "tiles",
// tileMatrixSetID: "w",
// credit: new Cesium.Credit('tianditu'),
// subdomains: ['t0', "t1", "t2", "t3", "t4", "t5", "t6", "t7"],
// maximumLevel: 18,
// show: false
// });
var layer = new Cesium.ImageryLayer(provider);
viewer.imageryLayers.add(layer);
}
}
Expand Down

0 comments on commit bed0eae

Please sign in to comment.