<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Use an implicit sphere as a locator for influence? in Bifrost Forum</title>
    <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645396#M6362</link>
    <description>&lt;P&gt;I thought that when I apply the inverse matrix WITH the translation i would move the point around.&lt;/P&gt;
&lt;P&gt;All I want to do is rotate and scale the points position, before I measure its distance to the sphere center, right?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;On the other hand... when I apply the inverse matrix WITH the translation then I just measure the points distance to (0,0,0). Is that correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can only test it tomorrow (I’m in Germany).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 21:24:51 GMT</pubDate>
    <dc:creator>Roland.Reyer</dc:creator>
    <dc:date>2020-07-20T21:24:51Z</dc:date>
    <item>
      <title>Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644176#M6354</link>
      <description>&lt;P&gt;I'd like to use Maya's *implicit* objects as locators to control the influence of deformers and fields:&lt;/P&gt;
&lt;P&gt;- implicitSphere&lt;/P&gt;
&lt;P&gt;- implicitCube&lt;/P&gt;
&lt;P&gt;- implicitCone&lt;/P&gt;
&lt;P&gt;These objects have size attributes (e.g. radius, cone angle) and transformation attributes (a transform node).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 443px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797092iA5E74BDEB7E75FD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Unfortunately, I can't just import them into the Bifrost Graph.&lt;/P&gt;
&lt;P&gt;How can I use these objects in Bifrost?&lt;/P&gt;
&lt;P&gt;How do I calculate e.g. how close a point is to an implicitSphere's center considering the sphere's transformation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 09:47:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644176#M6354</guid>
      <dc:creator>Roland.Reyer</dc:creator>
      <dc:date>2020-07-20T09:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644215#M6355</link>
      <description>&lt;P&gt;Isnt the extrude compound using an influence objet?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://area.autodesk.com/downloads/extrude/#" target="_blank"&gt;https://area.autodesk.com/downloads/extrude/#&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 10:12:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644215#M6355</guid>
      <dc:creator>Christoph_Schaedl</dc:creator>
      <dc:date>2020-07-20T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644244#M6356</link>
      <description>&lt;P&gt;No, it is just a location and a dropoff value.&lt;/P&gt;
