Jump to content

bunker

Members
  • Posts

    604
  • Joined

  • Last visited

  • Days Won

    26

bunker last won the day on January 16

bunker had the most liked content!

Personal Information

  • Name
    Julien D
  • Location
    Vancouver
  • Interests
    DOPs, volumes, fire, smoke, FLIP, Bullet, particles, VEX, Python, Rust, lighting, compositing, coffee, travel, photography, GNU/Linux, NeoVim

Recent Profile Visitors

12,054 profile views

bunker's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

338

Reputation

  1. with imagemagick convert -delay 100 -loop 0 *.jpeg animatedGIF.gif
  2. measure SOP: perimeter, and delete by perimeter attrib, for example a blast SOP with: @perimeter>10
  3. 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
  4. 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
  5. we are all "Newbies" now
  6. 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
  7. 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)
  8. 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
  9. // 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
  10. 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/
  11. search for Flip Volume loss on odforce or Sidefx's forum, this has been answered many times.
×
×
  • Create New...