arrow1 opened this issue on Jan 11, 2024 ยท 3 posts
FVerbaas posted Fri, 12 January 2024 at 5:07 AM Forum Coordinator
uv domain mapping (vertices and polygons) usually comes, in the .obj file as one set with the xyz domain mapping. Same holds for uv domain mapping.
There is, in Poser, currently no method to combine or swap out uv maps. If you have a separate mapping for the uv domain, but with consistent, or at least mapped, order of the polygons as in the xyz domain mapping you could write a small script to combine them, either in memory or in a .obj file.
If you want to pursue this your main tool there would be the below method in the geometry type:
polygons, sets and vertices can be obtained from the xyz geometry using the proper methods. The optional input parameters texPolygons, texSets, texVertices would have to come from your custom uv definition. This could be a normal .obj based input. A polgon (facet) definition in a .obj requires vertex data. You can do with just 4 vertices repeated for every polygon.