Skip to content

Digital Screen actual size limit #3681

Description

@AlexALX

Hello, i did long tests with digital screen, and found that current digital screen after #f7a9706 commit seems actually can render up to 1024*1023 pixels, even with

		elseif Address == 1048572 then -- Height
			self.ScreenHeight = math.Clamp(value, 1, 512)
		elseif Address == 1048573 then -- Width
			self.ScreenWidth  = math.Clamp(value, 1, 512)
		elseif Address == 1048574 then -- Hardware Clear Screen

clamp in code. I'm just wondering, is this intended after hi-res screen commit and on server this limit are old, or bug?

Right now i just rendered 1022*1022 image without any issue on digital screen (only speed was slow).

If it is intended then we need update clamp value on server, or clamp on client.
But internal memory of digital screen really allow up to 1048500 pixels which is 1024*1023 in Color Modes 2 or 3, then reserved area and commands.

This example of 960*928 image rendered:
Image

And same image with sizelimit=512, definelly quality is worse:
Image

So this mean i can render more than 512*512.

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