Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won


vtrvtr last won the day on October 19

vtrvtr had the most liked content!

Community Reputation

83 Excellent

1 Follower

About vtrvtr

  • Rank

Personal Information

  • Name
  • Location
  1. If-Node in node network

    It is, but not most common way to do things. Imagine instead of two things you want to randomize 10, now you have a monstrous network. You can use the Switch SOP and use either python or hscript to randomize the input. As you might imagine, the more inputs you have, the harder this becomes. Example file below. Usually what people do in situations like yours is save the set dressing to disk and just randomizing the loading path. People usually avoid the fully dynamic approach because it's common for fully randomized pieces to simply not fit together well. If you want the fully dynamic approach you might want to create different assets from your attachable geometry. Another approach that might lead to better organization is to use a Object Merge SOP and randomize just the path to the output of whatever network is generating the set dressing. randomize_network_path_odf.hip
  2. PDG Question

    What you think about saving camera settings for all items? That way you don't need to worry about exceptions and everything is standardized. The extra data will also be negligible. Of course, that supposes you can know which camera to use before saving the models. If you can't, then you have no choice than doing it manually later.
  3. PDG - SOP Environment variable

    Use `@PUBCACHE` or equivalent.
  4. Using attributes as parameter

    That doesn't work everywhere. It works in `group` type parameters or the polyextrude node (if you set it up in the UI), for example. It doesn't work in many other parameters. For consistency sake you're better sticking with the `point(...)` syntax or the Python equivalent. That will work in virtually all cases. Oh, yes, you might be confusing it with the new PDG stuff that lets you do `@attribute` if you set it up in TOPs. That also works in most places.
  5. Changing parameters from a python script

    You can try forcing the cook of a node with `node.cook(force=True)`. But usually you would make a button that would let the user randomize whatever on demand. You can also take a look at PDG to make a graph that constructs your assets.
  6. Notification when Houdini crashes

    You should use a render manager of some kind, Tractor, Deadline, Hqueue etc. Many of them have functionality like this. The way you're doing it is a bit troublesome. Where are you running this from? If it's from Houdini for obvious reasons it won't work since the program will have crashed. If it's from some other shell, how will you get the correct pid? Also, Python is cool so it will work, but your morphing function definition isn't very usual. Usually you would take care of the OS difference inside the function (or have two different functions).
  7. Changing parameters from a python script

    `chs...` is a hscript syntax. It's better to use full python if you're going to use python. Something like import random controller_node = hou.pwd().parent().node("controller") windows_parm = controller_node.parm("nOfVertWin") windows_parm.set(random.randint(0, 5)) This would randomize between 0 and 5.
  8. Not completely sure I understand, but maybe something like this. pcfind_normals_ODF.hip
  9. PointWrangle x PopWrangle

    This screenshot isn't from frame 0, right? You have to play the simulation for it to cook. If you want to have the values at frame 0, start your simulation at frame -1. If it really isn't doing anything when you simulate. That's very weird. Maybe reinstall Houdini.
  10. PointWrangle x PopWrangle

    You might want to upload your file because to me it seems it does work. vellum_pt_expr_odf.hipnc
  11. PointWrangle x PopWrangle

    Here's a hip with an example of both reading from SOPs and from itself. point_exrp_dop_odf.hip
  12. You might want to post the hip file because it simply should work. Also, try recreating the node. It seems there's bug (feature?) with what exactly is evaluated when you press "Cook".
  13. FLIP Fluid Attribute Control

    Your question is light in details. Not really possible to know what precisely you want do to. Maybe you can clarify what you mean with "driver for fluid attributes". So here are some examples in the hip below. One is using microsolvers and an arbitrary volume, the other is using the built-in option of adding viscosity as point attribute. https://giant.gfycat.com/ForthrightPessimisticBluefish.webm https://giant.gfycat.com/HatefulDrearyBilby.webm viscosity_attribute.hipnc
  14. Script to resume crashed render

    Yes. All of them, I think. Beware that the free version on Deadline does not work with PDG because it uses a commandline submission instead of a Houdini submission. But normal Houdini submissions works fine.
  15. Script to resume crashed render

    That's basically what render schedulers are for. Tractor, Deadline, Hqueue etc.