Adds ModelExperimental3DTileContent, B3dmLoader, removes Cesium3DTileContentFeatureTable#9873
Adds ModelExperimental3DTileContent, B3dmLoader, removes Cesium3DTileContentFeatureTable#9873
Conversation
|
Thanks for the pull request @sanjeetsuhag!
Reviewers, don't forget to make sure that:
|
|
|
ptrgags
left a comment
There was a problem hiding this comment.
@sanjeetsuhag reviewed the code, a few things need updating. I'll try this out in a Sandcastle next.
|
@sanjeetsuhag as a smoke test, I tried loading the NYC dataset in ModelExperimental with this Sandcastle -- it's not showing up: It should look like this: |
|
As suspected, the issue above was due to mishandling of the coordinate transforms. The The Sandcastle works as expected now. |
|
@ptrgags I have addressed your feedback. |
ptrgags
left a comment
There was a problem hiding this comment.
@sanjeetsuhag works correctly now! Though two things:
- looks like
B3DMParserSpecis missing - also check coverage results, I see that
ModelExperimental3DTileContentis only at 68% coverage
lilleyse
left a comment
There was a problem hiding this comment.
Overall looks good and simpler than before. I like how tile content is now only accessed in a few places.
Source/Scene/ModelExperimental/ModelExperimental3DTileContent.js
Outdated
Show resolved
Hide resolved
|
No comments, look good! |



Overview
This PR introduces a new
Cesium3DTileContentclass calledModelExperimental3DTileContent. This class is used whenModelExperimentalis enabled and is meant to handle all types of 3D Tile content by passing them to the correct loading function (currently only supports.b3dmand.gltf/.glb).It also adds a new
B3dmLoader, which is a light wrapper around theGtlfLoader, but adds some additional functionality:The
Cesium3DTileContentFeatureTableand all adjacent code has been removed. Additionally, theBatched3DModel3DTileContentandGltf3DTileContentclasses have been restored to their pre-ModelExperimentalstates.Task List:
B3dmLoaderBatched3DModel3DTileContentandGltf3DTileContentB3dmLoaderModelFeatureTableModelExperimental3DTileContentTesting