Jump to content

Search the Community

Showing results for tags 'point'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 58 results

  1. Hey guys, how can i go to add points in those yellow parts? i tried by having only the lines (wanted to take the corners) but they got a lot of points and resampling kill the shape, any ideas? tagging the master @f1480187 Cheers!
  2. Hey! I'm trying to setup a top network which is pretty simple. I have a dop network where I simulate points, and I have a top network to wedge the seed of the pop source. Now I would like to cache out those wedges, and ideally gather them all together to render. I found examples on how to render the points straight away, but nothing that tells me how to cache them. I tried the rop geometry output in top with no luck. anyone that can help me with that? thanks!
  3. Hello, I'm trying to transfer point color from static object to an animated one. the color does transfer however the red marks seem as if they're moving not with the animated poles. the two objects are identical. houdini 16.0 . 2019-04-01 09-20-18.mp4
  4. Hello guys ! I noticed that in vex, if you modify an attribute and then read it back using the point() function (or prim(), or anything not using the @ nomenclature), it will return the input value, not the modified one. See this code, running over Detail vector thePos = point(0, "P", 0); // Input point's pos is {0,0,0} thePos += {1,2,3}; setpointattrib(0, "P", 0, thePos); thePos = point(0, "P", 0); printf("%d ", thePos); // Prints {0,0,0} instead of {1,2,3} I mean, even this code doesn't work ! No input, running over Detail addpoint(0, {1,2,3}); vector thePos = point(0, "P", 0); printf("%d ", thePos); // Prints {0,0,0} instead of {1,2,3} But interestingly enough, when running over Points (or prim or whatever), this happens //Input is one point, at {0,0,0} @P += {1,2,3}; vector thePos = point(0, "P", 0); printf("Real pos : %d\n", @P); // Prints {1,2,3} printf("Problem pos : %d\n\n", thePos); //Still prints {0,0,0} Not sure what that means, but it can't be applied in my case, as I need to run over Detail. Just wanted to point it out. I need to be able to modify some point attributes (pos and others) and then read them back when running over Detail. How can I do that ? Is it possible ? Thanks in advance ! point_old_value.hip
  5. Hey magicians, excuse my VEXnorance but: How can I push the green colors while keeping red ones in original position? also tried to add a distance slider but it moves all the points. Lastly im thinking about how to add more density points on the green part, depending on z distance Thanks!
  6. scatter points on animated mesh

    hey! I'm about to create a fairly simple effect where a deforming mesh (a man running for instance) is made of spheres, not only on the surface but inside as well. Of course I can scatter points inside, but my question is how can I keep the distribution of spheres constant through the animation so that each sphere moves with the body (and on top a little noise to make each sphere alive...) a good example is this video at 1:32 any tip? cheers!
  7. hou.Geometry.point() not working..?

    Simple problem: I have a foreach loop running over points on a curve each with an attribute that is randomized for which variety of geometry it needs to use. The varieties are coming from 1 input, but where each variety has a different primitive attribute for which variety it is (I get the geometry in from Unity). I got the geometry getting piped in to a copy to points node, in the foreach, but before that I need to delete, per loop, what is not used. Or I need to pick it, I don't know. I just need the loop to select a variety based on the randomly generated attribute. So the way I did it was with a delete node, with an expression with the following python code: curVal = hou.pwd().curPrim().attribValue("namechoice") compareVal = hou.node("../foreach_plank_start").geometry().point(0).attribValue("nameselect") if curVal != compareVal: return 0 else: return 1 Comparing the primitive attribute (int) with the point attribute (int). But.. I get this error: Error: Unable to evaluate expression ( Traceback (most recent call last): File "<stdin>", line 3, in expression AttributeError: 'Geometry' object has no attribute 'point' (/obj/worknode/fence_maker/delete2/filter)). Explanations to why hou.Geometry.point() is not "valid", suggestions for other ways to code it or suggestions for other way to do the network are most welcome!
  8. Hi everyone! I need to do a local rotation using an Attribute VOP for individual points of a grid and just can't get my head around this... If I e.g. rotate along the Z-axis and THEN rotate along the Y-axis it again rotates over the world's Y - not the shifted local Y-axis with a new orientation after i rotated over Z. What I basically need is taking the newly oriented "local" axis into account - the Y-axis should always point upwards from the upside of a cube. No matter how the cube is oriented. I hope you guys know what I mean... i attached an image to clarify. Also I attached a very simple example with 3 Attribute VOPs for rotation over each axis. No matter how the cube is oriented, it always rotates over world-axis. Maybe somebody can point me in the right direction? testrotation.hiplc
  9. Mass in General

    Hi people, I'm trying out Vellum in Houdini and I was wondering how mass works. I noticed that the mass is a point attribute. That said, if I want to know the total mass of the object, do I need calculate the sum of all the points ? Thank you.
  10. Hello guys, Is there a way to create to dynamically create curve point custom handles ? I know I can create a simple curve in HDA and export the curve handle to the HDA, but I can't animate the curve position and edit the curve after. The curve node doesn't take account of the transform node, so it's a bit wierd to modify the points of the curve when the result is 100 meters away. Any help would be appreciated !
  11. Hello Odforce, I'm trying to create groups based on the @P.y attribute of a bunch of vertical lines I have. I am almost there, but I'm not exactly a Vexpert and can't figure out exactly how to assign multiple groups with different names. I'm able to create a string attribute with the correct name for the groups with s@test = sprintf("%f", @P.y); s@groupname = concat("group_", @test); I tried using setpointgroup(0, @groupname, @ptnum, 1, "set") after this, but it didn't do anything, now I'm just stumped on how to approach assigning this attribute as a group. Any input would be greatly appreciated! Thank you
  12. Hey magicians, Been getting crazy with wire solvers. I think the issue is because I get the points changing over time and the constraints go crazy. I've been reading that I need to create a id attribute with $PT to hold the value, tried that with no luck. Animation works fine until the number changes Any tip will be super helpful, thanks in advance.
  13. Hello, I have a feeling this is a common issue, but its a bit hard to explain / search for a solution. I've imported an animated alembic file, used unpack to get the points and put it through a trail node to get the point velocities, the problem is that the point count changes as some of the objects "disappear", so you get brief flicks of extreme velocity as the point IDs shuffle, I am curious about the method(s) for dealing with this problem.. Thank you
  14. hello guys. I am new Houdini user. I got a question about copy to point. I can't find out a way to get each sphere scale from 0-1 when every time it generated in this case. I need some help to know about the concept to make it happen please. thanks. here is the file link: copy to point file
  15. I got this dla growth system, that generate new points from "old" points each frame. i want to instance different objects to the growing dla system. My problem is that when i use an attribute randomize "pscale" and "orient" to the growing points, that result that each point changes size for each frame, same goes for orient. Ive put my randomize in the solver, and was hope that would do it, but no luck. I guess i have to give each point a id attribute once its born, but not sure how to proceed. I went through entagmas toturial "Diffusion Limited Aggregation", that is where my dla/growth system is from, so im just going to give ewach point a randomize pscale and orient. Anyone know how to do this? dla_attribute_problem.hiplc
  16. Hey all! I have a bunch of points travelling around, and I would like to create a new set of points, where each of them is orbiting around the given point, in the direction of the main point, I guess the image attached explains it a little better than words...just trying to do it with vex code cheers
  17. I'm trying to build out an idea for an HDA that would create a vine along a surface based on a find shortest path SOP and some controllers for where the start and end points would be to control how long the vine is. This is mostly intended to be a tool in a realtime engine with the idea that it would be cooked into a static mesh (so it doesnt need to animate). I have the main branch generating fine but I am attempting to create some branching points from the main curve to create child branches from this main branch. However, I'm fairly new to Houdini and kind of stumped where to go from here. Currently I'm scattering points from the main branch and attempting to drive them away from the main branch while following along the surface normal of the underlying mesh. I've got something really basic(just sending them out at a random vector direction and snapping them to the surface) but I feel as though this method doesnt give me any control. I thought about trying to make the branches use a find shortest path as well but Im not sure how to control where the start and end points would be procedurally, hence why I was trying to create curves along the surface normals in an attribute wrangle instead. I attached a .hip file for anyone willing to take a look. Thanks for any advice, I appreciate any pointers in understanding VEX better. IvyGrowing.hip
  18. Hello ! I'm struggling to analyse points from a mesh and only keep x number (like 4?) of the farthest points from each others. I tried to grab the distances in vex then using delete node but its not working properly, didnt find a way to parse every point and compare between them. Tried average but then again I dont know how to compare each points from each other. Thanks
  19. Hello Guys. I got stuck here in a middle of an project and i can't find a solution. My problem is : I have a grid of points , and an animated point running over the surface of the grid. My "running" point have an attribute that is transferd ( via attrib transfer SOP inside anSolver) to the grid points by an proximity radius. then I use the transfered attribute to isolate only the grid points that are tuched by the "running"point. But the @ptnum of the remaining points is changing. And i need the @ptnum to grow in the order detection ( @ptnum 1, 2, 3, 4, 5 etc) why is that happening to understand better I've attached the scene file ptnum_chaos.hip
  20. Hello! Normally I always find the answers to any Houdini issue that comes into my way, but this time I decided to finally communicate my current issue! My first question ever in odforce hehe So well... I'm doing my graduation film, and is about a shepherd that transforms sheep wool into clouds for doing rain! After some previous phase of research, we decided to give the wool a "cloudy" look, more than giving clouds a "wooly" look. So I'm using volumes to recreate the sheep wool! Thanks to various threads made by countless users here in odforce, I was able to: *Create interesting noise density values for the VDBs, hence giving a "wooly" look to the volume. I wanted "puffy" looking volumes, so I scattered particles in the sheep mesh, and created VDB out of them. *Transfer spatial transformation data from an alembic animated mesh to a volume, this way helping me to maintain the overall noise that will have otherwise been calculated at each frame if I moved the mesh I used for the VDB creation directly. *Deform the noised volume through a volume lattice technique by Juraj Tomori and Matt Estela (I'm enormously grateful for having shared their hip files!!! They saved my life). The volume will keep its noise while being deformed by box, itself deformed by an edit or a bend node. Up until now! Everything is going well! The only issue I have is.... How can I assign the point cache information of an animated lattice in Maya to a box with the same dimensions and subdivisions in Houdini? I thought that maybe an attribute transfer I could transfer the P data.. But I don't know if I need some vex to grab the position of every point in the lattice an assign them to a new matrix... I have no idea.. But knowing how to do this will be excelent! This way any lattice deformations the animators will do in Maya will be directly fetched to the box in Houdini! Any ideas?
  21. In older versions of Houdini I could add a point to a group's selection. Has that changed in H16 because I can't seem to get it to happen? Any advice would be appreciated. Thank you David
  22. Hello! Sory for my English I'm trying create geometry with AttribWrangle node in Detail mode. I use addpoint, addvertex and addprim nodes. When I created some points how could I get access to them into the node? For example, I created point pnt0 = {0,0,0,}. And now I want to create point pnt1 which is close to pnt0: int X = 3; int pnt0 = addpoint(0, set(0,0,0)); int pnt1 = addpoint(0, set()); - and here I want to get position of the first point and add X to each coordinates. Is it possible?
  23. Hello, I'm doing this Mold forest..I'm struggling with the UVs.. I have this tubes like structures , I create two groups , the bottom and top rings ....so I can run a shortestes path node to drw the seam path , the problem is that I must have one of this two groups with only one point per ring to draw only ONE path... This Tubes are part of a model wich I split on threee parts, the floor, this tubes, and the tips.. for the tips the technique works perfectly so you can see what I want to achieve on the hip file ... It's difficult to explained I guess... This image show the top ring group.. Fungus_67.hiplc
  24. I am trying to scatter some points on a circle. But I want the points to be scattered more near the center and less towards the outer side. In the old Houdini Scatter I could do it by making my Circle Primitive type to "Polygon" and then uncheck "Divide Non- Convex Polygon" on the scatter node. However, in the new scatter node of Houdini 14 and 15, this option is not available. Here is what I am trying to achieve, this is with the old scatter node. This is what I am getting with the new scatter node. Please help.
  25. Hi, I create a new project but have a new problem. use to source object its has not problem but when added the point on source objects its changing rotation. I hope, you can help me for ı can fix my files.