Weapon sprites being cut at the top

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
ellmo
DRD Team Admin (Inactive)
Posts: 237
Joined: Thu Jun 30, 2005 13:30
Location: Poland, Poznan

Weapon sprites being cut at the top

Post 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
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

Probobly it being too big I think..
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post by wildweasel »

Doesn't seem likely - I have no problems using PNG graphics over 800 pixels tall as weapons.
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Post by Cutmanmike »

That looks kinda..... hi-res
User avatar
Alter
Posts: 851
Joined: Wed Oct 05, 2005 8:55
Location: Poland, Lodz

Post by Alter »

Because it's hi-res
User avatar
ellmo
DRD Team Admin (Inactive)
Posts: 237
Joined: Thu Jun 30, 2005 13:30
Location: Poland, Poznan

Post 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*
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post 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...
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I need the WAD to see what's wrong here.
Locked

Return to “GZDoom”