I’m trying to animate an entity that consists of a billboard, label and ellipsoid. I’m animating it by updating its position at maybe 6hz.
one of my test machines has to use software rendering of webgl, and as the entities move, the billboard and label update just fine, but the ellipsoid doesn’t re-render until the entities stop moving.
is there a way to force the ellipsoid to re-render? ‘viewer.scene.requestRender()’ doesn’t seem to make a difference.
1 Like
ok, here is a sandcastle example.
The entity’s position is updated at 5 hz. The ellipsoid flickers pretty bad. if you switch your browser to not use hardware acceleration, then the ellipsoid doesn’t even display, unless you drastically reduce the update rate.
Is there a recommended way to move an ellipsoid entity so it doesn’t exhibit this behavior?
Hi @poncho524 ,
Thank you for your post.
Hopefully we can sort out what is happening, what is intended versus unexpected behavior, and what is the best use case for you.
You said you tried calling viewer.scene.requestRender() each cycle and it did not change the behavior. Did you also set viewer.scene.requestRenderMode = true
?
When I try this in your linked sandcastle example, the ellipsoid still re-renders each cycle (creating the flash effect, which may ultimately be what you are trying to avoid), but it seems to do so more consistently - which may be an improvement over what you described.
Please let me know if setting that property is an improvement.
If not, we can continue trying to sort this out.
Thank you,
Luke