tips mainly for Houdini

タグ検索でsop15件見つかりました。

deformation with wire

**Deform with line *** Smoke sim Do smoke simulation at rest position. *** wire sim Use vellum/wire solver *** Deform volume Deform based on motion of two wires. ***Simple deform Use volume wrangle. Plug volume to 1st, rest wire to 2nd and animated wi…

https://nkvfx.memo.wiki/d/deformation%20with%20wir... - 2019年03月25日更新

collision group & ignore

**Instruction ***Create "collisiongroup" attribute After geometry is packed, create an attribute "collisiongroup" in points. =|CC| s@collisiongroup = "col1"; ||= ***Create "collisinoignore" attribute "collisinoignore" can be specified if a packed…

https://nkvfx.memo.wiki/d/collision%20group%20%26%... - 2018年09月07日更新

read packed primitive

**Packed Primitive ***Create Packed Primitive in Python =|PY| node = hou.pwd() geo = node.geometry() geo.createPacked("PackedDisk") ||= ***Create Packed Primitive in Vex =|CC| int ptnum = addpoint(geoself(), {0,0,0}); int primnum = addprim(geoself(),…

https://nkvfx.memo.wiki/d/read%20packed%20primitiv... - 2018年05月30日更新

spiral

**Instruction &ref(https://image02.seesaawiki.jp/n/o/nkvfx-memo/1044a8ea57d0ebc8.gif) [[&ref(https://image02.seesaawiki.jp/n/o/nkvfx-memo/e05eb0c6e92eb4b4-s.jpg)>https://image02.seesaawiki.jp/n/o/nkvfx-memo/e05eb0c6e92eb4b4.jpg]][[&ref(https://image02…

https://nkvfx.memo.wiki/d/spiral... - 2018年05月10日更新

boolean fractures

**Instruction The idea is to make fractures with "find shortest path" and "boolean" node. ***Reference [[Orange County Houdini User Group: Boolean Constraint Network 02>https://vimeo.com/246632626]] **File [[04_boolean_fracture_v01_01>https://…

https://nkvfx.memo.wiki/d/boolean%20fractures... - 2018年05月07日更新

make proxy object for bullet sim with packed primitive

** Basic ways ***Proxy with ** File [[01_packed_prim_proxy_v01_01>>https://1drv.ms/u/s!Aq48eE-W_hEF52XLMKY4r3AazM2R]]…

https://nkvfx.memo.wiki/d/make%20proxy%20object%20... - 2018年04月11日更新

packed disk primitive

***Create Packed Primitive in Python =|PY| node = hou.pwd() geo = node.geometry() geo.createPacked("PackedDisk") ||= ***Create Packed Primitive in Vex =|CC| int ptnum = addpoint(geoself(), {0,0,0}); int primnum = addprim(geoself(), "PackedDisk", ptnum…

https://nkvfx.memo.wiki/d/packed%20disk%20primitiv... - 2018年04月10日更新

replace packed objects with high-res/different objects

**Instruction ***Calculate matrix to rotate initial position to current position *** Sim It would be easier if "Solve on creation frame" on packed oabject is on. *** extract and apply orient, pivot and position to high-res geometry **File [[03_p…

https://nkvfx.memo.wiki/d/replace%20packed%20objec... - 2018年03月20日更新

rotate 180 degrees along local z axis

=|CC| vector4 qua = quaternion(radians(180), {0,0,1}); @orient = qmultiply(@orient,qua); ||=…

https://nkvfx.memo.wiki/d/rotate%20180%20degrees%2... - 2018年01月19日更新

subframe motion for motion blur

**Instruction ***Deformation motion Blur with Linear Interporation &ref(https://image01.seesaawiki.jp/n/o/nkvfx-memo/9f7bb0f84a6b4e3f.gif) Make sure point number doesn't change while shutter is open. If shutter offset is 0 and Shutter time is 0.5, then …

https://nkvfx.memo.wiki/d/subframe%20motion%20for%... - 2017年10月17日更新

set up probability in wrangle

=|CC| float sum=0; for(int i = 0; i < ch("folder2"); i++) { sum += ch("probability" + itoa(i + 1)); } float rand = rand((@id + ch("seed")+0.21) + (ch("seed"))); rand = fit01(rand, 0, sum); sum = 0; for(int i = 0; i < ch("folder2"); i++) { …

https://nkvfx.memo.wiki/d/set%20up%20probability%2... - 2017年10月15日更新

average operations

**Instruction &ref(https://image02.seesaawiki.jp/n/o/nkvfx-memo/877099a08a40a9cf.jpg) ***Center point of a bounding box =|CC| vector min,max; getbbox(1, min, max); vector avg = avg(min, max); addpoint(geoself(), avg); ||= ***Center point of all poin…

https://nkvfx.memo.wiki/d/average%20operations... - 2017年10月08日更新

align in VEX

=|CC| vector4 orient = dihedral(vector a, vector b); ||=…

https://nkvfx.memo.wiki/d/align%20in%20VEX... - 2017年09月30日更新

create points at the center of each primitive

=|CC| float bound[] = primintrinsic(@OpInput1, "bounds", @primnum); vector min = set(bound[0], bound[2], bound[4]); vector max = set(bound[1], bound[3], bound[5]); addpoint(geoself(),avg(min,max)); removeprim(geoself(),@primnum,1); ||=…

https://nkvfx.memo.wiki/d/create%20points%20at%20t... - 2017年09月13日更新

clip in VEX

Run over "Detail" Attributes are not interporated in this code =|CC| string in0 = @OpInput1; int nprims = nprimitives(in0); int op; string operation = chs("keep"); if(operation == "above")op= 1; if(operation == "below")op= 2; else op= 0; vector cutDi…

https://nkvfx.memo.wiki/d/clip%20in%20VEX... - 2017年09月13日更新

boolean(1) camera(2) cel(1) centos(2) chop(2) collision(3) constraint(1) cop(1) copy(1) csh(1) dop(9) expression(1) fedora(2) forloop(1) fracture(2) hdri(1) houdini(24) katana(2) linux(4) lookdev(1) mantra(1) mat(1) moitionblur(2) node(1) nuke(3) packed(3) pipeline(3) plastic(1) pop(1) python(9) quaternion(1) rbd(4) rendering(2) rop(1) script(1) shader(2) shape(1) shell(2) shop(1) smoke(1) softbody(1) sop(15) time(1) vellum(1) vex(11) volume(2) wire(1)

管理人/副管理人のみ編集できます