Open BrutalMcLegend opened 5 years ago
not sure if this belongs here, but i am experiencing a similar issue with UV maps. I'm using an xmodel_export file exported directly from the game, when i convert that using assman everything works fine, but as soon as i open the xmodel_export file in blender, and then re-export that same model using blender-cod, converting it with assman, it messes up the UV..
Gmzorz, I Still haven't found a fix for this yet, and I'm not sure if the Plugin has been updated since I posted this, as I haven't done anything with Cod for a while, but as I stated above, It worked correctly using the old 0.3.5 Alpha Version of the plugin, while it's not recommended to use it, I would suggest, popping that version on Blender and giving it a shot, if it works, it might get your work done while waiting for an Update
The next update will be after Blender 2.8 stable releases - which should include a fix for this.
Is the UV map really messed up, or only rotated?
i believe it is messed up somehow, rotated/mirrored, no luck quick edit: it is mirrored, upside down..
Looks like I forgot to flip the V coordinate on export.
This should be resolved as of c6820c3, and will be included in the v0.6.0 update. In the mean time, if you don't want to wait for that release you can grab the files from the tree (for that commit) and replace the files in %AppData%\Blender Foundation\Blender\2.79\scripts\addons\io_scene_cod
, specifically export_xmodel.py
SE2Dev, again I'm sorry for all the issue reports. (but I hope atleast they're helping to make the plugin what you envisioned it to be.)
I did some experimenting before posting this time and I've prepared some screenshots of a basic Plane & Cube porting over to CoDWaW - I discovered this while trying to port a Complex mesh but did some testing on basic meshes.
The UV Maps for 'more advanced' meshes aren't being exported with the mesh, or similar (possibly exporting it wrong?), I tested this with v0.3.5, v0.5.1*, v0.5.2 -- v0.5.1 I was unable to get a model to export so only v0.3.5 and v0.5.2 can be counted.
It should be noted the Plane and Cube were exported from the same place, one after the other, and then imported via Asset Manager through the CoDWaW Launcher.
Cube & UV Map
Plane & UV Map
Cube in XModelUtils (TomBMX) -- Exported Seemingly incorrectly
Plane in XModelUtils (TomBMX) -- Exported Seemingly correctly
These screenshots were taken using the v0.5.2 version of the plugin
I was able to export a complex mesh and have it wrap correctly with a basic diffuse map using v0.3.5 (I know it's not recommended)