CesiumGS / CesiumGS/cesium

Classification only applies to first translucency layer on globe

Open
#8,967 0 comments 0 reactions 0 assignees View on GitHub
category - classification category - graphics category - polygons/geometry category - terrain and imagery type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

From https://github.com/CesiumGS/cesium/pull/8726#issuecomment-618777065

Classification primitives don't show through the first translucent layer. Since classification requires depth textures the fix would be to render multiple depth peels, which can get expensive fast.

Classification works perfectly if front faces are translucent and back faces are opaque, which is the more common case.

[Sandcastle](http://localhost:8080/Apps/Sandcastle/index.html#c=xVdtb9owEP4rFp86iZpASkkZrbZRbfvQqdU2bdKgH0xyBauOjWyHrp347zuHtyQEGKzrEIL47nnOju/x2Z4wTcKnWJBz0utLQn65H0J41Cb9SqTCJAZp+5XqzCxZDM7R/fHpinwAFYPVHEyb3CjxOFRyCZyANlxJh61Tb26eVtd60BAVqYs+PkNExjMfwa9J9B0LYQmbu9qLeM5iuMVOTcZGSMi0VUPNxiMeXsJQgxtub+Un5Lheb1KvmjX5rYIh3ypjNHYwvGJI39/FKIb063szmlsYt8vn6fIpZhY0ZyI3hUYJHnWVUDpnxrktsRGihwOGU9xoNqvYn/vi421uGNNMa7o2jOkmtYQjCO9BDxTTG2XTzWBeSD9nJ3vK52xf9QR7ieePE5udz0IaYQKy+xzpJURF0dZIGKHeCOY/zyUVlyi5SSMfnJPAT6uTaFVl/klp8YJCok52Fgpvb0ZRfyfe/1v2Mz0csuzJMiMfgQ9Htk2anvtk3iUUysBXNW6TOyYM5O3vlLUqzrs26kNpJoewSSDXqXdZPh64HZEx6OOFDsgoHaEhTEZEJVZwCS8jn0axdNTTOdqloQNpvvdHtGAXzS/SXmLvwbGmMsT/v5PhauCogZt5LhdOhK50OJdCuXX9LVZLpqSQ7ixxA5EsBPwdBfpRCTBrSn6HoLyORzncM4o1aKyXoWDrrlbcxPxT2txGaJ2un29OtxL8QsATfwuhTJTpbO05E728Jo+D4rmtpEIXh15O8wPa2EVrnR1GC8oGGWyl5ZdV77jVwul2WWylcnYxXdsdXmbt07R9hjkguTX57/ekxbZ08Pni9nVf9uUEr0sTDg+g8cIk4YF0wfAkpt9S2xEeUdN2V0nLcMnrfuXV6xkrYpZ9UYkO4UarmBvAAHNyF+9fl0s3FYpFR+5OllLTwHTFNpRF0dFatAz2San4qyqHzMYyFGrg+p8TTAgSaGpESPpPLe6ARiToCR8pSDYQeFA6T+taOeZO4zu/xxP2WzEeMYR6tFmOHLDwPg/0EFipVjrGPgq4WOTgDY/HSluSaHFEac1CPBaoCVMbJHhqtTQ0xr2Sg3ZqWWon4hOskecl2cCTAjMGPXeJEF/4E+7aF50a4teoLgtcDq/xJivYo4ON6hdXMyOltFPDZjnTKiUGTGcizxC/AQ)
![bug-classification](https://user-images.githubusercontent.com/915398/80174598-196d5780-85c1-11ea-913c-554e36bcbe70.gif)

Contributor guide

Open the contributing guide

Research direction

Start with the linked PR comment and reproduce the behavior using the provided Sandcastle example. Investigate classification primitives, depth textures, and translucent globe layers; done means classification remains visible through multiple translucent layers without an unacceptable rendering cost.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.