sábado, 9 de agosto de 2014

PadZero in string Parameters Houdini

create string parameters keyframe
then edit expression

Python:
hou.node("..").name() + '_%03d' % hou.intFrame()

hou.node("..").name() : parent name 

*/ works for Integers  Floats and Strings*/ 
 '_%03d' % hou.intFrame() : pad3 decimals places  using Frame as base number    

****another method only for strings*****:

n = '4'
print n.zfill(3)
>>> '004'



HScript:

opname("..")+"_" + padzero(3,"$F") 


opname(".."): parent name 

padzero(3,"$F")  :pad3 decimals places  using Frame as base number




quinta-feira, 6 de fevereiro de 2014

RealFLow 2 vray VectorBlur


Use wildcards!  and convert to vrmesh
using ply2vrmesh app

./ply2vrmesh.exe "/Users/chrysl666/Desktop/TNT/VRAY_proxyMesh/meshExp11_01_*.bin" 


Then load one vrmesh file from the sequence  and change its path:
/Users/chrysl666/Desktop/TNT/VRAY_proxyMesh/meshExp11_01_0001.vrmesh

to something like this:
/Users/chrysl666/Desktop/TNT/VRAY_proxyMesh/meshExp11_01_%04d.vrmesh
ready to render using velocity path !



terça-feira, 4 de fevereiro de 2014

RealFLow 2013 CommandLIne

command line example for meshing in Osx:


"/Applications/RealFlow 2013/RealFlow.app/Contents/MacOS/RealFlow64"  -mesh -range 44 44 "/Users/chrysl666/Desktop/TNT/RF_explosion/RF_explosion.flw"


quarta-feira, 6 de novembro de 2013

Smoke FBX to XSI

scale from smoke  : 0.1
bake all animations channels  -  translate , rotate , scale ,  all camera attr ...  










domingo, 28 de abril de 2013

sexta-feira, 26 de abril de 2013

Multiple objects in copy SOP houdini

From houdini 12.5 help about copySop:


create a switch node and a copy sop

in copy sop turn on Stamp inputs
and create a Variable1 = switch  -----> value1 = fit01(rand($PT),0,(opninputs("../switch1")))


in switch node insert expression connecting the stamp variable :
stamp("./copy1","switch",0)

quinta-feira, 25 de abril de 2013

Move Points along normal HOUDINI


From :  http://forums.odforce.net/index.php?/topic/15659-move-geometry-along-a-point-normal/

peak SOP is your friend.  It transforms the point along the point N, or you can use a point SOP and do a $TX + ($NX * 0.1),  $TY + ($NY * 0.1),  $TZ + ($NZ * 0.1) in the position paramter.  The 0.1 value is the amount you want to move it along the normal.  That expression is doing what the peak SOP does.