veeti512 / wadblender

13 stars 3 forks source link

Possibility to import WAD2 (or Single Texture Export when importing) ? #8

Closed TokyoSU closed 3 years ago

TokyoSU commented 3 years ago

Im having some problem with wadmerger beta3 (ngle update) since some object wont export (subscribe out of range "classic error"), do you have planned to do the wad2 import too ? additionnaly when importing a single object from a full wad, the full wad texture will be extracted, i just want to extract a single texture instead :x can it be extracted to a single texture or it's not possible ?

veeti512 commented 3 years ago

By single texture you mean a texture page 256x256? If so, next update I will add an option to create one material for each page. Then, when you export, the unused texture pages should be discarded.

I dont know about the wad2, by the way, they added in wad tool the possibility to export meshes. I think it will also remove the inused textures. Did you try?

TokyoSU commented 3 years ago
veeti512 commented 3 years ago

I see, I like this feature! First I need to finish another feature, then I'll see what I can do. In the meantime I think you can do it by yourself, see this https://blender.stackexchange.com/questions/15510/possible-to-bake-texture-to-new-uv-map

veeti512 commented 3 years ago

unfortunately, the method in the link I posted fails too many times. I managed to do something like this instead, is that what you asked? The object texture map is at the left 2021-03-02

TokyoSU commented 3 years ago

Sorry for the wait, it look perfect :) i will see it myself and report it if it's what im looking for. Some engine need it to be power of two so example: 256x256 or 32x32, it not look a power of two in your image, but i will not ask more, you already work too much for this wonderful tool xD