<?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[How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)?]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Can you help me find out the rule of how RSMGIDRatioColor works when it is applied to a cloner in Honeycomb mode? According to the document <a href="https://help.maxon.net/r3d/cinema/en-us/Default.htm#html/Cinema+4D+MoGraph.html#Cinema4DMoGraph-RSMGIDRatioColor" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>: The index ratio of the clone as a grayscale color. I would expect the greyscale color for each instance would be (index/total number)  or (1 - index/total number). This means instances color will from pure black to white or white to black. And when cloner is in Linear mode, it matches this as below snapshot shows.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1762331926111-c6af6a9e-081a-40ab-980c-a944405f9869-image.png" alt="c6af6a9e-081a-40ab-980c-a944405f9869-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">However, when the cloner is in HoneyComb mode, the first instance looks like pure white, however, the last instance is far from black as the below snapshot shows.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1762332019934-420125c3-b9e3-45d9-baf5-483f4a9e4ff4-image.png" alt="420125c3-b9e3-45d9-baf5-483f4a9e4ff4-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So I'm wondering what the rule of RSMGIDRatioColor is for each instance when cloner is in Honeycomb mode.</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://developers.maxon.net/forum/topic/16347/how-to-compute-redshift-mograph-index-ratios-rsmgidratiocolor</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 03:51:48 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16347.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Nov 2025 08:42:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)? on Fri, 07 Nov 2025 00:42:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferdinand">@<bdi>ferdinand</bdi></a> Thanks!</p>
]]></description><link>http://developers.maxon.net/forum/post/76917</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76917</guid><dc:creator><![CDATA[BruceC]]></dc:creator><pubDate>Fri, 07 Nov 2025 00:42:56 GMT</pubDate></item><item><title><![CDATA[Reply to How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)? on Fri, 07 Nov 2025 00:36:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/i_mazlov">@<bdi>i_mazlov</bdi></a> Thank you for confirming, Ilia!</p>
]]></description><link>http://developers.maxon.net/forum/post/76916</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76916</guid><dc:creator><![CDATA[BruceC]]></dc:creator><pubDate>Fri, 07 Nov 2025 00:36:55 GMT</pubDate></item><item><title><![CDATA[Reply to How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)? on Thu, 06 Nov 2025 09:41:54 GMT]]></title><description><![CDATA[<p dir="auto">Hey Bruce, multiple people in your company have access. When you do not, reach out to us, so that we can set you up.</p>
]]></description><link>http://developers.maxon.net/forum/post/76914</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76914</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Thu, 06 Nov 2025 09:41:54 GMT</pubDate></item><item><title><![CDATA[Reply to How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)? on Thu, 06 Nov 2025 08:39:26 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/brucec">@<bdi>BruceC</bdi></a>,</p>
<p dir="auto">correct, the <em>RSMGIDRatioColor</em> is (tentatively) expected to behave as <code>index / total_number</code>.<br />
You can check the index in the Transform -&gt; Display attribute of the cloner object (check the screenshot below).</p>
<p dir="auto">Cheers,<br />
Ilia</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1762418364476-0deba902-1d30-474c-b518-aafd6ce079dd-image.png" alt="0deba902-1d30-474c-b518-aafd6ce079dd-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://developers.maxon.net/forum/post/76912</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76912</guid><dc:creator><![CDATA[i_mazlov]]></dc:creator><pubDate>Thu, 06 Nov 2025 08:39:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)? on Wed, 05 Nov 2025 22:37:58 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the reply, Ferdinand.<br />
I don't have access to the beta forums, can I assume the fix will make RSMGIDRatioColor act something like below for HoneyComb?</p>
<pre><code>(index/total number) or (1 - index/total number)
</code></pre>
<p dir="auto">Cheers</p>
]]></description><link>http://developers.maxon.net/forum/post/76911</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76911</guid><dc:creator><![CDATA[BruceC]]></dc:creator><pubDate>Wed, 05 Nov 2025 22:37:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)? on Wed, 05 Nov 2025 11:46:32 GMT]]></title><description><![CDATA[<p dir="auto">FYI: The RS team just told me that they agree that this is a bug and that they will fix this. Please reach out via our beta forums for details.</p>
<p dir="auto">So, the code I showed you has an expiration date.</p>
]]></description><link>http://developers.maxon.net/forum/post/76910</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76910</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Wed, 05 Nov 2025 11:46:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to compute Redshift MoGraph index ratios (RSMGIDRatioColor)? on Wed, 05 Nov 2025 09:52:40 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/brucec">@<bdi>BruceC</bdi></a>,</p>
<p dir="auto">Thank you for your question. I just checked, and what RS calls the index ratio does not really have much to do with indices and is instead based on the uvw coordinate of a particle. This might be a bug, but you would have to talk with the Redshift team for that. Anyway, find below some Python code to emulate computing that 'index ratio'.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
<h4>Result</h4>
<p dir="auto">I emulated your setup:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1762336177416-dfbeebb4-cce6-4ca1-bf31-76e78d3966c1-image.png" alt="dfbeebb4-cce6-4ca1-bf31-76e78d3966c1-image.png" class=" img-fluid img-markdown" /></p>
<h4>Code</h4>
<pre><code class="language-py">import c4d
import mxutils

doc: c4d.documents.BaseDocument  # The currently active document.
op: c4d.BaseObject | None  # The primary selected object in `doc`. Can be `None`.


def main() -&gt; None:
    """Called by Cinema 4D when the script is being executed.
    """
    data: c4d.modules.mograph.MoData = mxutils.CheckType(c4d.modules.mograph.GeGetMoData(op))
    uvw: list[c4d.Matrix] = data.GetArray(c4d.MODATA_UVW)
    for i in range(data.GetCount()):
        # That is how the 'index ratio' is computed, it is effectively just the shifted x-component
        # of the uvw coordinate of the particle. The color is then just (ratio, ratio, ratio). Not very
        # 'indexy'.
        ratio: float = 1 - uvw[i].x
        print(f"{i}: {ratio}")

if __name__ == '__main__':
    main()
</code></pre>
]]></description><link>http://developers.maxon.net/forum/post/76909</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76909</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Wed, 05 Nov 2025 09:52:40 GMT</pubDate></item></channel></rss>