Jump to content

bunker

Members
  • Content count

    345
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    15

bunker last won the day on September 3 2017

bunker had the most liked content!

Community Reputation

124 Excellent

About bunker

  • Rank
    Illusionist

Personal Information

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

Recent Profile Visitors

8,162 profile views
  1. Parameter values using VEX function

    you can also use hscript directly in the parameter field: if($F>=5 && $F<=10,10,0)
  2. basic gloss to roughness question (principle shader)

    complement node? (1-x) you can also use a fit VOP: 0-1 > 1-0
  3. disturbance when velocity

    there is a "control field" on the gas disturb node. You can get a "speed" field with the gasmatchfield + gasanalysis microsolvers disturb_on_speed.hipnc or you can build disturbance directly is a gaswrangle node: vector4 hvec; vector _div = (v@P + rand(f@Frame+chf("seed")) * chf("divscale"))/chf("divscale"); hvec = _div; setcomp(hvec, f@Frame, 3); vector disturbance = vector(random(hvec))*2-1; v@vel += disturbance * length(v@vel) * chf("disturbance_amount");
  4. wrangle nodes pragma?

    Thanks Jiri! yes this is exactly what I was looking for - just never had the time to do it myself. Would be great if Sidefx added this feature
  5. Help with Building my PC

    I would go for an intel i9, much better value: https://www.cpubenchmark.net/high_end_cpus.html And you'll save money not buying ECC memory. Go for 64GB of RAM minimum, or 128GB. In my experience Houdini doesn't crash less with ECC memory.
  6. onoise on copied lines

    *@Cd.x is the problem, it converts your 3D noise into 1D noise you can add an explicit vector casting: *vector(@Cd.x) // I also added some parameters for: frequency/offset/amplitude @P+= onoise(@P*chf("freq")+chv("offset"),chi("turb"),ch("rough"),ch("atten"))*vector(@Cd.x)*chf("amp");
  7. Automating rops with python

    you were missing the indent block after the "if" statement: render_all_mantra_rop_fixed.hipnc
  8. bbox vector placeholder question

    you're missing the geometry path or input the correct syntax should be: vector bmin,bmax; //creates 2 empty vectors getbbox(0,bmin,bmax); //get bounds and stores the values in the 2 vectors variables (the 0 is for first input) if you want to see the values in the geo spreadsheets, you can export attributes like this: v@bmin = bmin; v@bmax = bmax; note that min is a vex function so it's confusing to name a variable that way. hope that helps
  9. You can't use @ratio directly in a paramater you have to use a detail hscript expression instead: detail(opinputpath(".",0),"ratio",0) or you can scale directly in vex if you run over points instead of detail vector size = getbbox_size(0); @P *= size.x/size.z;
  10. You can filter out lone points before meshing using pcopen+pcnumfound vex functions: // eg: search for 30 points within a radius, if less are found they are on their own, delete them. int handle = pcopen(0,"P",@P,chf("radius"),chi("maxpoints")); if(pcnumfound(handle)<chi("maxpoints")){ removepoint(0,@ptnum); } // same in shorter form //if(pcnumfound(pcopen(0,"P",@P,chf("radius"),chi("maxpoints")))<chi("maxpoints"))removepoint(0,@ptnum); filter_lone_points_bunker_01.hipnc
  11. LIDAR to Heightfields

    And a simple example file attached this time... lidar2heightfield_bunker_01.hipnc
  12. LIDAR to Heightfields

    You can also use a volumefromattrib SOP to copy the height to the volume
  13. FLIP: killing particles by age

    pop wrangle node: # set life to 1 second f@life = 1;
  14. Automating rops with python

    hard to tell without a hip file.
  15. Scattering Objects without Overlapping

    good stuff, and simple too.
×