Jump to content

GDonkey

Members
  • Content count

    5
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About GDonkey

  • Rank
    Peon

Personal Information

  • Name
    Kev
  1. Offset time on Copy to Points

    toadstorm, Thank you so much for the quick and in-depth reply ! I'm only a few months into this amazing Houdini/Vex thing, and I am still a beginner, but I have so much more understanding of these things than I did, thanks in part to the great information you put online. I have made an attribute based on the frameBorn att in my pops network that records the birth frame of each particle and then freezes on that number. I've never messed with stylesheets before, but I am going go through what you said step by step this evening to try it out. Thanks again ! I really appreciate the help. Not knowing this was giving me weird dreams. haha.
  2. Offset time on Copy to Points

    That is really cool ! If you don't mind me asking, is it possible to use this on a PNG sequence to start the sequence from an attribute on each point ? Say I have animated a traditional spark and would like that sequence to be copied to points, and to play from it's first frame whenever a point has it's attribute changed or created ? I have been trying to find the answer to this for so long. I have learned several ways to do it with cached geometry, but just to apply it to a material/pngs I have been stumped for months. setprimintrinsic(0, "index", @ptnum, f@some_attribute, "add"); // this would offset the start of each copy by the value of f@some_attribute
  3. Noobini, Haha. Thanks for trying ! Atom, Thanks so much for taking the time to reply ! I had to re-read your reply a few times as this is all quite new to me and I wanted to really try to understand everything. But I think I've made a bit of headway. What I was thinking of doing is having the first and last frames be empty drawings, and then use clamp to decide on what frame after birth the animation should trigger. Then alternatively, having it start on birth frame and play then die after last frame. Both scenarios would be useful to me. In my file I've not put empty drawings yet so that I can see what I'm doing. Ok, 0.5 at 24fps for a 12 frame sequence makes perfect sense. Instancing is new to me in Houdini but I think I figured that part out after looking at the help a bit. So I'm not using a copy to points at all anymore, and rather have 2 geo nodes, one with the grid/particle geo, and another with the pop network. I put a pop instance node and told it to point to the grid geo node. Then I put an instance node at the sop level. This gives me the same result as I was getting with the copy to points but instanced. Thanks ! I learned something new I put a pop wrangle with " i@frame_born = int(@Frame); " . I'm not very good with VEX, but from what I can see in the geo spreadsheet, you are creating an attribute called frame_born that is tied to the frame number on every point. This is the part where I get stuck. I see how it is useful to have this attribute/counter but I don't understand now how to use the attribute to start the sequence for each point at birth. We're in lockdown here now and I only have access to apprentice at home, so I'm uploading the working file here of where I'm at. When you have the time, I would appreciate another poke in the right direction Have a great day ! Sprite Particles Instance.7z
  4. Hi there, A bit of a noob question so I apologise for that. I have a file attached with a basic particle system, connected to a copy to points, and a grid with a png image sequence as the particle geometry ( 12 frames long ). Everything is working well, except I cannot figure out how to start the image sequence on a per particle basis. All the particles start their animation on frame 10 simultaneously and new ones born after that just start with the last hold frame. I have this - " Star Sparkle_`padzero(5, clamp($F-10 ,1 , 12))`.png " in the texture field on my principled shader and this seems to give me a 10 frame offset, and it holds the first and last frame, instead of turning into a white grid, which is great. But how do I get each particles animation to start at it's birth or at an offset from it's birth time/age/frame ? I've included the required png sequence with the file. Thanks to anyone who can help me with this, it's making me feel very silly that I can't figure it out in over a week. Have a great day ! Sprite Particles.7z
×