Jump to content


Popular Content

Showing most liked content on 02/02/2018 in all areas

  1. 1 point
    Hello community, I am creating this thread where I will be posting links to my tests, experiments, RnD's and other uncategorizable stuff. Also often I will include scene files so feel free to explore them and to learn how not to do things ...hope it will help somebody, somehow. Juraj
  2. 1 point
    here's another one. it's a simple vex solution which works basically by counting the number of intersections along the curve and the fact that an uneven number means it`s inside an object ... hth. petz curve-boolean.hipnc
  3. 1 point
    As you just said, I now realize that the problem wasnt as much the approach as the values. The number value I needed was very specific. After the zero value faces were deleted, I needed a number slightly less then the maximum as a filter: too far below the value and I would have no result simply because the areas of the primitives were all fairly close value wise to the maximum). Slightly above the maximum and I would obviously have no primitives left at all! I added a channel to replace the /2. In the future, I will utilize the min or max field set up you have here--and include braces . Many thanks for your help! Ive attached the result and a pic-- I used this setup to then apply a geo setup along the uvs of another geo--inspired by the entagma fabric tutorial Modeling_03_Projection_pul.hipnc
  4. 1 point
    It could be because you have named all your fields the same. You have 10 clusters and they are all named density, not density1, density2 etc.. Try creating your density fields inside a for loop with the loop index appended to the name.
  5. 1 point
    Strange why source doesn't want to add velocity field. But you can try to add it manually. cluster_velFieldIssue_v02.hipnc
  6. 1 point
    I am not sure if this has been posted before but just came across this site: http://wordpress.discretization.de/houdini/ To quote: "This website is here to help you to get started with Houdini in order to complete the Mathematical Visualization course at the Technical University of Berlin. The aim is to enable you to run your own geometry related algorithms while taking advantage of Houdini’s excellent visual graphics while avoiding to dig deep into the theory behind it." There seems to be some great material on here. In particular a unique way of getting scipy/numpy to work with Houdini - apparently you just copy and paste the entire anaconda 2.7 build into the Houdini python directory?! http://wordpress.discretization.de/houdini/home/advanced-2/installing-and-using-scipy-in-houdini/
  7. 1 point
    Thanks a lot for sharing!!! I am gone have a look into with interest I guess I am the guy you follow on vimeo ^^ Thanks again !
  8. 1 point
    Now this thread is really done.
  9. 1 point
    For some reason M[1][1] is not working in VEX, but you can always use getcomp(M, 1, 1). for (int row = 0; row < 4; row++) { string out = ""; for (int col = 0; col < 4; col++) { float value = getcomp(4@test, row, col); out += sprintf("%g ", value); } printf(out + "\n"); } Matrices in Houdini are not m×n arrays, but 4-, 9- and 16-float "vectors". They rarely used as storage, as there is one-dimension arrays available for this purpose. Python is generally used for more sophisticated arrays manipulation. NumPy available by default. import numpy node = hou.pwd() geo = node.geometry() mat = geo.floatListAttribValue('test'); val = numpy.array(mat).reshape((4, 4)) print(val) print_matrix.hipnc
  10. 1 point
    Here's a compromise solution. I was having trouble getting this to work with Intersection Stitch, but that might just be my misunderstanding it. It was adding inline points but not in any order that I could use to actually split the path into individual prims. PolySplit seemed to work better for that. To fix the problem of points existing on the surface, I just uniqued each segmented prim's points and moved them very slightly towards their neighbor. Seems to work on both busy curved lines and the straight line through a torus example posted above. curve_bool_2.hip edit: forgot to fuse afterwards. this one re-attaches the segments afterwards. curve_bool_3.hip
  11. 1 point
    this is very good thread. i did test all approaches and im getting best results from satoru's setup (testing on 58k curves - cad drawings, where im making bridges for router). But that being said, i found scenario where even his method fails. And thats when curve goes through two cutting objects where curve points are outside. See sample image (as input i have curve with two poins)
  12. 1 point
  13. 1 point
    I have scripted the Network Editor's "layout all and respect pinned nodes' positions", it is nice to tidy up more branches or single nodes (cameras, lights, ropnets, SOP or /obj level). I am python beginner but it works for me, so far. http://lab.ikoon.cz/index.php/2018/02/01/network-editor-layout-1/ If you like the idea, Michael Goldfarb filed two RFEs (thanks again), you may refer to them: RFE – #87728 – pin nodes RFE – #87729 – link node positions
  14. 1 point
    Houdini Digital Asset to visualize arrays of matrices attributes. https://www.orbolt.com/asset/prb::MatrixDisplay::1.0 Cheers
  15. 1 point
    wire bullet solver to multi solver and add sop solver with wrangle inside or just Geometry Wrangle DOP and add similar code: float maxSpd = 5; float crSpd = length(@v); if(crSpd>maxSpd){ @v = normalize(@v)*maxSpd; } small pieces sometimes go crazy, but there are some fixes in newer builds. worth to check