Skip to content

Regression with custom projections #16856

@rparrett

Description

@rparrett

Bevy version

main, bisected to #16828

Relevant system information

SystemInfo { os: "MacOS 14.5 ", kernel: "23.5.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

Scale Factor 2

What you did

cargo run --example projection_zoom.

See also orthographic, camera_sub_view, custom_primitives.

What went wrong

Projection is noticeably off-center.

Image

Additional information

Caught by bevy-example-runner.

https://pixel-eagle.com/project/b25a040a-a980-4602-b90c-d480ab84076d/run/5991/compare/5988?screenshot=3D%20Rendering/orthographic.png

I suspect that rounding needs to happen after scaling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesO-LinuxSpecific to the Linux desktop operating systemP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions