Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About guache

  • Rank

Personal Information

  • Name
  1. RBD: spheres inside a thin hollow box

    Thanks. I'll create a thick shell and see how it goes. For Bullet, I'll try to re-do the box by treating the individual walls as separate objects (making sure they're thick and convex)
  2. I don't have experience with sims, but I need to set up a simple RBD sim. I have 15 balls inside a thin, hollow box (a bit thicker than the balls). I want the balls to fall and collect at the bottom of the box. The balls fall down, but the box doesn't hold them in. They collide with features of the box, but, in the end they fall out of the box, as if the box's walls had "holes". The box is a Static Object (Use Surface Collision), its poly normals point to the center, as you'd expect in a hollow object. The balls are an RBD Point Object (Use Volume Based Collision on). I use RBD Solver, I tried Bullet (same setup), but the balls just fall straight down. Questions: 1) For a hollow box, is having just the inner walls (with normals pointing inward) OK, or do the walls need "thickness", like a shell? 2) Why is the box detected for collisions by the basic RBD Solver (not very well, but still), while in Bullet the balls fall right through the box?
  3. I'd like to make a nice looking presentation of an object (a personal project, not commercial, no budget). I know that Keyshot Vectary etc are geared towards such product presentations. Is there a site or resources for Houdini with typical props / lighting setups used in such presentations? I mean things a glass table, a prop book, a window geo for reflections, a "studio" HDRI / AI setup with a soft backdrop etc I know all this can be made, but maybe there are ready-to-go collections
  4. You need to be specific what you mean by "reveal". Do you mean the surface is black / not seen, but as another object passes by, it becomes visible? Then use a light attached to the moving object, with a tight attenuation. I don't understand why geo attribs can't be used. Will your employer fire you if you subdivide the surface for more geo detail? Subdivide, use a point wrangle to compute the distance to the passing object and save it as attribute.
  5. Fold a poly, procedurally create "crease" edge

    Thanks. I'll try a Clip SOP, with the clipping plane aligned to the fold line, but set just a tiny, tiny bit "into" the polygon. so that it's guaranteed to always create an edge.
  6. I have a long, rectangular poly which ends up "folded" by 180 deg (not necessarily in half, as in the pic). After folding, this poly is obviously very non-planar. I want to add a new "crease" edge along the fold line to fix it. I can create the edge manually in the viewport, but I want a procedural SOP solution. The Divide SOP seems most logical (Convex poly: ON, Triangulate non-planar: ON), but it doesn't always work. Sometimes it creates a new crease edge, sometimes it doesn't (maybe because folding by 180 deg is so radical). Is there a SOP that would reliably do this? I see a "Crease SOP", but it doesn't create edges, it assigns weights to existing edges. PolySplit SOP could work, but the way you need to specify the split points (% of edge length etc) seems unnecessarily complex. I do have the 3D point positions of the fold line, so I can easily create a line there. But how do I "plug" it into the existing poly as a valid new edge?
  7. Speed up composite ROP?

    I have a comp ROP (launched within the Houdini UI) that takes >1 hr, but I see only 20% use of my CPU. Is there way to use more CPU to speed up the comp? In Preferences->Cooking->Multithreaded Cooking is set to 14 (out of 16), but I don't see CPU usage above 20%. In Compositing Settings, I tried dropping bit depth to 8-bit integer (from 16-bit FP), but it doesn't make any difference. I tried "Batch Cook Frames" set to 2 and up, but it slows down the comp even more. My comp uses only individual frames (no time warps etc), so it should be easy to parallelize it to the max (one frame per thread)
  8. I'm trying to render a flipbook with motion blur resulting from camera's motion (not object's motion), but I never get any motion blur. In flipbook settings, I enabled Motion Blur, 5 (sub-)frames. On the camera, I added/enabled all motion-blur-related rendering options: Allow Motion Blur, Enable Motion Blur, Xform Time Motion Samples (5) Geo Time Samples (5). Shutter time is 0.5. I have non-integer frames in the playbar. Any ideas how to get blur from camera motion in a flipbook?
  9. Python: eval string param as "raw"

  10. seperate temporal and spatial easing

    Create a polyline defining the path, constrain the camera to it. Use the "position" setting (where on the arc the camera is) to time it any way you want.
  11. I can't get transparency to look right in the viewport (H18.5). My viewport is set to smooth-shaded. Opaque objects with materials/textures look correct. When I try to display transparency, something is always broken. If I set "Alpha" on the points and don't use any material, the object's transparency is shown correctly, but the color is black-and-white (as if Alpha replaced the color), ignoring the point color values. The various transparency "quality" settings in Display Options do more or less what you'd expect. If I set "Alpha" on the points, assign a material ("Use point Alpha" is on) to the object, I get different visual bugs: the object either vanishes, is only shown in outline, or just a tiny part of the object shows. If I un-assign and re-assign the material, or select the object's node (so that it's "highlighted" in the viewport), the object briefly looks right. But moving/panning in the viewport instantly brings the visual bugs back. The "quality" settings in Display Options have no effect, only "Cutout" shows the object (as solid). The graphics card is Nvidia RTX 2080. Is this purely a Houdini issue or would tweaking some Nvidia's GL settings help?
  12. I have a filename param which contains "$F4". When I read it using hou.param('...').eval(), the "$F4" is expanded to the current frame. Is there a way in Python to prevent this expansion, i.e. get the raw string with "$F4" included literally?
  13. In Houdini, I have one node with a button that runs a lengthy Python script (a .py file on disk). I have another Python node with Python code inside it. This Python code needs to use 2 Python lists created by the .py script on disk. I could use a text file to write and pass these lists, but I was wondering if there's a better way to "save" and pass variables within the hou environment itself.
  14. I have a bunch of polys, some of which have "thin" parts: long, linear, protruding features. I want to remove them. I can't select by area, because 1) there are polys which are small, but don't have these "thin" parts, 2) I want to keep the non-thin parts of all polys and remove only the "thin" parts. The best definition of what I mean by "thin" is: "the part of the poly where the distance from one edge to another, not-directly connected edge, is below some number". Any ideas?
  15. Bulk rename

    Is there a way to bulk rename operators by pattern, e.g starting with "A_..." to start with "B..." ? Opchange can do this but only inside parameters. Opname seems to only work on individual nodes.