Skip to content

Initial zoom is not properly determined from scene bounds #391

@javagl

Description

@javagl

(Not sure whether this is the right place to report this. It might be related to #367 , but refers to non-animated models)

I created different assets that all represent a unit cube. The assets only differ in their "internal structure", i.e. the geometry and transforms of the nodes that the geometry is attached to. But they all end up as a unit cube in (0,0,0)-(1,1,1). These bounds are also properly reported by https://gltf.report/

When dragging and dropping these into the viewer, the initial zoom varies wildly:

Image

The assets from this screen cap are attached here:

someUnitCubes 2025-06-03.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions