- C: 押している間マテリアルIDビューを表示
- C > Shift+クリック: マテリアルIDビュー表示中にShift+クリックすることで対象のマテリアルIDにスマートマテリアルをアサイン
- スペース: UIの表示/非表示切り替え
- ←/→: IBLの切り替え
- ↑/↓: プリミティブの切り替え
- F: メッシュにフォーカス
- R: Ligths Spin(自動ライト回転)のチェック状態をトグル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| selectedNode = hou.selectedNodes() | |
| if len(selectedNode) is not 0: | |
| for node in selectedNode: | |
| transformNode = node.parent().createNode('xform', 'tf_move2origin') | |
| hou.node(transformNode.path()).setInput(0, hou.node(node.path())) | |
| transformNode.moveToGoodPosition() | |
| transformNode.parm('tx').setExpression( | |
| '-$CEX', language=hou.exprLanguage.Hscript) | |
| transformNode.parm('ty').setExpression( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| selectedNode = hou.selectedNodes() | |
| if len(selectedNode) is not 0: | |
| for node in selectedNode: | |
| transformNode = node.parent().createNode('xform', 'tf_pivot2center') | |
| hou.node(transformNode.path()).setInput(0, hou.node(node.path())) | |
| transformNode.moveToGoodPosition() | |
| transformNode.parm('px').setExpression( | |
| '$CEX', language=hou.exprLanguage.Hscript) | |
| transformNode.parm('py').setExpression( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| selectedNode = hou.selectedNodes() | |
| if len(selectedNode) is 1: | |
| for node in selectedNode: | |
| transformNode = node.parent().createNode('xform', 'tf_touch_down') | |
| hou.node(transformNode.path()).setInput(0, hou.node(node.path())) | |
| transformNode.moveToGoodPosition() | |
| transformNode.parm('ty').setExpression( | |
| '-$YMIN', language=hou.exprLanguage.Hscript) | |
| transformNode.setDisplayFlag(True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| from pathlib import Path | |
| from pykakasi import kakasi | |
| kakasi = kakasi() | |
| kakasi.setMode('H', 'a') | |
| kakasi.setMode('K', 'a') | |
| kakasi.setMode('J', 'a') | |
| conv = kakasi.getConverter() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "------- Preferences --------" | |
| set ttyfast | |
| set t_Co=256 | |
| set hidden | |
| set autoread | |
| set history=2000 | |
| set noswapfile | |
| set backspace=start,eol,indent | |
| set ambiwidth=double | |
| set shortmess+=I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "editor.fontFamily": "Ricty Diminished", | |
| "editor.fontSize": 15, | |
| "editor.formatOnType": true, | |
| "editor.formatOnSave": true, | |
| "editor.wordWrap": "on", | |
| "editor.scrollBeyondLastLine": false, | |
| "workbench.startupEditor": "newUntitledFile", | |
| "python.linting.enabledWithoutWorkspace": false, | |
| "typescript.check.npmIsInstalled": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "printf":{ | |
| "prefix":"pr;", | |
| "body":[ | |
| "printf('%g\\n', $0);" | |
| ], | |
| "description":"Log output to console" | |
| }, | |
| "chs":{ | |
| "prefix":"chs;", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var p0 = { | |
| ptnum: 0, | |
| numpt: 4, | |
| Alpha: 1.0, | |
| pscale: 0.0, | |
| P: [0.0, 0.0, 1.0] | |
| }; | |
| var p1 = { | |
| ptnum: 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var prim0 = { | |
| primnum: 0, | |
| numprim: 2, | |
| shop_materialpath: "/mat/iron", | |
| Cd: [0.37, 0.96, 0.41] | |
| }; | |
| var prim1 = { | |
| primnum: 1, | |
| numprim: 2, |