Jump to content

Jesper Rahlff

Members
  • Content count

    202
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Jesper Rahlff

  1. Procedural Oval curve

    This would be my take on it oval_modeling_JR_Edit.hiplc
  2. Prism Pipeline release

    This is really amazing! Thank you so much for sharing this
  3. Random with percentage probabilities for different results

    actually it is just the regular rand() function with one argument. I just added to that one value argument. so rand(@ptnum + 45.65 + @seed), all turn into one value. (I realize in my previous post I used komma , instead of dot to declare the decimal. its an old European habbit and is wrong. the number should be 45.65)
  4. Random with percentage probabilities for different results

    //pointwrangle float randnum = rand(seed+45,65); //gives value from 0-1, if (randnum <= 0.2) { dont select a point } else if (randnum > 0.2 || <= 0.55) { select 2 points } else if( randnum >0.55) { select 4 points }
  5. Need help with simple string manipulation

    your value variable is cast as a float, but you assign it the value of a string by using `chs()`
  6. Changing constraint_name Dynamically

    okay, so basically if I understand correct, you want it to deform using spring constraint, keep that shape, and then potentially want to deform the already deformed geo again?
  7. Changing constraint_name Dynamically

    whats the point of putting it back to a spring constraint if you want to maintain bending of the object? just remove the change to spring solver step and you have your bending maintained.
  8. Wire Solver: How to give each wire a different elasticity value?

    outside dop, put your wrangle in a foreach loop on the primitives. this way you can write in a point wrangler to the points on each wire no?
  9. Finding activation frame

    piece one gets activated at frame 50 lets say. so on frame 50 active becomes 1 and the counter starts counting. counter is equal to 1 at frame 50. on frame 51 @active is still 1 which then forces the counter to add another one to the sum. Counter is now equal 2. so as stated above. just use if(@counter == 1){ #Do my velocity manipulations here}
  10. can you share you file?
  11. if you can share your hipfile its easier to help you out
  12. If its exactly the same look he is going for, why sim both thrusters rather than just copy the it to the other thruster in sops?
  13. Controlling Focus Distance

    you can also have a look at Tims tutorial. 16 minutes in, he shows a simple setup for adjusting depth via the viewport
  14. You could cache out your simulation and then translate the cached simulation to the other thruster. Then merge the translated cache with the non - translated cache. no need to simulate the same thing twice if you desire the same behaviour on both thrusters.
  15. why not make a copy of your publishing tool and then add a line of code before it executes the publish to set mode to "Auto Update"? maybe something like: if mode == 'Manual' hou.setUpdateMode(hou.updateMode.AutouUpdate)
  16. particle streams - point id

    sorry I did not see your post until now. Yeah that should be doable in sops as well. If you are emitting from points in your popnet, you could have a chance value on each point that you are emitting from, and based on if that chance is true or false add that to a group. so if the chance is 1 that point goes into one group and if its 0 it goes into another group. if you want to create it after your pop simulation, the first thing that comes to mind is run your points through a sop solver, , and when age < value assign it either one group or another based on a chance percentage. then everyframe check which group attrib it had in previous frame and maintain that value. there is probably simpler solution but this was the first thing that came up
  17. Spiral Gas Target Force?

    you could maybe apply some of these principles?
  18. Control Where Points Scatter

    paint a density map and scatter only by density
  19. particle streams - point id

    create pop groups. one group for you mainstream with no spheres instanced. another group with 1% the amount of particles, and instance spheres onto that group only.
  20. remember you need to set the bind node to string.
  21. I am not sure if the uvquickshade is something that can run over each primitive, and I am not the best with Hscript (which is what you need for your string to work) however the workaround for this could be as follows: in primwrangle: s@texture = "yourpath."+itoa(prim(0,"class",@primnum))+".jpg"; then in a primvop put down a texture node, and connect uv from global to uv on texture node. put down a bind and import the attribute "texture" pipe the bind node into the map slot on the texture node.
  22. Random link of interest

    there is your next challenge Noobini. extra points if you turn it into an OTL
  23. Change Orientation for Points

    use the popLookAt node. This operator modifies the orient, torque, targetw, and spinresist attributes.
  24. Circles between two curves

    how about this: -resample the curves to have equal amount of points. - measure the distance between the points with the same point number, this will give you the diameter for each circle. - you can now place a point using the radius and instance a circle onto this point.
  25. POP Replicate not working

    under the Stream tab on your popreplicate you just input "source_first_input1" which is the name of the stream your create from the popsource, then it will work. if you dont want your particles to inherit the original age from your source stream change the * to v in the inherit attributes under the Attributes tab on your pop replicate
×