itwinjs-core
itwinjs-core copied to clipboard
Import and apply ScalableMesh clips from backend.
Existing or newly created iModels stored in the Hub can contain clipping information that applies to Reality Meshes. The changes contained in this pull request will access this information if it exists and then apply the clipping accordingly. This allows WYSIWYG from DGN to iTwin.
@rbois-bentley could you provide an iModel containing a ScalableMeshModel with clips defined?
@rbois-bentley what is the difference between the jsonProperties.scalablemesh.clip property and the SmModelClips and SmModelClipVectors columns in the ScalableMeshModel table? Is the former no longer reliable?
@pmconne The clip information stored in the jsonProperties.scalablemesh.clip property are old QV reality mesh clips and we need to keep them for legacy reasons. The clip information stored in the SmModelClips and the SmModelClipVectors in the backend are newer and we use those to support a more scalable way of applying clips in PowerPlatform based apps.
@Mergifyio update
update
✅ Branch has been successfully updated
@Mergifyio update
update
✅ Branch has been successfully updated
moved this to draft state for the time being due to the inactivity.