Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cesium3DTileBatchTable: getClassificationFragmentShaderCallback not used in code? #12422

Open
remoe opened this issue Jan 9, 2025 · 4 comments

Comments

@remoe
Copy link

remoe commented Jan 9, 2025

What happened?

The method getClassificationFragmentShaderCallback in Cesium3DTileBatchTable is not used?

https://github.com/CesiumGS/cesium/blob/main/packages/engine/Source/Scene/Cesium3DTileBatchTable.js#L786

Reproduction steps

No response

Sandcastle example

No response

Environment

CesiumJS Version: 1.125

@ggetz
Copy link
Contributor

ggetz commented Jan 13, 2025

Hi @remoe, thanks for bringing this to our attention.

@lilleyse or @j9liu, do you happen to know if this was cleanup which was overlooked during the Model refactor?

@lilleyse
Copy link
Contributor

If I remember correctly, the batch table code was kept around for .vtcr loading which we didn't have a chance to address in the Model refactor. So it's possible there are parts of Cesium3DTileBatchTable that are no longer used.

@ggetz
Copy link
Contributor

ggetz commented Jan 13, 2025

Thanks @lilleyse! To make sure I understand: This was kept around in order to reference when .vtcr loading is to be refactored to fit with the new Model pipeline, correct?

@lilleyse
Copy link
Contributor

.vctr still uses Cesium3DTileBatchTable so we still need the file, but we could delete any code in there that's no longer used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants