[3.4.1] Cameratexture blacked out under some circumstances

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

[3.4.1] Cameratexture blacked out under some circumstances

Postby Matt » Thu Jun 14, 2018 11:47 pm

To replicate:

1. download the attached and DUMP 2

2. gzdoom -file <the attached mod> DUMP-2v2.pk3 -nomusic -noautoload

3. New game, mash enter until at map01

4. Go to Map08 using idclev08, map map08, or changemap map08

Expected: the cameratexture appears as on map01.
Actual: only one corner of the cameratexture appears, the rest blacked out.

Screenshots:
Spoiler:


Once it appears it never goes away, even if you start a new game, until you quit GZDoom.

This works fine in 3.3.2 and is bugged in 3.4.0.

If I break the ANIMDEFS reference in DUMP2, the HUD cameratexture works fine.

When the bug appears and I try to switch renderers, it persists.
Attachments
testctstatbar.zip
(1.28 KiB) Downloaded 13 times
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: [3.4.1] Cameratexture blacked out under some circumstanc

Postby Matt » Sat Jun 16, 2018 1:30 am

The last pre-3.4 commit that I can confirm does not suffer this bug is 2ae8d39 from April 24.

The two that immediately follow it, 0dcc6ec and 8d62ebd, weren't tested because the first won't compile (something about a previously declared int) and the second would crash every time I tried to start a map, so I can't tell if either of them might be where this started, but c37ff22 is affected by this bug.
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: [3.4.1] Cameratexture blacked out under some circumstanc

Postby _mental_ » Fri Jun 22, 2018 8:29 am

It's started with c37ff22 exactly. The problem is with more than one camera textures of different widths/heights.
Simplified test case is in attachment. Works with arbitrary Doom map, just enter any level twice.
Spoiler: Code and screenshot
Attachments
camtex2.zip
(638 Bytes) Downloaded 2 times
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests