Jump to content

Search the Community

Showing results for tags 'line'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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 14 results

  1. Create Curve Coordinates from a Line

    Hi, I wonder if it's possible to initialize a curve from a line and be able to modify the curve from the Curve node. I'll explain what I'm doing right now. Of course, it doesn't work, but I'm sure it will help you to understand what is my goal. Fist, I have a Null node called curve_setup. This node contains parameters that controls my line. So, the length of the line and the number of points on the line. Next, I have an Attribute Wrangler node. This node creates the line using the parameters in the curve_setup. At this point, I did some research on the Curve node and the documentation says that I can "use a space-separated list of coordinates in this field to specify points". Then, there's a list of different format to specify different points. There's one format that got my attention. It's the Pn format which "copy the coordinates of point number n in the input geometry". So, I said to myself : "Is there a way to copy the coordinates of all the points of my previously created line in the coordinates of my curve ?". Then I did more research. I learned that the Coordinates parameter is a string, so I have to use expression functions. That said, I learned that there is a expression function called pointlist that returns a "space-separated list of point numbers". Since this function returns something like this : "0 1 2 3 4 5 6 7 8 9", I though that I could format the string and add a "P" in front of every number in the list. Since Pn "copy the coordinates of point number n in the input geometry", It would create a curve based on the line I created earlier and since I can see those points from the Curve node, I would be able to modify those points using the Curve node handle. Now, I just need to learn how to format the string within the Coordinates parameter of the Curve node.
  2. Align a Curve to a Line

    Hello, I'm working on a school project and I need to align a curve to the end of a line both in position and rotation. My goal is to be able to create a curve, anywhere in the scene, and snap the start of the said curve (point 0) to the end of the line. The end of the line is extracted with a carve node on the line itself, so nothing complicated here. So far, I've been able to simply copy the curve onto the end of the line, but it only work with the position of the curve, not the rotation. It's important to note that I purposely created the curve in -Z axis. I know it will work if my curve is properly aligned in the Z axis, but I want my asset to be the most fail-safe possible. That said, It would be very appreciated if someone could help me with this issue. There is a attachment showing my current network and what it looks like in the Scene View. Thank you !
  3. Hey, I have a line that I would like to transform in the direction of the curve. How can I rotate the pivot rotation to match the line? I am trying to match the Z axis to the line by rotation the pivot rotation y. Thanks
  4. Hi, i've two geometry with a scatter node applied and i wont connect these point using an add node by color attribute create with a color node after scatter node. so... geo 1 geo2 scatter1 scatter2 color1 color2 merge add Now i need to calculate the distance between the connected poit. How can I do? Thanks
  5. 2D dynamics

    What's the best way to simulate dynamics with just 2D shapes? Is it possible to use any of the existing solvers to simulate rigid bodies, but also flexible curve/polygonal shapes that respect line to line collisions ? I've tried using the wire and the grain solver (with rest length on a network of lines that connect the points), but the collisions only happen on the point level, resulting in penetrations between shapes. Is there anything else I should look into, or a working example I can take a look? thanks a lot georgios
  6. Hey, For a side project I'm working on I'm trying to create random/periodic lighting strikes. I'm trying to get a line with animated noise on it to increase its length to a set max value, pause for a few frames, return to a length value of 0 then have it hit the max value again after holding its value again. I have multiple [lines] with different length values (with a point VOP to create the noise) feeding into a [switch] I've tried using multiple expressions like floor($F/24) and $F % 2 and a fit range. I've gotten the values to switch after 24 seconds but not switch back; and to switch back and forth but it does it every frame and it's too fast. I've also gotten the switch to count up every X seconds (i.e. 1, pause, 2, pause, 3, pause) but not count back down. Anyone have any ideas?
  7. Hey guys, Anybody knows how can I get this effect? maybe with attribute transfer? I tried doing a plane with 10-1, resample, unroll, then tried to deform the body with ray sop and with attribute transfer with no luck. Maybe with particles that flows until touchs the surface and then continue?, I also tried doing a bunch of planes with a cookie sop but I get a mess. I'm also attaching 2 more samples that are similar, I'm more interested in the girl body one, I dont know why but I have the feeling that an attribute transfer may be the way to control at least the face, but im newbie. Thanks!
  8. How can line blend match surface?

    Hi,I'm copy bunch of line on a model,how can i use vop blend line to match surface? I'm play with normal and tangent ,still can not work out. Please help me ! thank you very much!
  9. I want creat some animation in vex like the Attachment I saw this on vimeo Swirly trails https://vimeo.com/134057856 It's awesome But i can't found a way to push the dir together like the picture It's not like I have a spline , then I can get the vel It's like noise motion Please help me with this
  10. Hi everyone, I am trying to simulate a bacterial growth scene by using wire objects. In story short i am splitting a wire object every 15 or so frames and getting an exponential growth. But my problem is that, i want the new split wires to try to come to constant length (like a pressed spring). and i want them to push each other away. Please take a look at my file. Am i even in the right direction?. how can i make the lines grow back to a size? by giving them a rest position every frame? thanks in advance. bacteria.hipnc
  11. Hi All! I want to create a line from some randomly numbered points (see pic.) In order to use the Add sop the numbering must be ordered by proximity. Sort by Spatial Proximity does not work good! The numbering that it gives is ok at some areas and messed up in others. I cant use the Match topology sop because there isn't any geo I can use for that. So I guess I have to find an alternative way to do it. Any ideas? Thanks!
  12. alternate version for particle wave

    Hello all, I'm using Peter's great Tutorial "particle wave" as reference but I'm not trying to replicate it. I'm using a vopop to add $CR value to the position of the particles, but it look like the particles are NOT going back to their original position( 0 in Y). what am I doing wrong? thanks for any help or link to previous post.. EDIT: if someone can think of a better way to do this, without pop, with an attribute transfer, a vopsop...anything, that would work too. I'm mainly trying to get the bar to scale up in Y. They will drive something else later. curve_wave_01.hipnc
  13. Hi There, How Can I cache out .sim files of a dopnet through the command line? I tried searching, but most is for rendering through command Thanks!
  14. Right angle curve

    Good day, I'm looking for a simple way to convert a line or a curve in a curve composed only with right angle edges. I have try to use Fuse SOP in Snap/Grid mode but this gave me 45 degrees angle too. Any idea?
×