文件名称:three-loader:基于Potree核心部分的ThreeJS点云加载器
文件大小:189KB
文件格式:ZIP
更新时间:2024-06-03 10:36:49
TypeScript
自述文件 该项目基于的核心/加载部分,转换为Typescript,可直接在基于ThreeJS的第三方应用程序中使用。 该项目仅专注于将点云加载到ThreeJS应用程序中,而不尝试提供Potree中可用的其他功能:土方控件,测量工具,高程剖面等。 如果您需要这样的辅助组件/工具,我们将绝对欢迎您的贡献,有可能作为PNext组织下另一个项目的一部分。 当然,也欢迎大家提出更好/更轻松的API或新功能以及PR的建议! 用法 import { Scene } from 'three' ; import { PointCloudOctree , Potree } from '@pnext/three-loader' ; const scene = new Scene ( ) ; // Manages the necessary state for loading/updating one or
【文件预览】:
three-loader-master
----.gitignore(393B)
----.babelrc(149B)
----package.json(2KB)
----tslint.json(3KB)
----src()
--------point-attributes.ts(4KB)
--------point-cloud-octree-geometry-node.ts(8KB)
--------loading()
--------version.ts(1KB)
--------potree.ts(11KB)
--------point-cloud-octree-geometry.ts(1KB)
--------type-predicates.ts(443B)
--------point-cloud-octree-picker.ts(12KB)
--------utils()
--------workers()
--------index.ts(404B)
--------point-cloud-octree.ts(7KB)
--------dem-node.ts(4KB)
--------point-cloud-octree-node.ts(2KB)
--------point-cloud-tree.ts(228B)
--------types.ts(2KB)
--------features.ts(1KB)
--------constants.ts(546B)
--------materials()
----webpack.config.js(906B)
----LICENSE(3KB)
----CHANGELOG.md(3KB)
----tsconfig.json(639B)
----webpack.config.example.js(1KB)
----.github()
--------ISSUE_TEMPLATE.md(1KB)
----README.md(3KB)
----example()
--------viewer.ts(5KB)
--------main.css(226B)
--------tsconfig.json(565B)
--------main.ts(2KB)
----webpack.config.prod.js(611B)
----.prettierrc(126B)
----yarn.lock(318KB)