<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>onionpotato-tips</title>
<link>https://ameblo.jp/onionpotato-tips/</link>
<atom:link href="https://rssblog.ameba.jp/onionpotato-tips/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>CG/VFX MyRnD tips</description>
<language>ja</language>
<item>
<title>Houdini for Flip tips</title>
<description>
<![CDATA[ <p>Houdini &nbsp;Flip Tips</p><p>=======================================</p><p>Initial Valueを継承させる。</p><p>Reseed ParticlesがActiveになっていると</p><p>ＰａｒｔｉｃｌｅＣｏｕｎｔがこうしんされる為、point Attributeが変わる。</p><p>&nbsp;</p><p>viscosity AttributeをＤｏｐにInitialで持たせたい場合は</p><p>これらの扱いに注意するとうまくいく。</p><p>&nbsp;</p><p>Sop levelでcreateした場合はアプローチが少し違う。</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/onionpotato-tips/entry-12263912109.html</link>
<pubDate>Sun, 09 Apr 2017 01:23:33 +0900</pubDate>
</item>
<item>
<title>Python RnD vol.2-ROP-</title>
<description>
<![CDATA[ <p style="text-align: center;">Custom Python Tool</p><p style="text-align: center;">&nbsp;</p><p style="text-align: center;">Houdini Python&nbsp;</p><p>&nbsp;</p><p>:Create Simple ROP</p><p>&nbsp;</p><p style="text-align: left;"><a href="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/10/2d/p/o1108093313887738064.png"><img alt="" contenteditable="inherit" height="185" src="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/10/2d/p/o1108093313887738064.png" width="220"></a></p><p style="text-align: left;">===============================================</p><p>#Set UI function<br>setp = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor);<br>uiP = setp.selectPosition();</p><p>#/obj directory ffunction#<br>obj = hou.node("/obj");</p><p>work = obj.createNode("ropnet","ROP",0);</p><p><br>work.setPosition(uiP);<br>#parent path is here<br>objpath =work.path();</p><p>#Def Color<br>defcol = hou.Color((1.0,0,0.5));</p><p>work.setColor(defcol);</p><p>===============================================</p><p>:Add Mantra</p><p><a href="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/0d/62/p/o1111096513887738729.png"><img alt="" contenteditable="inherit" height="191" src="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/0d/62/p/o1111096513887738729.png" width="220"></a></p><p>===============================================</p><p>#error function&nbsp;<br>#error picker dialog<br>select = hou.selectedNodes()</p><p>if len(select)!=0:<br>&nbsp; &nbsp;hou.ui.displayMessage('-userGuide-\n ============\<br>&nbsp; &nbsp;\nSimple Mantra_node\n ============',title= 'dialogMessage');<br>&nbsp; &nbsp;path= select[0].path()<br>&nbsp; &nbsp;print path<br>else:<br>&nbsp; &nbsp;hou.ui.displayMessage('-User Support-\nSelect RenderGeometry\n\<br>&nbsp; &nbsp;============\nSample...\n Add MantraNode\n Create SelectGeometry\n\n\<br>&nbsp; &nbsp;============',title= 'dialogMessage');</p><p><br>#Function Select is End</p><p>if len(select)!=0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;text = hou.ui.readInput(message = "-userGuide-\n==============\nMantraNode_Name\<br>\n==============\n-typeHere-\n",);<br>else:<br>&nbsp; &nbsp; &nbsp;none;</p><p>typename = text[1];</p><p>userPath =(path);</p><p><br>rop = hou.node(userPath);</p><p>mantra = rop.createNode("ifd");</p><p>mantra.setName(typename,0)</p><p>mantra.moveToGoodPosition();<br>&nbsp;</p><p>===============================================</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/onionpotato-tips/entry-12255555251.html</link>
<pubDate>Sun, 12 Mar 2017 01:54:57 +0900</pubDate>
</item>
<item>
<title>Python RnD vol.1-Shop-</title>
<description>
<![CDATA[ <p style="text-align: center;">Custom Python Tool</p><p style="text-align: left;">&nbsp;</p><p style="text-align: left;">Houdini Python&nbsp;</p><p style="text-align: left;">&nbsp;</p><p style="text-align: left;">:Create Simple SHOP&nbsp;</p><p style="text-align: left;">&nbsp;</p><p style="text-align: left;"><a href="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/6f/96/g/o0600033013887725291.gif"><img alt="" contenteditable="inherit" height="231" src="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/6f/96/g/o0600033013887725291.gif" width="420"></a></p><p style="text-align: left;">&nbsp;</p><p style="text-align: left;">===============================================</p><p>#Set UI function<br>setp = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor);<br>uiP = setp.selectPosition();</p><p>#obj directory ffunction#<br>obj = hou.node("/obj");</p><p>work = obj.createNode("shopnet","SHOP",0);</p><p><br>work.setPosition(uiP);<br>#parent path is here<br>objpath =work.path();</p><p>#Def Color<br>defcol = hou.Color((1.0,0.8,0));</p><p>work.setColor(defcol);</p><p>&nbsp;</p><p>===============================================</p><p>:Add Shader Builder</p><p style="text-align: left;"><a href="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/3e/e8/p/o0280015913887732715.png"><img alt="" contenteditable="inherit" height="159" src="https://stat.ameba.jp/user_images/20170312/01/onionpotato-tips/3e/e8/p/o0280015913887732715.png" width="280"></a></p><p style="text-align: left;">&nbsp;</p><p style="text-align: left;">===============================================</p><p>#error function&nbsp;<br>#error picker dialog<br>select = hou.selectedNodes()</p><p>if len(select)!=0:<br>&nbsp; &nbsp;hou.ui.displayMessage('-userGuide-\n ============\<br>&nbsp; &nbsp;\nSimple Material Builder\n ============',title= 'dialogMessage');<br>&nbsp; &nbsp;node = select[0].path()<br>&nbsp; &nbsp;print 'nodepath=='+ node<br>&nbsp; &nbsp;<br>else:<br>&nbsp; &nbsp;hou.ui.displayMessage('-User Support-\nSelect ShaderNetwork\n\<br>&nbsp; &nbsp;============\nSample...\n Shopnet = SHOP\n SHOP = ShaderNetwork\n\n\<br>&nbsp; &nbsp;============',title= 'dialogMessage');<br>#Function Select is End</p><p>userpath = node;</p><p><br>#Set UI function</p><p>shop = hou.node(userpath);</p><p>builder = shop.createNode("vopmaterial","ShaderBuilder");</p><p>builder.moveToGoodPosition()</p><p><br>#Finish Function</p><p>hou.ui.displayMessage("Sucess!!!");<br>&nbsp;</p><p style="text-align: left;">===============================================</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/onionpotato-tips/entry-12255550517.html</link>
<pubDate>Sun, 12 Mar 2017 01:16:23 +0900</pubDate>
</item>
</channel>
</rss>
