Skip to content

Auto-position/scale camera and data during conversion or creation step #191

@ShrimpCryptid

Description

@ShrimpCryptid

Extension of issue simularium/simularium-viewer#330, a bug where the initial camera view was too far zoomed out.

I implemented a fix that does some smart camera positioning to keep the bounding sphere at a certain % of the screen, but we determined that the camera distance was already part of the file's default camera settings and there was no way to respect it while doing the smart positioning.

Alli mentioned that doing auto-positioning/scaling could be useful during the data generation or conversion step, though, as these are otherwise very fiddly settings.

See potentially useful code in simularium/simularium-viewer#383.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs tech inputIssue is not fully fleshed out and needs more technical detail

    Type

    No type

    Projects

    Status

    🌳 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions