Jordan Walsh Posted April 7, 2016 Share Posted April 7, 2016 I'm trying to recreate the bend deformer to use for volumes. The issue is that with points you transform the point to the new bent position but with the volume you need to use a volume sample to "pull" the volume into the position with the volume sample node. I initially thought that it would be fine and all I'd need to do is negate the angle but it is more complicated that that. Is there any way to get this working? I have attached a file with the bend working on a box but broken on the volume. The bend nodes were pulled from qL library volumeBend.hipnc Quote Link to comment Share on other sites More sharing options...
f1480187 Posted April 7, 2016 Share Posted April 7, 2016 (edited) There are two flaws. A new bent position can overlap a same place more than once, that's why it samples same voxel and creates repetitions. You can visualize it by creating points in each voxel and try to bend them with the point deformer. Second problem is that result is oddly scaled, probably due to the algorithm itself. What do you want to accomplish bending a volume? It is as efficient, as bending resx * resy * resz points. You may try to convert volume to points, deform them and convert back to volume. There is also an example file for this. volume_bend.hipnc Edited April 7, 2016 by f1480187 Quote Link to comment Share on other sites More sharing options...
Jordan Walsh Posted April 7, 2016 Author Share Posted April 7, 2016 Cheers, I have been looking into that but it is quite expensive for massive volumes compared to a pure volume vop solution. Quote Link to comment Share on other sites More sharing options...
Shinjipierre Posted April 9, 2016 Share Posted April 9, 2016 You could try volume advect, but I think you need to update openVDB to get it. 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.