Pure erlang FBX - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6) +--- Thread: Pure erlang FBX (/showthread.php?tid=3126) |
RE: Pure erlang FBX - edb - 10-20-2023 Materials (but not yet the textures) can be imported. Newest build: wpc_fbx_p.tar RE: Pure erlang FBX - edb - 10-22-2023 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 RE: Pure erlang FBX - micheus - 10-23-2023 Cool. Thanks for the update. I just shared at the discord to see if someone can help testing it. RE: Pure erlang FBX - edb - 10-23-2023 Thanks micheus, I've just made some more fixes again, and the exporter now exports normals. Newest build: wpc_fbx_p.tar RE: Pure erlang FBX - jovechiere - 10-23-2023 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/1Io8hMJMYPCGtEgZfcbuOhjrkxSKD_rFp/view?usp=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! RE: Pure erlang FBX - edb - 10-24-2023 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 RE: Pure erlang FBX - edb - 10-25-2023 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 RE: Pure erlang FBX - edb - 10-26-2023 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 RE: Pure erlang FBX - jovechiere - 10-26-2023 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... RE: Pure erlang FBX - edb - 10-27-2023 Thanks for the feedback jovechiere, I'll make some readjustments to the material transparency and the texture names. |