久しぶりにdaz_to_vam.pyを実行してみたらエラーで実行できなかった。 参考記事 「Virt-A-Mate – モーション・キャプチャのデータを取り込む。 –」 「Virt-A-Mate
Visual Studio Community 2019 - 実行ファイルのビルド -
以下の手順 Debug –> Release に変更 ビルドから以下のどちらかを実行 出力先がここらに表示される プロジェクト・フォルダの ¥bin¥Release¥ 以下に作成される
Blender 2.92.0 - io_export_anim.py -
io_export_anim.py AnimationをCSVで保存するAdd-onだ。 InstallしてFile>Export>Animetion(.CSV)から使う。 選択しているオブジェクトのAnimationデ
Blender 2.92.0 - Using Blender's filebrowser with Python -
Using Blender’s filebrowser with Python というのを見つけた。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
import bpy import os from bpy.props import StringProperty, BoolProperty from bpy_extras.io_utils import ImportHelper from bpy.types import Operator class OT_TestOpenFilebrowser(Operator, ImportHelper): bl_idname = "test.open_filebrowser" bl_label = "Open the file browser (yay)" filter_glob: StringProperty( default='*.jpg;*.jpeg;*.png;*.tif;*.tiff;*.bmp', options={'HIDDEN'} ) some_boolean: BoolProperty( name='Do a thing', description='Do a thing with the file you\'ve selected', default=True, ) def execute(self, context): """Do something with the selected file(s).""" filename, extension = os.path.splitext(self.filepath) print('Selected file:', self.filepath) print('File name:', filename) print('File extension:', extension) print('Some Boolean:', self.some_boolean) return {'FINISHED'} def register(): bpy.utils.register_class(OT_TestOpenFilebrowser) def unregister(): bpy.utils.unregister_class(OT_TestOpenFilebrowser) if __name__ == "__main__": register() # test call bpy.ops.test.open_filebrowser('INVOKE_DEFAULT') |
そのままBlenderから実行して、確か
Blender 2.92.0 - CSVファイルを読み込んでObjectにAnimationをつける。 -
Motion Trackingで動画から動きを読み取ってVaMで使うというのをやっている。 「Virt-A-Mate – Import Motion Tracking Data by Blender R
Blender 2.92.0 - Python 覚書き -
起動 [New]で開いてコードをコピペするか、[Open]で.pyファイルを開く。 実行 エラー System Console Tweet https://neo-sahara.booth.pm
Visual Studio 2019 - Androidアプリを作ってみる -
Visual StudioでAndroidアプリが作れるらしい。 Android Studioが王道のようだけど、こちらは開発言語がJavaだそうだ。 Visual StudioでXamarinってのを使えばC#で開発が
Visual Studio 2019 - プロジェクトのフォルダ名を変更したい -
適当につけてしまったプロジェクトのフォルダ名を変更したい。 環境 Windows10 Pro Microsoft Visual Studio Community 2019 Version 16.11.5 WPF ア
Virt-A-Mate - Import Motion Tracking Data by Blender 2 -
「Virt-A-Mate – Import Motion Tracking Data by Blender –」の続き。 横道にそれて、開発環境のことに触れておく。 開発環境はVisual Stu
WPFアプリのデバッグモードでの実行時にウィンドウ上部中央に表示されるツールバーを非表示にする
名称すらわからないので検索すらできなかったのだが、文字で表すなら表題のようなもの。 これ。 正体がわかれば当たり前なのだが、デバッグ無しで実行すれば表示されない。 自分が何も分からず何気なくクリックしている「開始」はデバ