Jougito / sharpwow

Automatically exported from code.google.com/p/sharpwow
0 stars 1 forks source link

WMO rotation/rendering is mirrored #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In Ruins of Lordaeron, the WMO for Shadowfang Keep appears mirrored. I'm not 
sure if this is normal for the map, or if the WMO itself is mirrored. Tested on 
r73.

Original issue reported on code.google.com by notjimm...@gmail.com on 23 Aug 2012 at 4:40

GoogleCodeExporter commented 9 years ago
After performing a few test runs with modifications to the WMO rotation code, 
I've determined that the issue appears to be related to WMO's that are built 
from multiple WMO files, such as larger cities and structures. Other WMO's that 
are single houses and the like, appear properly in the editor (or so it seems). 
I carried out my tests on r81. I used Zul'Gurub as an example, because the 
ZulGurubCity.wmo ends up not only mirrored, but flipped in position over the 
ADT's - such that, if you were inside the instance, the sandstone walls would 
only appear outside of the instance (and mirrored).

So I'm not a good programmer in the least, but I'm good at analyzing wacky 
problems and trying to solve them (hence testing this issue) - I believe 
there's something to how the relative rotation of each WMO segment is 
calculated that is screwy right now. I'm still trying to figure it out. I 
managed to un-flip the ZG WMO, but it was still mirrored - as in, walls that 
should be to the right were to the left, and vice-versa.  Bizarre.  

Original comment by notjimm...@gmail.com on 25 Sep 2012 at 1:56