&lt;P&gt;I could wire a locator's position and maybe a scaling value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But for example the implicitCone has a specific shape (same with non uniform scale on all objects).&lt;/P&gt;
&lt;P&gt;Even for the moved/rotated/scaled sphere I don't know how to calculate if a point is inside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 10:33:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644244#M6356</guid>
      <dc:creator>Roland.Reyer</dc:creator>
      <dc:date>2020-07-20T10:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644499#M6357</link>
      <description>&lt;P&gt;Hi Roland,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right now, there is no built-in way to test whether points are inside something like an implicit sphere. However, it's a fairly straightforward computation in the graph if you know the sphere's radius and world transform. (If you do this computation a lot, it would be helpful to publish a reusable compound for it.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get inputs like the radius and world transform into the graph, you'll need to connect them individually:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;At the top level of the graph, create a new port on the input node by connecting something of the appropriate type. You'll find that most parameters in Maya use doubles (or vectors/matrices of doubles, etc.), but you can use floats and they will be converted automatically on input.&lt;/LI&gt;
&lt;LI&gt;In Maya's Node Editor, display both the implicit shape and the Bifrost graph, and connect them. A lot of the ports like radius on the implicit sphere aren't visible by default, so to select them you need to click the big circle at the top of the node and select Other.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bifrost-inputs.png" style="width: 580px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797157i1A1A828A169C0E6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="bifrost-inputs.png" alt="bifrost-inputs.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="node-editor-inputs.png" style="width: 454px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797158i84786AB14B0F2121/image-size/large?v=v2&amp;amp;px=999" role="button" title="node-editor-inputs.png" alt="node-editor-inputs.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that helps,&lt;/P&gt;
&lt;P&gt;gray&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 13:20:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644499#M6357</guid>
      <dc:creator>Grahame_Fuller</dc:creator>
      <dc:date>2020-07-20T13:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644612#M6358</link>
      <description>&lt;P&gt;I've gotten exactly that far.&lt;BR /&gt;What's next?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 14:12:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644612#M6358</guid>
      <dc:creator>Roland.Reyer</dc:creator>
      <dc:date>2020-07-20T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644848#M6359</link>
      <description>&lt;P&gt;Hi Roland,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The easiest way is probably to convert the point positions that you are testing into the local coordinates of the sphere, and check their lengths against the radius.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use inverse_matrix to invert the sphere's world matrix. Note that you could have just input the inverse directly from Maya, but maybe you need the uninverted matrix for something else anyway. It's the same amount of computation in the end — it's just a question of whether you are asking Maya or Bifrost to do the maths.&lt;/LI&gt;
&lt;LI&gt;Use vector3_to_vector4 to convert the point positions to 4D vectors with w = 1. This is so that they get transformed as point positions rather than vectors.&lt;/LI&gt;
&lt;LI&gt;Use matrix_multiply to transform the positions. Note that the order is important: matrix first, then the positions.&lt;/LI&gt;
&lt;LI&gt;Use vector4_to_vector3 to convert the results back to ordinary 3D positions.&lt;/LI&gt;
&lt;LI&gt;Use length_squared to get their squared lengths, and compare those to the square of the radius. This can be a bit more efficient than comparing their lengths to the radius directly.&lt;/LI&gt;
&lt;LI&gt;If they are less or equal, then the points are inside the sphere. To do something with those points, you probably want to use the original, untransformed positions rather than those in the sphere's local coordinates.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="points-in-radius-local-coordinates.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797218iCCB21D3F8F3FB883/image-size/large?v=v2&amp;amp;px=999" role="button" title="points-in-radius-local-coordinates.png" alt="points-in-radius-local-coordinates.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that helps,&lt;/P&gt;
&lt;P&gt;gray&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 15:48:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9644848#M6359</guid>
      <dc:creator>Grahame_Fuller</dc:creator>
      <dc:date>2020-07-20T15:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645352#M6360</link>
      <description>&lt;P&gt;Don't I first have to set the translation for the sphere matrix to zero?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 20:40:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645352#M6360</guid>
      <dc:creator>Roland.Reyer</dc:creator>
      <dc:date>2020-07-20T20:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645370#M6361</link>
      <description>&lt;P&gt;You shouldn't need to set the translation of the matrix to zero, assuming that you want to move the sphere and find the points inside it based on its current position, wherever that may be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe I'm misunderstanding what you are trying to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;gray&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 20:57:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645370#M6361</guid>
      <dc:creator>Grahame_Fuller</dc:creator>
      <dc:date>2020-07-20T20:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645396#M6362</link>
      <description>&lt;P&gt;I thought that when I apply the inverse matrix WITH the translation i would move the point around.&lt;/P&gt;
&lt;P&gt;All I want to do is rotate and scale the points position, before I measure its distance to the sphere center, right?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;On the other hand... when I apply the inverse matrix WITH the translation then I just measure the points distance to (0,0,0). Is that correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can only test it tomorrow (I’m in Germany).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 21:24:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645396#M6362</guid>
      <dc:creator>Roland.Reyer</dc:creator>
      <dc:date>2020-07-20T21:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645435#M6363</link>
      <description>&lt;P&gt;What I posted above doesn't actually move anything (unless you use set_point_position with those values). The idea is to convert the point positions from world coordinates so that they are expressed relative to the sphere instead. This is so that you can compare their lengths to the sphere's radius and know whether they are inside or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you move the sphere so that it now encloses different points, you need to take that translation into account when converting the points' coordinates. This is why you need to &lt;EM&gt;not&lt;/EM&gt; zero out the sphere's translation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But note that this is just for determining whether the points are inside the sphere and should be deformed or not. What happens next depends on how you want to deform those points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if you want to add an offset to their current positions, you'd start with the original, unconverted, world-space positions of those points. On the other hand, if you want to scale them about the sphere's center, you'd multiply the converted positions by some factor and then convert them back to world space before you set their new values on the geometry. (Converting back to world-space involves turning them back to 4D with w = 1 again, multiplying them matrix-first with the uninverted matrix, and finally turning them back to 3D.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;gray&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 22:01:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9645435#M6363</guid>
      <dc:creator>Grahame_Fuller</dc:creator>
      <dc:date>2020-07-20T22:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9646170#M6364</link>
      <description>&lt;P&gt;Ok, it workes! &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this example I shrink the surface of the torus along the point normals, but only inside the implicit sphere.&lt;/P&gt;
&lt;P&gt;The sphere can be moved, rotated, scaled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797447iF0CCB11B701F1FA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the compound that checks if points are inside the sphere.&lt;/P&gt;
&lt;P&gt;It outputs an array of factors for each point on the torus geometry and I can multiply any modification (grow, shrink, noise, etc.) with the factor (see the final graph).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797457i25ADEEFBB938808E/image-size/large?v=v2&amp;amp;px=999" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I find out if a point is inside the moved/rotated/scaled sphere?&lt;BR /&gt;I followed &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1273327"&gt;@Grahame_Fuller&lt;/a&gt;'s advice to transform the points with the Inverse Matrix of the sphere and then just measure the distance to the center (= length of the position vector).&lt;/P&gt;
&lt;P&gt;The position inside the sphere is then divided by the radius and the result (clamped and fcurved) is the array of factors.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="InfluenceSphere1.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797449iD65E41B2C30B8CA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="InfluenceSphere1.jpg" alt="InfluenceSphere1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The final graph for this grow/shrink modification looks like this.&lt;/P&gt;
&lt;P&gt;Note that the implicit sphere (createNode implicitSphere) cannot be dragged into the Bifrost Graph directly. You have to create the plugs on the input node and then in the Node Editor connect the sphere's worldMatrix and Radius.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797466iFC89711BEDE25B83/image-size/large?v=v2&amp;amp;px=999" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 515px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/797470i3A0030FF583AB309/image-size/large?v=v2&amp;amp;px=999" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Piece of cake, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 08:45:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9646170#M6364</guid>
      <dc:creator>Roland.Reyer</dc:creator>
      <dc:date>2020-07-21T08:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9646335#M6365</link>
      <description>&lt;P&gt;Oh, before I forget it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a MEL script that&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;creates an implicit sphere&lt;/LI&gt;
&lt;LI&gt;creates a new input node on the selected bifrostBoard (usually "bifrostGraph1" in the Outliner)&lt;/LI&gt;
&lt;LI&gt;creates the plugs "matrix" and "radius" on that new input node&lt;/LI&gt;
&lt;LI&gt;connects the implicit sphere's "worldMatrix[0]" and "Radius" to the bifrostBoard (=the input node)&lt;/LI&gt;
&lt;LI&gt;creates the influenceSphere_pointFactor compound (needs to be installed in your user compounds)&lt;/LI&gt;
&lt;LI&gt;connects the inputNode matrix and radius to the influenceSphere_pointFactor compound&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;IMPORTANT: the node "bifrostGraph#" needs to be selected in the Outliner when you execute this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Put this on your shelf.&lt;/P&gt;
&lt;P&gt;Makes your life easier when you test this stuff &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;$bifrostBoards = `ls -sl -type "bifrostBoard"`;
if (size($bifrostBoards)) {
    $sphereName = `createNode implicitSphere`;
    $name = `vnnCompound $bifrostBoards[0] "/" -addIONode true`;
    vnnCompound $bifrostBoards[0] "/" -renameNode $name $sphereName;
    vnnNode $bifrostBoards[0] ("/" + $sphereName) -createOutputPort ($sphereName + "Matrix") "Math::float4x4";
    vnnNode $bifrostBoards[0] ("/" + $sphereName) -createOutputPort ($sphereName + "Radius") "float";
    
    connectAttr ($sphereName + ".worldMatrix[0]") ($bifrostBoards[0] + ("." + $sphereName + "Matrix"));
    connectAttr ($sphereName + ".radius") ($bifrostBoards[0] + ("." + $sphereName + "Radius"));
    
    $name = `vnnCompound $bifrostBoards[0] "/" -addNode "BifrostGraph,User::Compounds,influenceSphere_pointFactor"`;
    vnnConnect $bifrostBoards[0] ("." + $sphereName + "Matrix") ("/" + $name[0] + ".matrix");
    vnnConnect $bifrostBoards[0] ("." + $sphereName + "Radius") ("/" + $name[0] + ".radius");

} else warning "No bifrostBoard node selected (e.g. \"bifrostGraph1\")";
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 10:15:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9646335#M6365</guid>
      <dc:creator>Roland.Reyer</dc:creator>
      <dc:date>2020-07-21T10:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use an implicit sphere as a locator for influence?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9646402#M6366</link>
      <description>&lt;P&gt;I'm glad it helped. I like that illustration — it really helps to show how it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;gray&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 10:58:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/use-an-implicit-sphere-as-a-locator-for-influence/m-p/9646402#M6366</guid>
      <dc:creator>Grahame_Fuller</dc:creator>
      <dc:date>2020-07-21T10:58:05Z</dc:date>
    </item>
  </channel>
</rss>

