10-20-2023, 08:49 PM
10-22-2023, 10:18 PM
Materials, UVs and Textures are now implemented in the importer and exporter. After some testing I'll make a pull request.
There are some map types which I am not sure corresponds the best to which wings map types. DiffuseColor (mapped to 'diffuse') NormalMap (mapped to 'normal') ReflectionFactor (currently mapped to 'metallic') ShininessExponent (currently mapped to 'roughness') I'll be looking at how difficult it would be to add some .exr support as I notice it is being used for textures that aren't diffuse color. Newest build: wpc_fbx_p.tar
10-23-2023, 01:53 AM
Cool. Thanks for the update.
I just shared at the discord to see if someone can help testing it.
10-23-2023, 12:15 PM
Thanks micheus,
I've just made some more fixes again, and the exporter now exports normals. Newest build: wpc_fbx_p.tar
10-23-2023, 06:36 PM
(This post was last modified: 10-23-2023, 07:13 PM by jovechiere.)
Oh it's a great contribution, very good job.
Long overdue... I use FBX format quite a lot, especially for video game modding. And some of them still resist to be loaded, I'll send you a zip file with example FBX models of both ArmA Reforger and Bannerlord. https://drive.google.com/file/d/1Io8hMJM...sp=sharing (actually what I did was to open them in Blender and export them again, then if they worked) Also, I don't know why, whenever I import them, all the edges appear in hardness hard. Thanks Edb!
10-24-2023, 01:05 PM
Thanks jovechiere for the bug report, I've fixed the issue.
I made more changes and fixes, also the hard edges should be fixed now. Newest build: wpc_fbx_p.tar
10-25-2023, 12:44 PM
More fixes for some specific FBXs, UTF-8 material names and file paths, also fixes to importing ByPolygon smoothing.
Newest build: wpc_fbx_p.tar
Importer can now handle slightly different naming of color parameters, and a few fixes to the exporter. I think it's ready for a pull request.
Newest build: wpc_fbx_p.tar
10-26-2023, 02:49 PM
(This post was last modified: 10-26-2023, 02:50 PM by jovechiere.)
The hardness issue is much better, although now I'm struggling with the materials and textures.
If they have the same name and load the same texture, it's supposed to be the same as before, not create a new material and texture. Now I also see that in the materials, it adds an opacity of 0.8 and it's a problem, because they don't always have that opacity. Also the name of the textures would be great to use the name of the original, I ended up with a huge list of Diffuses, Normals, etc... And perhaps to finish... there is no need for details of Material_ or similar. Example: First and foremost these are just tips or views of a former QA. I'm pretty sure it improves the quality of life. Everything you are doing is very much appreciated... |
|