<?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: Stick particles to emitter in Bifrost Forum</title>
    <link>https://forums.autodesk.com/t5/bifrost-forum/stick-particles-to-emitter/m-p/9892986#M5045</link>
    <description>&lt;P&gt;If you make a level set out of your emitter (using &lt;EM&gt;convert_to_volume&lt;/EM&gt;), you can use &lt;EM&gt;sample_volume_gradient&lt;/EM&gt; to compute the gradient of the level set at each particle position. The gradient of a level set points in the direction away from surface. So if you negate the gradient you get a vector pointing towards the surface. If you multiply vector pointing towards the surface (i.e. the negative gradient) by the distance to the surface, which you can by sampling the level set with &lt;EM&gt;sample_volume&lt;/EM&gt;, you can move your particles onto the closest point on the surface. Maybe this will work for you?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 20:26:06 GMT</pubDate>
    <dc:creator>morten.bojsen-hansen</dc:creator>
    <dc:date>2020-11-24T20:26:06Z</dc:date>
    <item>
      <title>Stick particles to emitter</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/stick-particles-to-emitter/m-p/9885370#M5044</link>
      <description>&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;I'm trying to create clouds through Bifrost and have them morph into custom shapes. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so, I created an Aero from the emitter object, turned off Continuous Emission and animated the emitter using Blend Shapes. However, I cannot get the generated particles to stick to the mesh as it deforms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a solution to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 10:24:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/stick-particles-to-emitter/m-p/9885370#M5044</guid>
      <dc:creator>DannyTheGamer</dc:creator>
      <dc:date>2020-11-21T10:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Stick particles to emitter</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/stick-particles-to-emitter/m-p/9892986#M5045</link>
      <description>&lt;P&gt;If you make a level set out of your emitter (using &lt;EM&gt;convert_to_volume&lt;/EM&gt;), you can use &lt;EM&gt;sample_volume_gradient&lt;/EM&gt; to compute the gradient of the level set at each particle position. The gradient of a level set points in the direction away from surface. So if you negate the gradient you get a vector pointing towards the surface. If you multiply vector pointing towards the surface (i.e. the negative gradient) by the distance to the surface, which you can by sampling the level set with &lt;EM&gt;sample_volume&lt;/EM&gt;, you can move your particles onto the closest point on the surface. Maybe this will work for you?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 20:26:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/stick-particles-to-emitter/m-p/9892986#M5045</guid>
      <dc:creator>morten.bojsen-hansen</dc:creator>
      <dc:date>2020-11-24T20:26:06Z</dc:date>
    </item>
  </channel>
</rss>

