Is there a “Volume Select” equivalent in Blender?

Is there a “Volume Select” equivalent in Blender?



3D Studio has a modifier called "Volume Select" that allows using an element's geometry as a sort of selection force field that influences elements in its path. It can be used to transform many at once, as illustrated below.



enter image description here



Is there a way to do this in Blender? If not a modifier, maybe a script? I'm trying to animate a block of cubes that shrink and grow in a pattern and something like volume selecting would help a lot.



Thanks!




3 Answers
3



Animation Nodes can be used here. The Find Nearest Surface Point node is used to compute the distance between every element and its closest surface point, the distance is then used as the scale of the elements as following:



Node Tree



Evaluating the distance at an interpolation gives you fine control over its rate of change:



Node Tree



In blender you can use Drivers.



1) In N-panel click RMB on scale and in context menu select Drivers -> Manually create later. Scale will be pink-colored



enter image description here



2) Open Graph Editor in Drivers Mode



3) Chose X Scale, remove all dots from curve and draw a new one (CTRL+LMB to add a dot) You can perfectly align it using Active keyframe tab.



Here will be your curve, last 2 dots must have 0 Value, to make object completely invisible in long distance.



enter image description here



Horizontal will be distance between objects, vertical - Scale.



4) Goto Drivers Tab



5) Setup settings:



Type - Averaged Value



Var type - Distance



Object 1 & 2 - is your current object and object-controller.



6) In N-panel RMB-click on X scale and in context menu select Copy Driver. When Paste Driver in Y and Z Scale.



7) Finally copy your objects in a grid or any pattern:



enter image description here



See also: For more advanced cases you can use node-based visual programing: animation nodes





$begingroup$
Thank you for the detailed step-by-step. This is similar to what I want to make, but I wonder if it can it be done with a volume. I tried your method with a cube instead of an empty, but the drivers only reacted to proximity with its origin and not its boundaries. Can nodes help with this?
$endgroup$
– user62099
Sep 7 '18 at 9:15





$begingroup$
@user62099 If you can describe the volume with a formula, you can instead use mathematical expressions for the driver, otherwise animation nodes is your bet. The following will probably be useful: animation-nodes-manual.readthedocs.io/en/latest/user_guide/… .
$endgroup$
– Sazerac
Sep 10 '18 at 0:48



enter image description here



enter image description here



enter image description here



This is the fastest, simplest way and gives the desired effect. Nodes are needless complication.



Thanks for contributing an answer to Blender Stack Exchange!



But avoid



Use MathJax to format equations. MathJax reference.



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)