Search the Community
Showing results for tags 'measure'.
-
Hey, guys--how can I place a single point at the topological surface center (not centroid) of a curved surface? This comes after a lot of fracturing and blasting various prims, so the resulting geo is 3D but in the curved-2D sense (vs. extruded/solid). I've tried raying points but based on the shape it will frequently find the closest distance to be right on the edge of the geo instead of nicely in the center using min distance, and using vectors is no better. (This includes raying points that start at the centroid of the pieces.) It's okay if it's not 100% perfect, so if it's easier to do this by removing points of the existing geo instead of scattering a new point that's fine. I think maybe creating per-resultant-piece UVs would be the ticket(?), but I'm not sure how I would make lumpy and not-all-connected geo into pretty square 1x1 UV islands. Perhaps I can abuse the measure sop somehow? Group outside/unshared edges, measure each point to the distance of each edge, average those distances, and grab the point with the closest to a bbox max * 0.5? These things are on the tip of my brain but not spilling out to my fingers on the keyboard.
-
Now you can align multiple objects with Aligner like in 3ds max. Just select object or objects, press button and select the target. https://gumroad.com/l/Aligner Installation: 1. Create new shelf 2. Add new shelf tool 3. Copy and paste script from aligner.py 4. Edit ui_file path to the file aligner_gui.ui P.S. Asign the tool on Shift+A hotkey. Enjoy!
-
Hi, I'm a relatively new user so forgive me if this is a trivial problem I'm trying to sort my mesh according to regions of similar curvature. My aim is to be able to iterate over each region and remesh it smoothly— Ideally, in a way that would preserve boundary points and leave the mesh water-tight. Below is a link to the work of a Houdini artist whose procedure I'm trying to reproduce on my own meshes. Any help or a nudge in the right direction would be much appreciated. I've attached a very simple hip file illustrating what I'm trying to accomplish. Thanks so much! Measured Partitioning_test.hiplc
-
Hello Friends, I'm back again with what is surely some novice misunderstanding of the tools. Basically, I'm trying to get edge damage by measuring curvature and binding that within a point vop. However, I realized that my curvature is not being correctly measured. Instead of having the high points in the apex of the rounded edge, my gradient has the greenest result in the highest part of the rounded edge. Furthermore, inside the actual point vop, this 'mask' is only revealed if I use the concavity attribute... I don't mind calling it the wrong thing - but I'd like to have this result have the highlight on the apex of the rounded edges. Anyone know what I'm doing wrong? Thanks, p curvature.hip
-
So for the last view weeks I've been learning vex, great stuff. So now I want to turn my new awesome vex knowledge into practise. The goal of this operation is the measure the distance between each point to their closest neighbour. First, I use the pcfind function to grab the nearest point of each point number and put them in an array. Second, now I like to grab the values from the array and put them into a distance function. (BUT HOW?) I find array a bit of a vague concept. I get its a list of values, but I'm not really sure if the point numbers in the array also hold the position vector. Not sure if I'm doing this right, and probably there better way. If this method is right, pretty please help me out. kind regards, The new kid on the block measure_distance_nearpoint.hip
-
Hi all, I have a fractured geometry and I need to calculate a mass, size or area attribute for each piece. I'm using an assemble sop to create packed geometry and I animate each piece with a vex expression using the intrinsic transforms of the pieces. However I'd like the animation to be varied by an attribute that holds a relative size value. I know the measure sop calculates area, volume etc but how can I "promote" this value to the packed primitives? A brute approach would be to get the number of points for each packed primitve. Is there any way to get that info from the packed primitive? Thanks,
-
Hi, I am looking for measuring volume by VEX and/or attributeVOP, instead of measureSOP node. Basically I have mega voronoi fracture model. After that, I want to apply for volume calculation with loop node and compile node. Key is that I cannot use hscript expression in measure>center with compile node. That's why I am looking for another method.