<?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[Switch render engine to Redshift (In memory)]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">I prepared a scene in memory and like to render this now with Redshift. To do this I need to switch from the standard render engine to Redshift.</p>
<p dir="auto">A simple:</p>
<pre><code>rd = doc.GetActiveRenderData()
rdata[c4d.RDATA_RENDERENGINE] = 1036219
c4d.EventAdd()
</code></pre>
<p dir="auto">Is not working and it will just use the Standard render engine, I think because I need to set the VideoPost.</p>
<p dir="auto">I can get this by using:</p>
<pre><code>def GetRedshift(rd):
    rs = rd.GetFirstVideoPost()
    while rs and rs.GetType() != 1036219:       
        rs = rs.GetNext()
    return rs
</code></pre>
<p dir="auto">And trying to set it with InsertVideoPost but no luck. Maybe I'm completely on the wrong path.</p>
<p dir="auto">Can anybody help me do this.</p>
<p dir="auto">Thank you!<img src="http://developers.maxon.net/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=0b8ddba251d" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title=":blush:" alt="😊" /></p>
]]></description><link>http://developers.maxon.net/forum/topic/14339/switch-render-engine-to-redshift-in-memory</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 22:05:01 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/14339.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Jan 2023 16:48:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Switch render engine to Redshift (In memory) on Mon, 09 Jan 2023 10:48:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi @everyone,</p>
<p dir="auto">just as an FYI, the example is slightly outdated. With <code>2023.0.0</code> or newer, there is no need to manually define a symbol for the Redshift renderer, as one can use the newly exposed <code>VPrsrenderer</code> symbol (<code>c4d.VPrsrenderer</code> in Python).</p>
<p dir="auto">I have updated the C++ example.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/70527</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/70527</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 09 Jan 2023 10:48:12 GMT</pubDate></item><item><title><![CDATA[Reply to Switch render engine to Redshift (In memory) on Sat, 07 Jan 2023 00:13:01 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Maxime!</p>
<p dir="auto">This was the part I needed, i was looking in the right direction. <img src="http://developers.maxon.net/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=0b8ddba251d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<pre><code>redshiftVideoPost = c4d.documents.BaseVideoPost(PID_REDSHIFT_RENDER_ENGINE)
            print("RedshiftVideoPost: ", redshiftVideoPost)
            # Insert the Redshift video post plugin.
            rdata.InsertVideoPost(redshiftVideoPost)
</code></pre>
<p dir="auto">Have a great weekend!</p>
]]></description><link>http://developers.maxon.net/forum/post/70519</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/70519</guid><dc:creator><![CDATA[jwzegelaar]]></dc:creator><pubDate>Sat, 07 Jan 2023 00:13:01 GMT</pubDate></item><item><title><![CDATA[Reply to Switch render engine to Redshift (In memory) on Fri, 06 Jan 2023 20:41:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi you need to insert the video post as shown in the <a href="https://developers.maxon.net/docs/cpp/2023_2/page_manual_redshift_rendrer.html#example_redshift_rendrer_set_render_engine" target="_blank" rel="noopener noreferrer nofollow ugc">C++ manual - Redshift Renderer  - Set Render Engine to Redshift</a>, adapting it to Python should be pretty straightforward.</p>
<p dir="auto">Have a nice weekend.<br />
Cheers,<br />
Maxime.</p>
]]></description><link>http://developers.maxon.net/forum/post/70518</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/70518</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Fri, 06 Jan 2023 20:41:13 GMT</pubDate></item></channel></rss>