wewindy

Results 37 comments of wewindy

I also encountered the same problem when using `vite` to package the vanillajs project. Which the report is: ``` [vite] Internal server error: Missing "./Source/Widgets/widgets.css" export in "cesium" package ```...

So times, I usually use cesiumjs by cdn but not bundle.

Agree @prophetw When I remove `"exports"` field in `node_modules/cesium/package.json`, import style with `import 'cesium/Source/Widgets/widgets.css'` work. Or when I add some options to `"exports"` as below: ``` diff { "exports": {...

你可以设断点看看触发执行 executeCommands 函数时,frameState 对象上有多少个 DrawCommand,CesiumJS 的 DrawCommand 和 ThreeJS 设计优化专注点是不太一样的。DC 的数量和 glTF 的总 Primitive 对象是高度关联的,你可以检查一下你的数据

@CodeBoySun 唯一的办法是检查数据,以及运行时相关的 DC 数量。CesiumJS 与 ThreeJS 出发点不同是根本原因,毕竟 CesiumJS 要处理的情况复杂度远超 ThreeJS,性能提升只能从它的 Renderer 设计出发,而不是向 ThreeJS 趋同,趋同要花费的代价可能远超直接写 ThreeJS

Log your glb/gltf model's info, such as triangles count, drawcall count, etc. may be better. The `drawcall` will directly influence the performance through create `DrawCommand`.

Consider typescript? I transform some source code to typescript version here [onsummer/cesium-ts](https://github.com/onsummer/cesium-ts)

thank u @sanjeetsuhag How to contribute to 3D Tiles Next? I am interested for it for a long time since last year early, but my graphic skill and compute geometry...

No, I am still reading and learning the specification, but it's over soon: - [X] 3DTILES_content_gltf - [X] 3DTILES_metadata - [X] 3DTILES_implicit_tiling - [X] 3DTILES_multiple_content - [X] 3DTILES_bounding_volume_S2 - [...