View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000385 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-03-05 16:06 | 2017-03-06 12:06 |
Reporter | Tormentor667 | ||||
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Summary | 0000385: Inconsistency between GZDB and GZDoom on texture offset (negative scaling) | ||||
Description | I don't know if this is a GZDB bug or a GZDoom bug so I am cross-posting this here and in the GZDB thread. Can't tell since when it happens but some texture alining doesn't work properly ingame if it works well in GZDB. GZDB (laterst build r2930) GZDoom (latest build from today) GZDB texture setting: I think that the negative scaling somehow makes problems in terms of consistency how the engine handles it and how the editor handles it. | ||||
Tags | No tags attached. | ||||
ineditor.jpg (76,781 bytes) ==> SQL => SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_class c where d.adrelid=c.oid and c.relname='mantis_bug_file_table' order by d.adnum
ingame.jpg (51,951 bytes) ==> SQL => SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_class c where d.adrelid=c.oid and c.relname='mantis_bug_file_table' order by d.adnum
texture.jpg (78,667 bytes) ==> SQL => SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_class c where d.adrelid=c.oid and c.relname='mantis_bug_file_table' order by d.adnum
|
|
It was changed recently because scrolling textures with a negative scale were scrolling in the wrong direction. This was a GZDoom-exclusive issue, in ZDoom it was correct, it was also introduced somewhere in 2012 when some mirroring issues were badly fixed. Apparently GZDB followed the incorrect setting in older GZDooms. |
|
I also strongly recommend to use the 'worldpanning' setting with mirrored textures to avoid anomalies. | |
What exactly was changed? What was the old behavior and what's the new one? I'll change it in GZDB. | |
"Worldpanning"? | |
@ZZYZX: For flipped textures the offset coordinates were also flipped by being multiplied with the negative scale. @Tormentor: Worldpanning is a texture option that uses world coordinates for texture offsets, not texel coordinates. The entire texel coordinate thing was a misguided idea by Randi that over time has caused endless trouble and sadly I failed to address this when TEXTURES got made by changing the default. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-05 16:06 | Tormentor667 | New Issue | |
2017-03-05 16:06 | Tormentor667 | File Added: ineditor.jpg | |
2017-03-05 16:06 | Tormentor667 | File Added: ingame.jpg | |
2017-03-05 16:06 | Tormentor667 | File Added: texture.jpg | |
2017-03-05 18:30 | Graf Zahl | Note Added: 0000873 | |
2017-03-05 18:32 | Graf Zahl | Status | new => resolved |
2017-03-05 18:32 | Graf Zahl | Resolution | open => no change required |
2017-03-05 18:32 | Graf Zahl | Note Added: 0000874 | |
2017-03-05 21:33 | ZZYZX | Note Added: 0000880 | |
2017-03-06 11:26 | Tormentor667 | Note Added: 0000894 | |
2017-03-06 12:06 | Graf Zahl | Note Added: 0000895 |