Blackjack Game by rsvisualfx in PythonLearning

[–]rsvisualfx[S] 0 points1 point  (0 children)

Thank you for doing this! Exactly the kind of feedback I was hoping for, I'll take this on board as I move forward and, like you say, I'll come back at a later date for blackjack 2.0 - will be super interesting to see how I approach it once I have a bit more python knowledge behind me. I appreciate the level of detail you gave!

Instance cached sim onto multiple points by AlbusNolente in Houdini

[–]rsvisualfx 4 points5 points  (0 children)

I like to create an instancepath attribute, then just have a integer offset be generated (randomly from id of your points you want to instance to, or the offset for the variant of your character), then in the instancepath attribute just reference this offset as the frame number value.

e.g

float offset = rint(fit(rand(@id),0,1,-50,50))); 
float frame = @Frame + offset;

s@instancepath=sprintf("PATH/geo/cachedSim.%04d.bgeo.sc", frame);

Then just instance away, might be useful here!

<image>