@Glad-Partikel if your vdb is really low res you can try this: www.patreon.com/posts/handy-scrap-vdb-26790042
also by @pdohorse
i found that it doesn’t work with high res vdbs though
@Glad-Partikel if your vdb is really low res you can try this: www.patreon.com/posts/handy-scrap-vdb-26790042
also by @pdohorse
i found that it doesn’t work with high res vdbs though
@mestela I have this code lying around for copying parm values from one node to another
(from the first selected node to the second)
“`def copyParmValues(source_node, target_node): “”” Copy parameter values of the source node to those of the target node if a parameter with the same name exists. “”” for parm_to_copy in source_node.parms(): parm_template = parm_to_copy.parmTemplate() # Skip folder parms. if isinstance(parm_template, hou.FolderSetParmTemplate): continue
parm_to_copy_to = target_node.parm(parm_to_copy.name()) # If the parameter on the target node does not exist, skip this parm. if parm_to_copy_to is None: continue
# If we have keys/expressions we need to copy them all. if parm_to_copy.keyframes(): # Copy all hou.Keyframe objects. for key in parm_to_copy.keyframes(): parm_to_copy_to.setKeyframe(key) else: # If the parameter is a string copy the raw string. if isinstance(parm_template, hou.StringParmTemplate): parm_to_copy_to.set(parm_to_copy.unexpandedString()) # Copy the raw value. else: parm_to_copy_to.set(parm_to_copy.eval())
#initial setup srcpath = hou.selectedNodes()[0].path() targetpath = hou.selectedNodes()[1].path()
#src and target definition srcNode = hou.node(srcpath) targetNode = hou.node(targetpath)
#copyparms copyParmValues(srcNode,targetNode)“`
someone like slipowski could probs answer that off the cuff
theorangeduck.com/page/avoiding-shader-conditionals
this a resource he pointed me to once
interesting stuff
@Jonesy re ur volume question, toad is correct but u can get a lil bit o speed out of @density *= fit( @P.y, 0, .00001, 0, 1);
especially if they big boys
volumes dont looove conditionals
@xcaseyx here a sparse setup that mixes the colors as well
@kevbot9000 what if you do a vdb deavtivate at the last setup
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20202602/10/20/color_smoke_sop_pyro_MIX.hiplc
hey all something you might find handy – i’ve made a small python script which creates a radial menu of common nodes you can drop down to save typing tab+’omer’ for object merge, ‘bla’ for blast, ‘geo’ for geometry node etc
github.com/tristan-north/radialMenu
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20202202/05/20/readme_img.png
Here’s a handy menuscript snippet to get all unique values of a certain attribute to show up in the little parm dropdown menu. Example with name attribute on points: “`import hou
AllAttribValues = set(hou.pwd().geometry().pointStringAttribValues(‘name’)) Pairs = [[x, x] for x in AllAttribValues]
return sum(Pairs, [])“`
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20205701/24/20/unknown.png
Hey @flight404 … to simplify a little bit the process you can also just use HF + remesh + messing with some noise in vops.
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20201901/14/20/houdinifx_itwZgqoEWE.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20201901/14/20/quickcliff.hipnc
here’s the loop-a-2d-plane-though-a-3d-noise idea. doesn’t really work with 15 frames, but at ~60 it’s pretty ok
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20202101/13/20/ee_3d_loopnoise.hiplc
TIL you can add underscores to integers and they’ll be ignored in Houdini expressions
1_000_000 == 1000000