Page 1 of 1

Weapon sprites being cut at the top

Posted: Mon Sep 25, 2006 20:07
by ellmo
Well, I don't know where to post it. Chances are it's again me, who's doing something wrong, but I'm going to ask...
Why is this weapon being cropped at the top of the screen? No matter how large graphic I do insert, it's always being cut:
Image

Posted: Tue Sep 26, 2006 2:00
by BlazingPhoenix
Probobly it being too big I think..

Posted: Tue Sep 26, 2006 3:26
by wildweasel
Doesn't seem likely - I have no problems using PNG graphics over 800 pixels tall as weapons.

Posted: Tue Sep 26, 2006 12:17
by Cutmanmike
That looks kinda..... hi-res

Posted: Tue Sep 26, 2006 15:40
by Alter
Because it's hi-res

Posted: Tue Sep 26, 2006 16:27
by ellmo
Well, this is most likely not related to the picture's size, but to offsets. Seems like you can have a 2000x2000 pixel large image, as long as it does not reach the upper edge of the screen. It's not being cropped (after paying more attention to my PNG I notcied it really has this godawful grey stripe at the top), it's being scaled to fit under the 50 pixel (or something like that) bar that resides at the top of the Doom screen.

I'll just animate the weapon so it doesn't reach that high... *sigh*

Posted: Tue Sep 26, 2006 21:37
by Nash
That might not be the problem. I have seen a few weapons, mostly from LilWhiteMouse, where the guns extend all the way to the top of the screen, and some even beyond.

Graf? Any thoughts?

EDIT: broken texture scaling support through HIRESTEX is a known issue, but that doesn't seem to be the problem either because your sprite already appears to be scaled. Hmmm...

Posted: Tue Sep 26, 2006 21:57
by Graf Zahl
I need the WAD to see what's wrong here.