J'ai donc essayé de convertir un fichier .Bamend à .bam avec Blend2Bam comme suggéré par la page Panda3D officielle, mais je reçois une FilenotfoundError. J'utilise Windows avec Python3.7 (de l'installation Panda3D). J'ai essayé de nombreuses possibilités de la façon dont on pourrait s'adresser à la SRC et à DST mais qu'il n'a toujours pas fonctionné.
C:\Panda3D-1.10.6-x64\mystuff\pandatest>blend2bam C:\Panda3D-1.10.6-x64\mystuff\pandatest\car_model.blend C:\Panda3D-1.10.6-x64\mystuff\pandatest\ Traceback (most recent call last): File "c:\panda3d-1.10.6-x64\python\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\panda3d-1.10.6-x64\python\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Panda3D-1.10.6-x64\python\Scripts\blend2bam.exe\__main__.py", line 9, in <module> File "c:\panda3d-1.10.6-x64\python\lib\site-packages\blend2bam\cli.py", line 195, in main use_gltf28 = blenderutils.is_blender_28(args.blender_dir) File "c:\panda3d-1.10.6-x64\python\lib\site-packages\blend2bam\blenderutils.py", line 22, in is_blender_28 output = subprocess.check_output([binpath, '--version']) File "c:\panda3d-1.10.6-x64\python\lib\subprocess.py", line 411, in check_output **kwargs).stdout File "c:\panda3d-1.10.6-x64\python\lib\subprocess.py", line 488, in run with Popen(*popenargs, **kwargs) as process: File "c:\panda3d-1.10.6-x64\python\lib\subprocess.py", line 800, in __init__ restore_signals, start_new_session) File "c:\panda3d-1.10.6-x64\python\lib\subprocess.py", line 1207, in _execute_child startupinfo) FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden
3 Réponses :
Ma solution de contournement utilise Blender2.7 et Yabee. P>
courut dans la même erreur. Il appelle que le mélangeur a besoin de savoir où le trouver: Blend2Bam --Blender-dir "C: \ Fichiers de programme \ Blender Foundation \ Blender 2.82" Test.Blend Test_bam_dir P>
J'ai eu le même problème aujourd'hui et je pense que je le résoudre éventuellement. Vous devez utiliser le répertoire d'installation de Blender comme argument. Voici le mien:
Noms de fichier: P>
blend2bam cube.blend cube.bam --blender-dir D:\Programs\Blender