zephyr707 Posted June 3, 2012 Share Posted June 3, 2012 hi there, I'm trying to figure out the best way to accumulate color via an attribute transfer node using a SOP solver. I've attached a simple scene with a null animating across a wall grid and using a SOP solver to accumulate transferred color onto the grid. It works fine, but if the sub-steps are too low there are gaps in the path and I want a straight curve/line that follows the null's path even if it jumps great distances between frames. Is increasing the sub-steps the best way to accomplish this faithful color transfer of the null's path, or is there some other more efficient method? I started off using particles emitted from the null point and sticking to the grid, but that also required some oversampling. I've read about the timeblend node, but I think that's not going to help me here. Any tips would be most appreciated, thanks z nullPath_sop_solver.hipnc Quote Link to comment Share on other sites More sharing options...
bloomendale Posted June 3, 2012 Share Posted June 3, 2012 hi there, I'm trying to figure out the best way to accumulate color via an attribute transfer node using a SOP solver. I've attached a simple scene with a null animating across a wall grid and using a SOP solver to accumulate transferred color onto the grid. It works fine, but if the sub-steps are too low there are gaps in the path and I want a straight curve/line that follows the null's path even if it jumps great distances between frames. Is increasing the sub-steps the best way to accomplish this faithful color transfer of the null's path, or is there some other more efficient method? I started off using particles emitted from the null point and sticking to the grid, but that also required some oversampling. I've read about the timeblend node, but I think that's not going to help me here. Any tips would be most appreciated, thanks z Maybe just create trail, resample and transfer color from it? http://dl.dropbox.com/u/46208032/3ak_attribTransferResample.hipnc Quote Link to comment Share on other sites More sharing options...
zephyr707 Posted June 3, 2012 Author Share Posted June 3, 2012 Maybe just create trail, resample and transfer color from it? http://dl.dropbox.com/u/46208032/3ak_attribTransferResample.hipnc that's a cool idea, thanks for sharing that! I guess I should have added more complexity to my example file, the null will be moving away from the wall and towards it as well. When I add this dimension to your file the proximity of the line to the grid for the attribute transfer sometimes creates flickering of the red. It is not as noticeable when the ball is just moving on the flat grid plane, but there is a little bit of flicker as the line is trailed and re-sampled. Let me try this in my larger scene and see if it workable, thanks for the new method! 3ak_attribTransferResample_y.hipnc Quote Link to comment Share on other sites More sharing options...
fxrod Posted June 3, 2012 Share Posted June 3, 2012 that's a cool idea, thanks for sharing that! I guess I should have added more complexity to my example file, the null will be moving away from the wall and towards it as well. When I add this dimension to your file the proximity of the line to the grid for the attribute transfer sometimes creates flickering of the red. It is not as noticeable when the ball is just moving on the flat grid plane, but there is a little bit of flicker as the line is trailed and re-sampled. Let me try this in my larger scene and see if it workable, thanks for the new method! Anoter good way to get sub-frame positions is to use the Cache SOP on your animated object. Set the 'Index' parm to $FF for floating frame. Then, turn on 'Blend Position'. In your 'Global Animation Options' turn off 'Integer Frame Values' and set your 'Step' value to something like 0.5 so you can scrub the subframes. Now, if you're using the 'Solver' SOP, you can set the 'Sub Steps' to something like 2 and you should get higher fidelity attrib transfer. 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.