HoudiniでRenderViewの結果をjpegで保存する
ほめられたい日記
2024年4月9日火曜日
HoudiniでRenderViewの結果をjpegで保存する
2024年2月18日日曜日
2024年2月17日土曜日
PythonをWindowsにインストール
Python2, 3のインストール
C:\user\dev\Python27
python-3.11.2-amd64.exe
以下にインストールする
Anaconda3 インストール(for Win64)
2023年9月8日金曜日
AndroidStudioで 外部エディタ(Emacs)を開く
AndroidStudioで、編集中のファイルを外部エディタ(Emacs)を開く方法
Mac版での設定
AndroidStudio > Settings...
でウインドウが開くので、以下で設定する
Tools > External Tools
Name: Emacs
Descripton: open in Emacs
Program: open
Arguments: -a /Applications/MyApplications/Emacs-27.2-inlinepatch-appl.app "$FilePath$" --args +$LineNumber$
Working directory: $FileDir$
Windows版での設定
Files > Settings...
でウインドウが開くので、以下で設定する
Tools > External Tools
Name: Emacs
Descripton: open in Emacs
Program: D:\mydata\windows\Tools\emacs-27.1_x86_64-win-ime-20200914\bin\emacsclientw.exe
Arguments: "$FilePath$" +$LineNumber$
Working directory: $FileDir$
VisualStudioCodeでEmacs(外部エディタ)で開く
VisualStudioCodeで編集中のファイルをEmacs(外部エディタ)で開く
設定手順
機能拡張「Open in Editor」を追加。
機能拡張 > 「Open in Editor」 > 管理(右下の歯車アイコン)をクリック > 「機能拡張の設定」をリストから選択
「setting.jsonで編集」をクリック
以下を追加する
"alt-editor.args": "-a /Applications/MyApplications/Emacs25WithIMEPatch.app \"{filename}\" ",
"alt-editor.binary": "open",
"alt-editor.name": "emacs",
"alt-editor.terminal": false
todo:行番号を指定して開きたい。+{line} を引数に追加しようとしたがうまくいかなかった。
例: "alt-editor.args": "-a /Applications/MyApplications/Emacs25WithIMEPatch.app \"{filename}\" --args +{line} ",
Windows版は以下
"alt-editor.binary": "D:\\mydata\\windows\\Tools\\emacs-27.1_x86_64-win-ime-20200914\\bin\\emacsclientw.exe",
"alt-editor.args": "\"{filename}\"",
todo: {line}を指定するには以下になるが、lineは常に1になるようである。
"alt-editor.args": "+{line} \"{filename}\"",
編集中のファイルをEmacsで開くには
方法1) 右クリック > Open in External Editor を選択する。
方法2) Option + shift + e
2023年8月1日火曜日
Houdini Apprentice が MacBook Air (M1, 2020) で起動しなくなった
Houdini Launcher.appでも起動しない。
Licenseを登録した時と、マシン名が異なるのが原因らしい。
例えば、登録した後にマシン名を変えたとか。
解決方法:
License Administrator を起動する。(時間がかかる)
File > Change Lisene Server... を選ぶ。
ここで、新しいマシン名.localのサーバーを追加する。
古いマシン名は(-)で削除した。
▼License Administrator でライセンスループに入ってしまうのはなぜですか? | SideFXhttps://www.sidefx.com/ja/faq/question/why-am-i-in-the-license-administrator-license-loop/
以後、上の対応でも起動できなくなった
2023年7月9日日曜日
Windows ターミナル, PowerShell, wsl2
ターミナルのインストール
Microsoft Storeで「Windows Terminal」をインストールする。
PowerShellの更新
▼新機能と改善のために最新の PowerShell をインストールしてください | Snow Tree in June
https://snowtree-injune.com/2022/04/24/powershell-dj019/#toc2
[手順]
以下を開く。(Windows PowerShell上でCtrlを押しながらクリックするとブラウザが開きます。)
以下の「MSI パッケージ」をダウンロードしてインストールする
PowerShell-7.3.5-win-x64.msi
以下を起動すると、インストールされたPowerShallが起動する。
PowerShall 7 (x64)
ターミナルからも、起動できる。
以下は古いバージョンのPowerShell。削除できない
Windows PowerShall XXXX
wsl2(Ubuntu)のインストール
PowerShellを起動し、以下を実行する
% wsl --install
Ubuntuが起動するのでユーザー名とパスワードを入力する。
更新は以下を実行する
% wsl --update