Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


  • Content count

  • Joined

  • Last visited

  • Days Won


bunker last won the day on February 23

bunker had the most liked content!

Community Reputation

103 Excellent

About bunker

  • Rank

Personal Information

  • Name
    Julien D
  • Location
  • Interests
    DOPs, volumes, fire, smoke, FLIP, Bullet, particles, VEX, Python, lighting, rendering, comp ...

Recent Profile Visitors

7,300 profile views
  1. you can use the pcimportbyidx VOP
  2. yes that's it
  3. yes, it works well on volumes. Have a look inside $HFS/houdini/ocl/ The most basic example is : $HFS/houdini/ocl/sim/dissipate.cl I'll post a file tomorrow, it doesn't seem to work well on my macbook pro at home
  4. or a Volume Wrangle SOP before your scatter SOP: if(@density>0)@density=chf("max_density")-@density;
  5. you forgot the lowrestemperature field - it was still set as a vector field. The ramp parameters don't get referenced correctly from lowres to upres - you can copy the values manually for dissipation field and flames height (heat cool field) and the last thing, since you're using the lowres temperature field, you need to copy it back for visualization Have a look at the attached file upres_test_fix_bunker.hipnc
  6. Sure. The easiest way is to copy the fuel from lowres to upres 1 - save the fuel field in the lowres sim. 2 - on the upres solver, turn on "use lowres source resolution" and "source from imported fields". 3 - inside the upres solver, change the lowres_fuel and lowres_density fields type to "Scalar" (not Vector) -- I reported that bug so it might already be fixed in the latest build. also the border type on those fields should be "constant" (not Streak) same for lowres_vel hope that helps
  7. you can also use a volume wrangle to create the volume mask with falloff: // fade volume near bounds float p = chf("padding"); vector b, B; getbbox(0,b,B); float m = fit(@P.x,b.x,b.x+p,0,1)*fit(@P.y,b.y,b.y+p,0,1)*fit(@P.z,b.z,b.z+p,0,1)*fit(@P.x,B.x,B.x-p,0,1)*fit(@P.y,B.y,B.y-p,0,1)*fit(@P.z,B.z,B.z-p,0,1); @density*=pow(m,chf("exp"));
  8. The popkill sets a the @dead attribute to 1, you can do the same in a popwrangle or directly delete the particles with the "removepoint" function. in a popwrangle (make sure you set your input1 as your curve SOP) // if the points are not within the search radius, delete them if(pcnumfound(pcopen(0,"P",@P,chf("radius"),1))==0)removepoint(0,@ptnum);
  9. yep a wrangle would do, if you have your velocity as a volume: @density = fit(length(v@vel),0,chf("maxvel"),0,1);
  10. Upres is the way to go, and no it's not obsolete IMO, but currently the of-the-shelf upres is a bit broken in some places. If you undertand DOPs a bit, it's an easy fix. - most of the lowres fields imported have the wrong type, eg: lowresdensity should be a Scalar field, not Vector and I would use the border type "Constant" for all fields, not "Streak" Also you should toggle on "Use Lowres Source Resolution" and "Source From Imported Fields" to get results that match your lowres as much as possible.
  11. yeah, that's a pretty high value, how about this? if(@P.y>0){ @v=0; f@viscosity=0; }else{ f@viscosity=10000; }
  12. it's pretty simple, check the hip file flip_hold.zip
  13. in DOPs: you can plug a pop wrangle in the 2nd input of the flipsolver.
  14. You just can set the velocity to zero where you want to hold the fluid. eg: in a popwrangle : if(@P.y>0)@v=0;
  15. in the polyextrude SOP, in the "Extrusion" tab, turn on "Transform Extruded Front", Transform Space=Global, set Translate Y to your height value.