bob_gnarly Posted March 17, 2019 Share Posted March 17, 2019 (edited) Hi, first time user and noob here. I'm trying to create Trace nodes dynamically using the Copy and Transform node but I want to be able to change the file path after the copy so I can iterate through a sequence of images and create a trace node for each one. So overriding the file path after creation I imagine. I've been digging through documentation but can't seem to figure out how I can do that. I assume I'm approaching this in the wrong way so any advice on which direction I should look into would be appreciated. Edited March 17, 2019 by bob_gnarly Grammar Quote Link to comment Share on other sites More sharing options...
mestela Posted March 17, 2019 Share Posted March 17, 2019 If I'm understanding your problem correctly, you want to make sure your image sequence is named in a way houdini will understand by default. That's normally name.framenumber.suffix, eg 'traceme.0001.jpg'. You'll know its worked when you use the houdini file browser and it collapses your sequence into a single entry. Anyway once you have that, the trace will update so that you can move the time slider and see the trail update. You can then generate trails, timeshift to lock to the last frame, so now you'll have all your trace frames overlaid at the origin. With some attribute tricks you can splay the traced shapes out. Attached an example that might help, I used a copnet to generate a 12 frame sequence, dive inside the copnet and click render on the final node, when you jump up a level and view the final node, you should see a mosaic of traced images. trace_sequence.hip 2 Quote Link to comment Share on other sites More sharing options...
bob_gnarly Posted March 17, 2019 Author Share Posted March 17, 2019 2 hours ago, mestela said: If I'm understanding your problem correctly, you want to make sure your image sequence is named in a way houdini will understand by default. That's normally name.framenumber.suffix, eg 'traceme.0001.jpg'. You'll know its worked when you use the houdini file browser and it collapses your sequence into a single entry. Anyway once you have that, the trace will update so that you can move the time slider and see the trail update. You can then generate trails, timeshift to lock to the last frame, so now you'll have all your trace frames overlaid at the origin. With some attribute tricks you can splay the traced shapes out. Attached an example that might help, I used a copnet to generate a 12 frame sequence, dive inside the copnet and click render on the final node, when you jump up a level and view the final node, you should see a mosaic of traced images. trace_sequence.hip Thank you so much. You made quite a lot of effort on my behalf... really greatful for that. Your example looks exactly like what I've been looking for. I'll take a look when I go back to my computer soon. I thought maybe it required using a COP network but got stuck trying to figure out how I can create a mesh from each iteration. Thanks again. \m/ \m/ Quote Link to comment Share on other sites More sharing options...
bob_gnarly Posted March 17, 2019 Author Share Posted March 17, 2019 Looking through what you did I'm seeing how you solved this by compressing time into a single frame (if I'm not mistaken). Really clever solution. Quote Link to comment Share on other sites More sharing options...
mestela Posted March 18, 2019 Share Posted March 18, 2019 Yep that's pretty much it. A trail sop and a timeshift is a handy trick for getting several moments of time into a static thing. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.