Jump to content

Search the Community

Showing results for tags 'curve'.



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 39 results

  1. Move curve point with Vex

    Hello everybody, before anything I'm going to introduce myself. I am a Belgian Technical Artist working in the game/interactive software industry from some years now. I was more a environment artist after my studies, but moved to development with Unity, Unreal and native C#/C++ software development. I began to learn Houdini one year ago and having a developer background, it was more easy for me to understand how Vex is working. I now try to use Houdini at work to improve our production pipeline with Unity and Unreal. Mostly using Vex. And it is a wonderful tool. I am currently working on a river tool with heightfield and curves. I first put the curve on top of the terrain then resample the curve and project each point on the terrain with the intersect function. (I also remove points that are outside the terrain) @P.y = getbbox_max(1).y + 100; vector p, uvw; int isIntersecting = intersect(1, @P, {0,-10000,0}, p, uvw); if(isIntersecting == -1) removepoint(0, @ptnum); else { @N = @N; @P.y = p.y; } The problem is that a river always flow from top to bottom, but the projected curve on the terrain sometimes go up and down. To fix that I loop through each points and check if the current point height (@P.y) is higher that the previous point height. But it is not working as expected. First try with Point Wrangle Run Over Points if(@ptnum > 0) { vector lastPointPosition = point(0,"P", @ptnum-1); if(@P.y > lastPointPosition.y) @P.y = lastPointPosition.y; } Second try with Point Wrangle Run Over Detail(only once) int ptNumber = npoints(0); for(int pt=1;pt<ptNumber;pt++) { vector currentPoint = point(0, "P", pt); vector lastPoint = point(0, "P", pt-1); float currentHeight = currentPoint.y; //printf("%s %s\n", pt, pt-1); if(currentHeight > lastPoint.y) { vector newPos = set(currentPoint.x, lastPoint.y, currentPoint.z); setpointattrib(0, "P", pt, newPos, "set"); } } What am I doing wrong ?
  2. cloth follow the curve

    i need to generate nice smooth silk ribbon that float in air with control of the motion. and i want follow curve i need to generate nice smooth silk ribbon that float in air with control of the motion. and i want follow curve . use ncloth in houdini. Let me know how please. 1, i need to generate nice smooth silk ribbon that float in air with control of the motion . 2, i want follow some curve. little advice is okay . Somebody help me.
  3. I have a curve where I used the parallel transport algorithm to transport the normal along the curve and then I use this curve as a follow curve fora bones chain. My question now is how can I setup up the twist along the bone chain and also make it twist beyond 180 degrees without flipping? (see attached file below) any guidance and examples will be greatly appreciated. Thanks. parallel_transport_curve_framing_03.hip
  4. I created a Curve SOP and used float parameters on a Null to control the curve's points. Strangely, when the float values are (rounded to) integers, the curve's points are located incorrectly. Attached short video demonstrating the bug. 2018-05-05 15-09-13.mp4
  5. I try to visualize a traffic simulation - therefore I set up a emitter particle emitting box in the poppet and a popvop that makes curves attract particles. They should also follow the curve tangents - that doesn't really work. And the really weird thing is, that a lot of particles are being dragged towards the origin. I am a total beginner and would be really thankful if someone could help me. Its for a visualization for my master thesis. Thanks a lot! curve_attract-follow.hipnc
  6. 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
  7. Polygon to curves and sweep tools

    Hello ! I'm trying to make sweeps from geometry input, basically a wireframe of a polymesh to use in game engine. Unfortunately I got strange result from ends SOP, duplicates lines. Is there a cleaner way ? Thanks ! PolytoEdge_001.hipnc
  8. convert curve to edge selection

    Good evening to the best forum in the world. got a little problem I need an extra pair of eyes on.. I have some geo I would like to lay out UVs for. I have used the shortestpath node to create curves of where I would like my seems to be created. now my question is, how do I proceed? I am not really familiar with the uv tools in houdini. I think I would want to convert my curves into edge selections on my mesh (which I am not sure how to do), and then from there use somekind of uv node specifying my edge selection groups as seems to flatten it out. any ideas? Cheers
  9. Twistet Stripe / Tape

    Hey guys, I'm trying to create twisted stripes / tapes like on this picture. I'm a beginner and know how to create a stripe out of a curve, but how can I twist it in a certain area? Is there a way to make it procedural? Thank you very much
  10. Fluid Follow Curve

    is there away to control the force along the curve want the force on the end of the curve is much higher than beginning of the curve, iam using Cruve to drive it by curve force, btw curve is not converted to poly or Volume hipfile Fluid_Juice.hip
  11. I have a curve with 1203 point , and now i want to resample it to exact 800 point , is there any solution for this ? i want to use it for polypatch or bridge between two curve , currenty i have lot of error after polypatch/polybridge , because there is difference in point number between two curve. thanks
  12. Extrude along Curve

    Probably the mother of all dumb questions but how do I extrude along a curve properly? I've tried all the options I can think of in the polyextrude node.
  13. I am trying to mimic a rail spline like you would use in Cinema4D. Essentially I would like each point normal to look at the point with the same index on another curve. From what I've found on getting a direction from two vectors is to simply subtract B from A. However, this does not seem to be the case. (See attached file) Is there more to it than simply subtraction? Align_Normal.hip
  14. Hey guys, Kinda Intermediate at Houdini and a recent full time convert from the 3DSMAX/TP world. I have been working on a tool, where the user can easily plug-in curves and generate art direct able particle flow along the input curves. Its about 90% done, and it works great with curves that are not too close to each other or don't intersect each other at too many points. How ever in certain scenarios. like multiple inward spiral curves intersecting each other, since the POPVOP system is based on Particle Cloud Search : - PC Open to look for particles close to the curve points. - Use those points and push them along the length of the curve using the curve tangents. , the particles get attracted towards either curve based on the search radius and no. of search points. This is definitely understandable, on why its happening. But is there any way to lock/tie the particles to specific curves only? The Radius and No. of Points parameters give it a lot of control for most scenarios, but the one mentioned above. Obviously there are a lot more parameters that i have added for dictating the flow behaviour. But the main solution that i can think of is to have the “found” particle only follow the curve and be affected by the parameters along that curve ONLY. Maybe have a POPVOP decide groups for the curves/particles? TLDR; Need to make the particles only flow along the curve it chooses/gets attracted to at the beginning. I have never worked with groups in POPNET, so im pretty much lost. Unfortunately because of my limited knowledge at Houdini i haven't been able to figure out how to achieve this. Would really appreciate some help on this.
  15. Hi all, I'd like to animate the progression of an L-system like curve, similar to how sliding the generation parameter works. I thought the carve SOP would be the best approach but each primitive's U value starts at 0, causing all the curves to draw from the start. Is it possible to modify the U value of a curve, so that each prim can start at the same value of the shared vertex (where it branches), or can I carve by an attribute? One idea is to duplicate the point where the branch splits on any secondary branch, enough times so that it offsets the order of vertices to be in time with the main branch - I will try to implement this in the meantime Attached is an example file to help explain lsystem_carve.hipnc
  16. Hello, I'm new to Houdini. I am trying to get particles to follow a curve and end up filling a bottle but I cannot get the bottle to fill or the curve to work effectively. I've tried a bunch of different things but the closest I've gotten is with these two files. I used an OBJ of a bottle and turned it into a VDB. In the first file (particle_flow_v07) I used a popnet to get particles along with a popcurveforce to flow along a curve into the bottle. It looks like it worked ok but the bottle doesn't fill up all the way. I thought it was because they are particles and not flip particles but was unsure how to convert them to flip particles. In the second file (v13) I tried using a sphere as a flip fluid emitter instead. The particles follow the curve ok, some of them fly off the curve even though I increased the force of it; and the particles that end up in the bottle only fill it to a certain point then they just spill out everywhere. I tried modeling a funnel to get more particles in the bottle but it didnt seem to work. in v13 theres also a torus I was going to try to use as a sink object but I couldnt get it to work correctly. Any help or advice would be very appreciated. EDIT: So I tried a bunch of tests and I still get the strange purple collision box through my ground plane; not to sure what that is; maybe its the particles colliding with the ground plane? The particles flow along the curve beautifully so thank you for the tip about my particle separation. Particles are still leaking though my geometry and I have a bad feeling it's because of the obj I found online but I am still unsure. particle_flow_v13.hipnc Glass Bottle.obj particle_flow_v07.hipnc
  17. is this possible to make this curve with expression ? tnx
  18. Spiraling curve from curve

    Hi guys I'm new here. First of all I wanted to thank you for having such an awesome community. I'm pretty new to houdini, but have learned a lot by lurking on this forum. I would like to create a spiraling curve(like a phone cord) from another curve(not a straight curve). I already saw some other solutions by just making a helix and deform that along the curve. I also saw a solution about making an arc and sweeping that on a curve and later join the pieces together. I was wondering if there would be a more procedural/mathematical way by using the curve and a point vop or point wrangle? Maybe with a cross product and using the point number as a variable to control the twists? Unfortunately my math knowledge is pretty basic. I would be very happy if someone could post a sample.
  19. Hello, I am new to Houdini and learning. I have a task to do for a client, who requires water to flow along curve just like Realflow DSpline. I am using POP Curve Force to achieve the curve flow but not able to get the turbulent motion. I am trying to achieve something similar like the link below: https://vimeo.com/146377194 Thanks Poojan
  20. This gotta be a bug, right? After troubleshooting it, I just can't imagine what I can have missed that would mess it up. So it's probably something I missed. procedural.web.v02.issue.hip EDIT: Seems the dev's added a convert line SOP in H15 that splits a curve/edge into separate prim's - but I would still like to know why the carve SOP doesn't work in this case.
  21. Newb question: sweeping a T

    Hey, I'm new to Houdini but really enjoying it's procedural generation modeling workflow. I've seen a lot of tutorials that get geometry by sweeping a flat shape along a curve and then telling it to skin. Is it possible to do something like that with something that branches like the letter T? I don't want to use anything as complex as a an L-system, I just want to be able to take a curve, branch it some how and then skin that. is that possible? is there a way to get similar results?
  22. Hey, could someone help me building this curve in chop ? I need a curve, a noisy curve with a positive slope. I managed to do that with a pulse (set up to get a positive slope) and adding a noise to it. But the final curve I need has to be like this : (never going down)
  23. curve editing [UNSOLVABLE]

    Hi, probably a beginners question, but I'm baffled. How can I enter "manually" the coordinates of a point on a curve? I've search the forums, and read about how entering them in the spreadsheet was wrong (enter the soft lock mode (whatever that is...)) And read very complicated answer involving python script !!! All I need is very basic : I made a curve now I need to modify the coord of 2 points in Y axis those 2 pts are at 2.39245 and I need them at 2.4 quite easy ! Yet I just can't do it (without some simple math + offset) I need to do that a lot, so I'm looking for a solution without calculations or scripting. Am I missing something ??? (again) Can't I enter the coord manually somewhere? (somewhere else than in the coodinates list of the curve node, where they are all in line and inaccessible) thanks!
  24. Having an issue with a gap in my Popcurveforce node. Using a basic nurbs curve Circle. Sliced Arc seems to give me the best result but I'm still left with a little gap in the Influence Radius. Any ideas why? Thanks guys
  25. Bezier Plexus

    Hey everyone, I'm slowly starting to learn Houdini and I've had a bunch of help from the forums so I wanted to give back and share a hip that I just finished. It's not the most complicated thing in the world, but I learned a lot while making it, so maybe it'll help someone else out. Feel free to offer any suggestions/improvements on it (especially when it comes to how I coded the vex in the attr wrangles). Mike mb_bezier_plexus.hiplc
×