Jump to content

guache

Members
  • Content count

    35
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About guache

  • Rank
    Peon

Personal Information

  • Name
    Joseph
  1. Thanks for all the ideas. I just came up with a visual analogy for this type of a problem: imagine you have a gnarly tree trunk and you scan it with a laser scanner around its perimeter at a height of, say, 3 feet off the ground: you get a string-like, convoluted point cloud that "envelops" or "encloses" the trunk's cross-section at that level. The goal is to reconstruct the cross-section from the points, as a single, closed polyline. This example has the "no-overlaps" condition built-in, as a tree can't really grow "into itself", like an arbitrary curve can.
  2. Thanks, but Edge Transport won't work. When I said "string-like", I don't mean the points are connected, only that they form an outline of a shape (like a map of a country), as opposed to being a random splotch of points. In your hip, the edge connectivity already "solves" the problem. From what I see: there are 2 approaches: 1) signed angle around the centroid, 2) cylindrical uv coordinates. Another solution just came to mind, if the points are reasonably far from the centroid and evenly (more or less) spaced apart: a vex code, where you loop through all points and find a nearpoint for each, while excluding all already-found nearpoints. This would "trace" the outline by finding closest points CW or CCW. This approach could deal with cases like radial "overhangs" (i.e. protruding "peninsulas" that curve left or right etc), where an angle-based approach wouldn't work right.
  3. Thanks. If there are many threads about this, maybe SideFX should add it to the Sort SOP.
  4. I sometimes need to sort a bunch of points radially. The points lie on a single plane and form a string-like, closed, irregular shape, kind of like a map of a country. I created my own OTL which computes a signed angle between each point and the centroid of the figure, then sorts the points. It works fine, but I was wondering if there's a quick (i.e. just a few SOPs) way to to do this using standard Houdini SOPs.
  5. Thanks, that's exactly what I wanted. BTW, if someone has a way to solve this with volumes (i.e. merge the boxes into one object by converting to a volume, then back to polys), yet still preserve the simplicity (i.e. not create unnecessary polygons or uneven, "beveled" edges etc), I'd love to hear it.
  6. In Houdini, I have a 3D shape that consists of multiple boxes. What's the simplest way to join them into a single object defined ONLY by the absolutely necessary corners? In other words, I want to get rid of all unnecessary vertical and horizontal divisions on the otherwise flat surfaces. I'd prefer not to go through volumes etc, as I'd like to preserve the simplicity of the shape. Thanks.
  7. COPS memory leak

    I have a COPS setup of ~25 nodes. I'm trying to comp a sequence of about 10,000 frames and I see a memory leak. Every frame adds about 20MB to used RAM. Given the length of the sequence, I keep running out of RAM. Is there a way around it, e.g. some kind of a COPS node that frees up memory or some other workaround? In Compositing Settings, I've already lowered the max comp resolution to the minimum I need, and the bit depth to the acceptable minimum (8-bit) but the leak is still here. Win 7 x64, Houdini 16
  8. Thanks for the replies. I wonder if there's a way to apply "vcomment" to the virtual viewport camera so the HUD shows up even if there's no actual camera in the scene.
  9. In Houdini, is there a way to show some custom values as a HUD-type display in the screenspace of the viewport (any viewport, not necessarily cam viewports)? I mean something similar to the framerate display (Display Options->Guides->Additional Info->Show Time) but for custom values.
  10. Thanks. I ended up writing an hscript loop that writes out the counter to channel.
  11. I have an animation channel with keyframes with various integer values. In CHOPs, I'd like to have a rolling counter that holds the sum of values on all preceding keyframes (values from keyframes only, not values from all preceding frames). Any idea how to do this? Below is a sample of what the counter would do: Keyframe on frame 1: value 3, counter: 3 (3) Keyframe on frame 8: value 8, counter: 11 (i.e 3+8) Keyframe on frame 13: value 4, counter:15 (i.e 3+8+4) Keyframe on frame 23: value 4, counter:19 (i.e 3+8+4+4) Keyframe on frame 29: value 7, counter: 26 (i.e 3+8+4+4+7)
  12. Two questions about hair: 1) I'm trying to get a "helmet hair" look, i.e. a hairdo that has been "pushed" closer to the scalp. I can always modify the guide curves by manipulating them as SOP curves, but I'm wondering if there's an dedicated groom (either tool or process) that would push an existing hairdo closer to the scalp. Or should I perhaps start with guide hairs that are already near-tangent to the scalp and try to create the "helmet hair" look from there? 2) While working on the problem above, I often get hair penetrating the scalp. Is there any setting in the groom tools that would force hair to always stay outside of the scalp (without doing simulations)?
  13. "Tent": Connect 1 pt to a bunch of others pts

    Thanks for all the replies. The points on the ground are already sorted by angle w/r to the "peak". I ended up with this: Add SOP on the ground pts to construct a ground poly scale a copy of this poly down to zero at the "peak" point i.e. collapse all points of the copied poly to one point location Skin SOP the two polys: the multi-point "peak" and ground poly to construct a tent Fuse SOP on the "peak" point to get just one point there I wish there was a SOP does this "cleanly", in one go.
  14. I want to create something like a tent: I've got one "peak" point and a bunch of "ground points" and I want to connect them into a "tent" with triangular sides, all meeting at the peak point. What's the cleanest, most elegant way to do this? I can loop through the ground points to construct each triangular section one by one, but I was thinking there's a native SOP that can do this for me.
  15. Cool, thanks.
×