CesiumGS / CesiumGS/cesium

Ellipsoid innerRadii seems to be overwritten when using a CallbackProperty

Open
#8,456 2 comments 0 reactions 0 assignees View on GitHub
category - entity type - bug
Dominant language
JavaScript
Stars
15.8k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

I have noticed that the innerRadii I have specified when creating an ellipsoid entity is being altered. I have narrowed down the culprit in my case: when the position or orientation properties of the entity are CallbackProperty's. They can be the same position/orientation value but wrapped in a CallbackProperty and they will behave differently. I created a minimal Sandcastle example to show the same behavior I am seeing in my code.

Sandcastle example: https://sandcastle.cesium.com/#c=7VdbT9swFP4rVl7qSp1bVpBoKWhT9zCkIRigvSx7MMkptXDsynbKTfx3bDdtXBeKuGoP5CEX+5zvXPx9iTOlCk0ZXIJCu0jAJRqCZmVB/vgx3Mj841AKQ5kA1WjupGJqfSZSM8OksF6Vx5AqY++o6JKRksUPOFcAGn/pbZFOC236c7fjDtJxKKkYlSLzGDTPh1IpyMy+sEEUzRnDTXSbCmSPWXoEhLERQRNrjaspdwhaAOqjNKkgEHMYxw4jTVq13Tzj/uIumJSKWXzqs+nPKzpVVOiRVIUmY7B44vyImWx8LDn/XVIDSlhzXIOEUVrLw0Fnf0ZQuBo/oGZMjHSJ27C469rUQmsn3bmO0wxiAudsoiXLbTW3y6n47trhIKV66fCmXx+7XkvXZlRO3eJHgbq9GcDyNQYqmGCF5xfUfY+K3e6R7RU/evWkX69Dvq762WVjlEdpSy4V3nBpdoLTVtDcu9ntnWPuXUzefZHF9D2qeDCknJ/R7OJIyQkoc/18Wi/Aw67jOT6KAzQfIf3SKkU5zWupk1uQBUypxAJmJ2hIC40o19D8VNGnigIV+TQ33khFhzWh3ktIQYj/WEuvivgKIa4R40cJ0ovyiWZ9CvWFQg3Vulaobs8nJ44G2m75/lZNNnBlLHZjdevVqDKx9sDdVB89zNNYvQoKOYXvlkDhoj+8Q9xZgbmRsjiVOAKdG9pKLHui3J/7fX37yp61fXjHmte+Cj+k7LXv+5dU/s//aJxQkWdUGw7u43AqpUVWByBKXFHauTxKsSeDJa1koM01h71Z4G+smEhlUKk4JqRtoJhwK0TdPiuzCzAk095t0J47DXI2RSzfTZPodytNUMap1nZmVHJ+wm4gTfYGbWu/5Malf/keTkFxeu1Mxht7v2aDhJBB2z6ueplZIwLEew

What I am seeing:
Screen Shot 2019-12-11 at 7 16 25 PM
Screen Shot 2019-12-11 at 7 16 38 PM
Screen Shot 2019-12-11 at 7 16 53 PM

Browser: Chrome 78

Operating System: macOS Catalina Version 10.15.1

Contributor guide

Open the contributing guide

Research direction

Start with the linked minimal Sandcastle example and compare an ellipsoid entity using direct position and orientation values with the same values wrapped in CallbackProperty. Trace how innerRadii is evaluated when the entity properties are callbacks, then verify in Chrome that the specified innerRadii remains unchanged in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.