PDA

Просмотр полной версии : [12695] Fix vmap geometry.


newsbot
31.07.2014, 00:30
Автор: 249CAAFE40


<pre style='white-space:pre-wrap;width:81ex'>[12695] Fix vmap geometry.

This patch fixes 2 issues with the vmap extractor. 1) Incorrectly converts vertex coordinates. 2) Forgets to convert coordinates on triangle indices.

The effects of [1] causes models to be flipped. This isn't very noticeable on most trees as flipping a cylinder results in the same cylinder, but it's very noticeable on any non-symmetrical geometry (which, even includes trees, it's just harder to notice). [2] Didn't seem to be a problem when the coordinates were incorrectly converted, but when applying the correct conversion caused some triangles to be flipped (i.e. facing inwards).

You will need to re-extract vmaps and re-generate mmaps for these changes to take effect.</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/0fc18f5deb2620d1bce755093ae7278a65594e8c)