Use python to navigate the node tree, examining every parm value. Use the expression() method for each parm to return the expression value as a string, and compare that to $FSTART.
https://www.sidefx.com/docs/houdini/hom/hou/Parm.html [www.sidefx.com]
Found 2521 posts.
Search results Show results as topic list.
Technical Discussion » How to find all references to a specific special variable
- Enivob
- 2534 posts
- Online
Solaris and Karma » Karma PNG bit depth
- Enivob
- 2534 posts
- Online
I think that is all you're going to get out of the venerable old PNG format. If you need more than 8 bits per-channel, try using .EXR or .TIF.
Technical Discussion » Flipsolver SOP bug in Houdini 20.0.547
- Enivob
- 2534 posts
- Online
It's a known issue with Houdini. I think H20 is better, but there are viewport bugs holding onto "stale" data which produce the anomaly. It's not just FLIP related, other simulation systems using visualizer can cause the problem as well. Click the X to destroy that copy of the viewport and use the + icon to add another. That typically fixes it for me. Otherwise, you have to restart Houdini.
Edited by Enivob - today 07:56:48
Technical Discussion » Mask based displacement issues
- Enivob
- 2534 posts
- Online
Try restoring the ramp on maskbygeoemtry node back to the default. It affects downstream nodes.
Houdini Lounge » I need help with crowd simulation.
- Enivob
- 2534 posts
- Online
You do have some setup issues on the crowd solver. Your SOP path for the terrain points to the out for your agents. Try pointing it to the /out for your leg/bridge. Change the mode from Direction vector to UP Attribute.
Edited by Enivob - April 20, 2024 07:36:11
Technical Discussion » getting the lowest node from the highest one in python
- Enivob
- 2534 posts
- Online
Maybe try node.children instead of node.dependents?
This is what I use to return children of a node.
And a usage case...
This is what I use to return children of a node.
def childrenOfNode(node, filter): # Return nodes of type matching the filter (i.e. geo etc...). result = [] if node != None: for n in node.children(): t = str(n.type()) if t != None: for filter_item in filter: if (t.find(filter_item) != -1): # Filter nodes based upon passed list of strings. result.append('%s~%s' % (n.name(), t)) result += childrenOfNode(n, filter) return result
And a usage case...
# Export geo based objects as OBJ files. lst_geo_objs = [] #nodes = childrenOfNode(hou.node(node_path),["envlight"]) #nodes = childrenOfNode(hou.node(node_path),["hlight", "ambient"]) nodes = childrenOfNode(hou.node(node_path),["Object geo"]) #Other valid filters are Sop, Object, cam. for node in nodes: ary = node.split("~") if len(ary) > 0: node_candidate = "%s/%s" % (node_path, ary[0]) n = hou.node(node_candidate) if n !=None: if n.isDisplayFlagSet(): exportAsRIB(node_candidate, geo_dir) lst_geo_objs.append(node_candidate)
Edited by Enivob - April 19, 2024 08:05:14
Animation » How to export to Alembic file? With animated origins/pivots in blender
- Enivob
- 2534 posts
- Online
Check the hip file for the technique I use. You do have to route the Cd attribute to a material and chose one of the Blender render modes which displays color information. You have to promote Cd to vertex inside Houdini for it to show up in Blender.
Edited by Enivob - April 17, 2024 18:00:09
Houdini Indie and Apprentice » Split Objects after a Dopnet ?
- Enivob
- 2534 posts
- Online
Try dropping down a split node. Click the Group dropdown to select what will appear on the left output. Everything else will appear on the right output.
Animation » Re-simulating a timeline without having to scrub it by hand?
- Enivob
- 2534 posts
- Online
What I do is rewind, then type the exact frame number I want to land on. This will simulate up to the frame, leaving you a blue bar. By typing the frame number, Houdini simulates a little faster. It doesn't update the viewport until it reaches the landing frame. This is faster than just playing the timeline to reach your landing frame.
Edited by Enivob - April 16, 2024 11:42:42
Solaris and Karma » Subdivision or some other issue?
- Enivob
- 2534 posts
- Online
Technical Discussion » Why the background image is not visible in the refraction!
- Enivob
- 2534 posts
- Online
You can try the old trick of parenting a grid with the image to your camera. Then the background plate will be a "real" object in the scene which can reflect rays.
Animation » Particle collision avoidance during transformation (Edited)
- Enivob
- 2534 posts
- Online
Here's my interpretation of your requirements. By adding an @id attribute to your particles and your goal points, popsteerseek can track scattered moving goal points, making particles seek them. Even if they overshoot, they'll try again to find their resting location while avoiding colliders.
Technical Discussion » How to assign a shortcut key for enabling/disabling simulati
- Enivob
- 2534 posts
- Online
Place this code inside a shelf tool, and assign F6 as the hot key. It will turn on and off Auto Update. (lower right corner)
if hou.ui.updateMode() == hou.updateMode.AutoUpdate: hou.ui.setUpdateMode(hou.updateMode.Manual) else: hou.ui.setUpdateMode(hou.updateMode.AutoUpdate)
Houdini Indie and Apprentice » How to attach a particle sim to animated geo?
- Enivob
- 2534 posts
- Online
You might want to simplify. Instead of generating particles from smoke, just emit the particles directly from animated surface, as shown in your reference.
Technical Discussion » Getting a pyro simulation to flow across geometry
- Enivob
- 2534 posts
- Online
Check out this link, with pyro conforming to a surface.
https://tokeru.com/cgwiki/HoudiniDops.html#pyro_stick_to_surface_with_project_non_divergent_sop [tokeru.com]
https://tokeru.com/cgwiki/HoudiniDops.html#pyro_stick_to_surface_with_project_non_divergent_sop [tokeru.com]
Edited by Enivob - April 3, 2024 17:31:12
Technical Discussion » Realistic Knitting Pattern in Houdini
- Enivob
- 2534 posts
- Online
Here's a couple of related links:
https://forums.odforce.net/topic/26155-knitting-in-houdini/#comment-151689 [forums.odforce.net]
https://forums.odforce.net/topic/30238-simple-knit/#comment-169575 [forums.odforce.net]
https://forums.odforce.net/topic/40331-animated-mesh-on-vellum/#comment-194312 [forums.odforce.net]
https://forums.odforce.net/topic/26155-knitting-in-houdini/#comment-151689 [forums.odforce.net]
https://forums.odforce.net/topic/30238-simple-knit/#comment-169575 [forums.odforce.net]
https://forums.odforce.net/topic/40331-animated-mesh-on-vellum/#comment-194312 [forums.odforce.net]
Technical Discussion » Stripes in fire sim after rendering in Karma
- Enivob
- 2534 posts
- Online
I would guess that is the influence of shredding on your simulation. Check your Shape tab and reduce the value or turn it off.
Technical Discussion » List of local variable
- Enivob
- 2534 posts
- Online
Here's some, but certain variables are only available on certain nodes in certain contexts. Check any node's help card for more details.
Scroll down a bit.
https://www.sidefx.com/docs/houdini/network/expressions.html [www.sidefx.com]
Scroll down a bit.
https://www.sidefx.com/docs/houdini/network/expressions.html [www.sidefx.com]
Technical Discussion » VDB from Polygons: non-watertight geos?
- Enivob
- 2534 posts
- Online
I always start with a polyextrude and add a small width. Sometimes it is easier just to model a watertight likeness to supply as a collider.
Houdini Lounge » A Comprehensive Feature List Between Karma XPU + Redshift
- Enivob
- 2534 posts
- Online
You have a nice overview.
It is a little misleading to say there is no XPU non-USD workflow. I get that Karma is a USD render system, but you can use the ROP to render a non-Solaris SOP-based scene in the traditional Houdini manner.
It is a little misleading to say there is no XPU non-USD workflow. I get that Karma is a USD render system, but you can use the ROP to render a non-Solaris SOP-based scene in the traditional Houdini manner.
-
- Quick Links