You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use QuantizedMeshTerrainData.prototype.interpolateHeight to obtain the height of the current coordinates, it always returns undefined.
At this point, it's noticed that in the interpolateHeight function, the UV calculated for the input coordinates multiplied by maxShort. If this._mesh exists, the value of terrainData is encode, causing pointInBoundingBox to never succeed.
Reproduction steps
No response
Sandcastle example
No response
Environment
Browser:
CesiumJS Version:
Operating System:
The text was updated successfully, but these errors were encountered:
chenchuliu
changed the title
QuantizedMeshTerrainData
InterpolateHeight obtains height and returns undefined continuously
May 13, 2024
chenchuliu
changed the title
InterpolateHeight obtains height and returns undefined continuously
InterpolateHeight compute height and returns undefined
May 13, 2024
Hi @chenchuliu, would you be able to include a Sandcastle example that replicates the issue? That would help us give us more context to determine the issue. Thanks!
What happened?
When I use QuantizedMeshTerrainData.prototype.interpolateHeight to obtain the height of the current coordinates, it always returns undefined.
At this point, it's noticed that in the interpolateHeight function, the UV calculated for the input coordinates multiplied by maxShort. If this._mesh exists, the value of terrainData is encode, causing pointInBoundingBox to never succeed.
Reproduction steps
No response
Sandcastle example
No response
Environment
Browser:
CesiumJS Version:
Operating System:
The text was updated successfully, but these errors were encountered: