CesiumGS / CesiumGS/cesium

Add tileset statistics for number of lines rendered

Open
#10,431 0 comments 0 reactions 0 assignees View on GitHub
category - 3d tiles category - model/gltf
Dominant language
JavaScript
Stars
15.8k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Currently, tileset memory statistics report triangles and points, but not lines/line strips/line loops. We should add this.

The main things to update would be:

* `Cesium3DTilesetStatistics`
* `ModelExperimentalStatistics` and `StatisticsPipelineStage`
* `Cesium3DTileContent` -- add a `linesLength` much like `pointsLength` or `trianglesLength`
* `Cesium3DTilesInspectorViewModel` -- for the inspector HTML

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing triangles and points statistics through Cesium3DTilesetStatistics, ModelExperimentalStatistics, StatisticsPipelineStage, and Cesium3DTileContent. Then inspect Cesium3DTilesInspectorViewModel and its HTML; the work is done when line, line-strip, and line-loop counts are reported alongside the existing statistics.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.