npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mapgis/cesium

v17.2.3

Published

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

Downloads

1,441

Readme

Build Status npm Docs

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.

CesiumJS Homepage

CesiumJS Features Checklist

:rocket: Get Started

Visit the Downloads page or use the npm module:

npm install cesium

Have questions? Ask them on the community forum.

Interested in contributing? See CONTRIBUTING.md. :heart:

:snowflake: Mission

Our mission is to create the leading 3D globe and map for static and time-dynamic content, with the best possible performance, precision, visual quality, platform support, community, and ease of use.

:green_book: License

Apache 2.0. CesiumJS is free for both commercial and non-commercial use.

:earth_americas: Where Does the 3D Content Come From?

CesiumJS can stream 3D content such as terrain, imagery, and 3D Tiles from the commercial Cesium ion platform and other content sources. You are free to use any combination of content sources with CesiumJS that you please. Using Cesium ion helps support CesiumJS development. :heart:

:clap: Featured Demos

步骤

  1. 安装 nodejs 内网地址:"\192.168.11.11\Share3D\共享工具\编程工具\Web\node-v10.15.3-x64.msi"

  2. 安装依赖库

npm  install
  1. 组织编译
npm run build
  1. 生成合并但未压缩库(自己调试用)
npm run release
  1. 生成 合并压缩混淆(对外发行版)
npm run minifyRelease
  1. 生成说明文档
npm run generateDocumentation
  1. shader 代码中 uniform 变量数量说明
以如下电脑参数为例,使用uniform变量时,整体数量上限约为170,表现为
uniform sampler2D colorTexture;    代表一个uniform变量
uniform float u_factor;            代表一个uniform变量
uniform vec2 u_positionArray[64];  数组长度为64,代表64个uniform变量
使用限制中的uniform变量数量时,170情况下会显现出较明显的卡顿,100~128之间会有一点卡顿,64左右较为正常。

电脑参数如下:
Windows版本:Windows 7 旗舰版
处理器:Inter(R) Core(TM) i5-4590 CPU @3.30GHz 3.30GHz
安装内存(RAM):8.00GB
系统类型:64位操作系统
显示适配器:Inter(R) HD Graphics 4600  /  Oray Display Mirror Driver

@mapgis/cesium 版本说明

正式版

@mapgis/cesium v17.2.3

更新说明:

  1. 功能优化
  • 优化地形场景中积水仿真计算结果
  • 优化地形剖切封边效果

@mapgis/cesium v17.2.2

更新说明:

  1. 功能优化
  • MaterialAppearance、EllipsoidSurfaceAppearance 类型 Appearance 支持卷帘效果

@mapgis/cesium v17.2.1

更新说明:

  1. 功能优化
  • 修复已知问题

@mapgis/cesium v17.2.0

更新说明:

  1. 功能新增
  • 支持加载自定义裁图原点、自定义裁图方向的瓦片服务
  • 可视域分析功能支持可视区域范围量化计算
  • 支持图片标注显示层级高于可视域分析结果
  • 实现多 DEM 服务聚合显示
  • 动态剖切支持按属性筛被剖切的内容
  1. 功能优化
  • 可视域分析效果优化
  • 优化多种场景下拾取世界坐标的结果
  • 优化开启水面倒影时淹没分析的效果
  • 优化动态剖切剖面的拾取效果
  • 优化单体化专题图 renderer 的效果

@mapgis/cesium v17.0.0

更新说明:

  1. 功能新增
  • 支持 MeshOpt 压缩模式
  • 支持接入新版 BIM 模型缓存服务
  • 支持 IGS M3DServer 新特性
  • 支持二维图件与模型融合展示
  • 支持同时进行多个可视域分析
  • 全球风场数据可视化
  • 实现基于无人机场景下的全景图形的拼接与展示
  • 支持接入 M3D2.1 模型缓存服务
  • 行业标绘增加对于贴场景高程模式的支持
  1. 功能优化
  • 优化几何体裁剪效果,支持裁剪区域反转,支持多边形几何体裁剪
  • 优化专题图渲染效果,提升对 Cesium 的样式兼容性

备注:

@mapgis/cesium v17.0.0 基于官方 Cesium v1.84.0 进行了定制和扩展开发。