Jump to content

Volume Bend Deformer (need some maths help)

Jordan Walsh

Recommended Posts

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 



Link to comment
Share on other sites

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.




Edited by f1480187
Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...