![]() |
[Linux] GuiDrawingPanel error
It seems that as soon as either the width or height is higher than 1024 in a GuiDrawingPanel, it completely vanishes. Fix please?
|
1024x1024 is the limit for DrawingPanels, serverside and clientside. Makes it impossible to do things like generate a map :(
|
Quote:
|
Quote:
|
Quote:
|
Why do you need bigger images? There are texture size limitations in OpenGL and DirectX, stuff should never be larger than 1024x1024.
|
Quote:
|
I've had problems with the limitations before when trying to place a tileset into a scrollctrl since a tileset is sometimes larger than 1024 in width.
|
Quote:
|
Quote:
|
The tileset is not hold as texture in memory, you can draw tiles into a drawing panel. For drawing or generating big maps it's better to use several images.
|
Quote:
|
We were using this method to emulate Default Inventory on Classic, which is fairly likely to require drawing over a distance of 1024 pixels, worked fine on V5 with both Windows and Linux, and now broken with V6.
Really do not want to have to draw this in different pieces, and I don't think there is any other viable method that allows for drawing tiled or stretched "image parts". |
Quote:
|
Quote:
ShowImgCtrls still give you the problem of the background being split into different pieces, possible to work with but an un-necessary hassle. With the drawing panel I actually made a re-useable function to draw player.letters background + Characters for Inventory, Paused Display, Dead display and the same is intended for Say2 style Displays etc, to have to change this to a different method or seperate Inventory into something else would be pretty annoying. |
All times are GMT +2. The time now is 06:48 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.