Skip to content

Wrong pvrz-page in BAM V2 with large frame #207

@Tugcga

Description

@Tugcga

When NearInfinity save bam v2 with large image, it store texture in wrong pvrz-file. For the test, I create a bam with one cycle and one frame with image size 1536x1240.

Image

It store the texture into three pvrz-files (it's clear, because each pvrz-texture limited by 1024x1024). But when I open it in NearInfinity, the texture has the empty hole.

Image

I investigate the output file in more details, and find, that second data block, linked with 5001 page, has size 512x1024, but corresponding pvrz-texture has size 1024x512. That's why, when the image gatherd from pieces, it has an empty area.

Tested with the latest NearInfinity from the release page: 2.4.2025.0611.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions