directX_blender
directX_blender copied to clipboard
Import Error
Hi Neo! Thank you for contributing towards blender. I have a .x model. I am not sure if its binary or ASCII, I've attached an screenshot. When I try to import it using your script, a list of error is given with nothing imported. Any help or suggestion would be kind.
hello Iasif,
it's an ascii file, I can tell this because you can open it in notepad :) (you can think ascii = texte file. it's not completely right but well it suffices)
so yes my script fails with your file this is a shame.
actually I can help starting from the image you sent me : I could if you send me the complete .x file so I can test and correct by myself. for sure I wont reuse or share the file for my own if there's some licence restriction.
please let me know,
regards,
jerome
----- Mail original ----- De: "iasif" [email protected] À: "littleneo/directX_blender" [email protected] Envoyé: Jeudi 12 Décembre 2013 04:24:07 Objet: [directX_blender] Import Error (#3)
Hi Neo! Thank you for contributing towards blender. I have a .x model. I am not sure if its binary or ASCII, I've attached an screenshot. When I try to import it using your script, a list of error is given with nothing imported. Any help or suggestion would be kind. git
— Reply to this email directly or view it on GitHub .
Hello Neo. Thanks for your prompt reply. Sure I can send you the .x file(attached). Firstly, I don't own it, its a Titanic model from Virtual sailor game. Secondly, I'm using it for just a hobby project, nothing commercial.
Anyways, thanks for helping me out and the whole blender community. boat.Xhttps://docs.google.com/file/d/0B_5SXukmTBLQSHlOS0wybHpEbk0/edit?usp=drive_web Well, here's your file, test it and I wish you all the best for success!
On Mon, Dec 16, 2013 at 6:07 AM, littleneo [email protected] wrote:
hello Iasif,
it's an ascii file, I can tell this because you can open it in notepad :) (you can think ascii = texte file. it's not completely right but well it suffices)
so yes my script fails with your file this is a shame.
actually I can help starting from the image you sent me : I could if you send me the complete .x file so I can test and correct by myself. for sure I wont reuse or share the file for my own if there's some licence restriction.
please let me know,
regards,
jerome
----- Mail original ----- De: "iasif" [email protected] À: "littleneo/directX_blender" [email protected] Envoyé: Jeudi 12 Décembre 2013 04:24:07 Objet: [directX_blender] Import Error (#3)
Hi Neo! Thank you for contributing towards blender. I have a .x model. I am not sure if its binary or ASCII, I've attached an screenshot. When I try to import it using your script, a list of error is given with nothing imported. Any help or suggestion would be kind. git
— Reply to this email directly or view it on GitHub .
— Reply to this email directly or view it on GitHubhttps://github.com/littleneo/directX_blender/issues/3#issuecomment-30626387 .
I have done some fixes to my version of this importer, and it now imports the file without obvious errors (only with some object-placement glitches). Materials are obviously still not right.
@ldo I don't think materials are right in my fork but I patched together some fixes from other forks and made the master zip from GitHub install into blender (I put the py in the root folder): https://github.com/poikilos/io_import_x See if any of this code helps you (you may have to look at each others commits to see how we can help each other). Mine doesn't seem to detect z-up vs y-up but I'm not sure whether that's possible.