niacdoial / blemd

BMD importer for blender (BDL format also partially supported)
GNU General Public License v3.0
32 stars 13 forks source link

Imports have Red Textures #31

Closed PeculiarPancakes closed 5 years ago

PeculiarPancakes commented 5 years ago

Just found this script and I can finally view and export the TP BMD files I have, but the only snag is that none of the textures work. Every time I import a BMD file, it gives me an error and colours all of the materials red with no texture image. Is this a well known issue? Does this script not have the ability to include the img textures yet?

Screen Shot 2019-07-03 at 7 33 06 PM
niacdoial commented 5 years ago

Hello, so er.. The thing is, because exporting the textures from the bmd file is such a heavy task, it is actually handled by a small c++ program shipped with the addon. sadly, I didn't compile it for mac (yet? I don't own a mac so...), which is why the textures don't show up. However, the source for this small program is in the "image importing subprocess" folder, if you can compile it. You will also have to modify part of the "common.py" file for it to find the executable.

Le 4 juillet 2019 01:41:41 GMT+02:00, PeculiarPancakes notifications@github.com a écrit :

Just found this script and I can finally view and export the TP BMD files I have, but the only snag is that none of the textures work. Every time I import a BMD file, it gives me an error and colours all of the materials red with no texture image. Is this a well known issue? Does this script not have the ability to include the img textures yet? <img width="1680" alt="Screen Shot 2019-07-03 at 7 33 06 PM" src="https://user-images.githubusercontent.com/52513330/60630916-8dd4d100-9dca-11e9-92fe-1a37c343a1a4.png">

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/niacdoial/blemd/issues/31

PeculiarPancakes commented 5 years ago

Alright, that's understandable, i've run into this sort of thing a lot. Thank you anyways for the response

niacdoial commented 5 years ago

One thing though. Since I compiled it for linux (or at least ubuntu 18.04, 64bit), you could set up a virtual machine to get the textures. (I know, windows+linux support but not mac support is an uncommon combination) edit: good luck with what you are tring to do, whether you will try this or not