MantisBT - Zandronum
View Issue Details
0002113Zandronum[All Projects] Bugpublic2015-02-24 10:092015-02-24 12:27
pop_ww 
 
normalmajoralways
closedinvalid 
MicrosoftWindowsXP/Vista/7
2.0-beta 
 
0002113: Textures are rendered incorrectly.
My wad that works on latest stable version of Zandronum has texture issues in latest 2.0 beta. Textures show but they are very strange. It looks like they repeat themselves after every 1 px.
1) Download wads:
'http://www.best-ever.org/download?file=pop_ww_v2.wad [^]'
'http://www.best-ever.org/download?file=pop_ww_data.pk3 [^]'

2) Run the following command line:
zandronum.exe skulltag_data_126.pk3 skulltag_actors.pk3 pop_ww_data.pk3 pop_ww_v2.wad

3) In console wirite:
map map06
No tags attached.
png Screenshot_Doom_20150224_120215.png (1,092,787) 2015-02-24 10:09
/tracker/file_download.php?file_id=1423&type=bug
Issue History
2015-02-24 10:09pop_wwNew Issue
2015-02-24 10:09pop_wwFile Added: Screenshot_Doom_20150224_120215.png
2015-02-24 10:11pop_wwNote Added: 0011751
2015-02-24 12:23DuskNote Added: 0011752
2015-02-24 12:23DuskStatusnew => closed
2015-02-24 12:23DuskResolutionopen => invalid
2015-02-24 12:23DuskNote Edited: 0011752bug_revision_view_page.php?bugnote_id=11752#r6697
2015-02-24 12:24DuskNote Edited: 0011752bug_revision_view_page.php?bugnote_id=11752#r6698
2015-02-24 12:26DuskNote Edited: 0011752bug_revision_view_page.php?bugnote_id=11752#r6699
2015-02-24 12:26DuskNote Edited: 0011752bug_revision_view_page.php?bugnote_id=11752#r6700
2015-02-24 12:27DuskNote Edited: 0011752bug_revision_view_page.php?bugnote_id=11752#r6701

Notes
(0011751)
pop_ww   
2015-02-24 10:11   
I forgot to mention that latest gzdoom beta (r900) has same issue.
(0011752)
Dusk   
2015-02-24 12:23   
(edited on: 2015-02-24 12:27)
The texture resource wad is full of garbage lumps and in general it is not organized at all. It's a big mess with undefined behavior written all over it. After I remove the garbage lumps the custom textures show up as expected.

This is happening because there's textures within (ill-formed) F_START and F_END markers, so the engine loads them as flats while they are not flats. Not only that but there's multiple PNAMES/TEXTURE1 lumps (wtf?) around and an empty BEHAVIOR lump and whatnot. And this is in a WAD inside a PK3 wad to top it off.

This is 100% WAD fault.