MakeClothes should calculate pole-count
|Status:||Fix exists, needs testing||Start date:||11/10/2015|
|Assignee:||Joel Palmius||% Done:|
|Target version:||MakeHuman 1.1.2|
MakeHuman assumes a default pole count (maximum number of edges per vertex) of 8 edges, which is valid for the basemesh and is a sane default.
This is done for performance reasons, but it will make subdivision fail when a mesh with more poles is loaded.
Increasing this number can be done on a per-mesh basis, and should be specified in the proxy file as such:
In this case 9 would be set as maximum number of edges per vertex.
Lowering this value has a positive influence on performance and RAM usage, making it higher reduces performance.
Therefore there is a benefit to be had to setting this to the minimum possible value.
While it would be possible to verify this value when loading a mesh file, it would (or could) reduce mesh loading performance, thus it would be better to do this in a pre-process in the creation software.
It would be good if MakeClothes could calculate this value and store it in the proxy file.
#3 Updated by Thomas Larsson about 3 years ago
Technically, this should be straightforward to implement. The only reason why MakeClothes does not check for polecount already is that I didn't really know about this limitation.
That said, I think that it is a bit unfortunate to impose restrictions on clothes meshes just because of limitations in the MH machine. E.g., when MH went 100% python, all non-quad meshes were scrapped, including the Rorkimaru proxy which seems to me to be the best low-poly proxy made to date. In my opinion, the main value of MH is as an asset creator, and the limitations should be imposed by the target app rather than the creator app.
#7 Updated by Aranuvir # over 1 year ago
- Status changed from Fixed to In Progress
- Assignee changed from Thomas Larsson to Joel Palmius
- Target version set to MakeHuman 1.1.2
Reopening this bug. Though MC calculates max_pole and writes it to the file, it still has a built-in limit of 8 poles. In makeclothes.py lines 1154-1158 need to be deleted, or should be altered, so it just warns if pole count tends to get insane...
Also available in: Atom