cesiumlab / cesiumlab/XbsjEarthUI

那个深度检测和对数深度具体有啥用?一直没明白。

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
cesium documentation
Dominant language
JavaScript
Stars
734
Forks
193
PR merge metrics
No merged PRs in 30d

Description

深度检测是保证 距离近的东西 盖住 距离远的东西,如果禁用深度检测,那么会导致 后渲染的东西 总是 盖住 先渲染的东西,而不考虑其远近距离

康佩锋2 8:11:44
对数深度是因为cesium的坐标范围过大,渲染的时候深度缓冲的精度不够(距离越远误差越多,非线性),cesium既要保证近处可见,也要保证远处的东西深度覆盖正确,这就是一个两难的选择。对数深度是一种技术,可以把深度的递减修改为对数变化,这样有利满足上面说的效果,当然它也有弊端,过大的平面容易被裁减

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names depth testing and logarithmic depth but provides no file, test, or entry point. First clarify whether a documentation change is wanted and where these settings are exposed. Done would mean a project-specific explanation of both features, their trade-offs, and how users should choose them.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.