<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TP Max-Particles]]></title><description><![CDATA[<p dir="auto"><em>On 18/07/2018 at 14:13, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hello PluginCafe,</p>
<p dir="auto">I have been working a lot with VDBs recently and implemented a way to save and load them in Cinema4D.<br />
Appart from an ObjectPlugin I made a SceneLoaderPlugin to load the VDBs.<br />
Now to my problem:<br />
I have two options when loading a VDB. It is either a mesh or a point cloud.<br />
Importing the mesh through the SceneLoaderPlugin works fine but I face a problem when loading the point cloud.</p>
<p dir="auto">I am using the ThinkinParticles module to visualize the point cloud. But The VDBs often have more points than the Max Particles setting. And I can't find a method in the docs to change this setting. This would not be an problem when working with an ObjectPlugin, since the user can change it, however when I try to load it using the SceneLoaderPlugin the whole load-process fails. It does also not load when I change the Max Particles setting manually.</p>
<p dir="auto">Tl;Dr: Is there a way to change the Max Particles setting of the Thinking Particles module?</p>
<p dir="auto">Thanks in advance,<br />
Florian</p>
]]></description><link>http://developers.maxon.net/forum/topic/10873/14316_tp-maxparticles</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 08:47:43 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/10873.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Sep 2018 10:48:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TP Max-Particles on Sat, 01 Sep 2018 10:49:01 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 19/07/2018 at 03:53, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi Maxime,<br />
thank you very much for your reply!</p>
<p dir="auto">I had this problem a lot that I had to change the Max Particle setting, now I know how to!<br />
And thank you very much for your tips regarding the SceneLoader Plugin, I will keep them in mind.</p>
<p dir="auto">best regards,<br />
Florian</p>
]]></description><link>http://developers.maxon.net/forum/post/55274</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/55274</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:49:01 GMT</pubDate></item><item><title><![CDATA[Reply to TP Max-Particles on Sat, 01 Sep 2018 10:48:58 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 19/07/2018 at 01:20, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi Neon, regarding your initial question about Max Particles you can define it using the following code</p>
<pre><code>    particleSystem = doc.GetParticleSystem()
    bc = particleSystem.GetDataInstance()
    bc[54] = 1000000000
    c4d.EventAdd()
</code></pre>
<p dir="auto">Note the ID used in the BaseContainer, does not get a proper symbol, so it may change in future release.<br />
And the max count allowed is 1000000000.</p>
<p dir="auto">Regarding your second question about SceneLoaderPlugin, it's normal since TP is not initialized in the document (It's why merge should work and not when you create a new document directly).<br />
Moreover, you will face some problems, since you generate particles only one time at a given frame with a given LifeTime in a SceneLoader, that means when you will go back in time, or run the scene longer than your particle LifeTime, there will be nothing in the scene.<br />
So the best way would be in your SceneLoaderPlugin to create/set up an ObjectData plugin which will use the vdb file to generate TP particles.</p>
<p dir="auto">Hope it helps, if you have any question please let me know!<br />
Cheers,<br />
Maxime</p>
]]></description><link>http://developers.maxon.net/forum/post/55273</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/55273</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:48:58 GMT</pubDate></item></channel></rss>