You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2020. It is now read-only.
All derma drawing is discarded beyond a certain size (Seems that this size is similar to the screen's resolution).
Since Gmod Derma uses the very screen it may happen that this will not work never, but if there's a solution aside from scaling up the derma it would be nice. (Sure that scaling up the viewport may patch the issue, but the resolution is drastically decreased).
Steps to reproduce:
Create any derma panel using vgui.Create('DFrame');, then set a size higher than your screen resolution.
Code used:
ifSERVERthenreturn; end; --Ensure clientside onlyfunctionENT:Initialize()
localframe=vgui.Create( "DFrame" );
frame:SetTitle( self.title );
frame:SetPos( 0, 0 );
frame:SetSize( 2048, 2048 ); --This can be any W x Hself.frame=frame;
endfunctionENT:Draw()
self:DrawModel();
localo=self:GetPos();
localang=self:GetAngles();
localtopleft=ang:Forward() *self.corner.x+ang:Right() *self.corner.y;
-- Above code is for positioning the screen only.vgui.Start3D2D( o-topleft+ang:Up() *1.6, ang, self.scale);
self.frame:Paint3D2D(); -- here paint the framevgui.End3D2D();
end
The text was updated successfully, but these errors were encountered:
What happens:
All derma drawing is discarded beyond a certain size (Seems that this size is similar to the screen's resolution).
Since Gmod Derma uses the very screen it may happen that this will not work never, but if there's a solution aside from scaling up the derma it would be nice. (Sure that scaling up the viewport may patch the issue, but the resolution is drastically decreased).
Steps to reproduce:
Create any derma panel using
vgui.Create('DFrame');
, then set a size higher than your screen resolution.Code used:
The text was updated successfully, but these errors were encountered: