Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


bunker last won the day on March 21

bunker had the most liked content!

Personal Information

  • Name

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

bunker's Achievements


Rookie (2/14)

  • Dedicated Rare
  • Reacting Well Rare
  • Very Popular Rare
  • First Post Rare
  • Collaborator Rare

Recent Badges



  1. hard to tell from that screenshot, but maybe try to clamp the velocity and/or divergence for example: // in a gasWrangle: v@vel = normalize(v@vel) * min(length(v@vel),chf("max_speed")); f@divergence = min(chf("max_divergence"),f@divergence);
  2. Check out the trail SOP, compute Angular Velocity (w). You'll need id and N https://www.sidefx.com/docs/houdini/nodes/sop/trail.html
  3. with imagemagick convert -delay 100 -loop 0 *.jpeg animatedGIF.gif
  4. measure SOP: perimeter, and delete by perimeter attrib, for example a blast SOP with: @perimeter>10
  5. so the environment variable works. Looking at the name of the directory "System" I'm guessing you're trying to access a Windows drive. Try a Linux partition instead. I don't use Windows, maybe someone else can help
  6. check this directory exist: "/media/xxxx/System/___HOU", you can just do: cd /media/xxxx/System/___HOU also you can double check the path is still in your bashrc: cat ~/.bashrc | grep ___HOU
  7. we are all "Newbies" now
  8. That's where you would use Python. import glob import os dir = "my_directory_path" for file in glob.glob(dir+"/*.bgeo.sc"): os.remove(file) you can put that script on a Null for example: https://projectjulien.space/houdini-tutorials/2018/7/4/create-a-python-snippet-container-on-null-or-any-node
  9. int array[] = {1,2,3,4,5,6}; // create primMatID_0, 1, 2,... for(int i=0;i<len(array);i++){ int a = addattrib(0, "point", "primMatID_"+itoa(i), array[i]); } // create an INT array attrib i[]@primMatID=array; you could do something like that in a wrangle (2 different options)
  10. you can do that with pointclouds, it's ideal for averaging out the normal directions which is probably what you want. // wrangle1 // change color by proximity to curve points int handle = pcopen(1,"P",@P,chf("radius"),1); if(pcnumfound(handle)>0){ @Cd = {1,0,1}; } // use blast nodes to separte in 2 geometries // wrangle2 // create normals from average closest points int handle = pcopen(1,"P",@P,chf("radius"),chi("maxpoints")); if(pcnumfound(handle)>0){ vector p = pcfilter(handle,"P"); v@N = p-@P; } normal_to_points.hipnc > using 1 point or 40 points for position lookup
  11. // two simple examples (VEX): s@path = "/geo/path/Char01/body/arm/hand"; s@path2 = re_replace("Char","Human_",s@path); // result: /geo/path/Human_01/body/arm/hand string s1 = re_replace("/","_",s@path); string s2 = re_replace("_geo_path_","/",s1); s@path3 = s2; // result: /Char01_body_arm_hand
  12. you can do that with VEX or Python https://www.sidefx.com/docs/houdini/vex/functions/re_replace.html https://pythonexamples.org/python-re-sub/
  • Create New...