Skip to content

Jumpy glyph geometry when coordinates are reaching floating point precision issue ย #2582

@jourdain

Description

@jourdain

High-level description

vtk.js naturally support various scales for coordinates without the need of re-centering your data so you don't get some geometry jumpiness when rotating the camera. But that coordinate management is not properly managed when a glyph mapper is used. Basically the points of a glyph start jumping around when rotating assuming your coordinates are hitting the float32 precision issue.

Steps to reproduce

Create a polydata with some cone/sphere in some far away bounds [7000, 7500, 10000, 11000, 500, 1000].
Then start interacting with the scene. You will see your cone/sphere wobble around.

Expected behavior

The glyph used should retain its shape while rotating the camera.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions