<?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[Read Background Color from RS Camera]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">It is possible to read somehow the Color parameter from the Background section of the RS Camera?</p>
<pre><code>RSCamera[c4d.RSCAMERAOBJECT_BACKGROUND_COLOR]
</code></pre>
<p dir="auto"><video class="embed-video-local" controls src="https://developers.maxon.net/forum/assets/uploads/files/1687197600449-cinema_4d_hpblnlgz1x.mp4">
<p dir="auto">If I try to read it directly, it returns an error, and I didn't find a secondary ID to passtrough the value like in the RS Dome Light:</p>
<pre><code>RSDomeLight[c4d.REDSHIFT_LIGHT_DOME_TEX0, c4d.REDSHIFT_FILE_PATH]
</code></pre>
<p dir="auto">This is on C4D 2023.2.1and RS 3.5.16.</p>
<p dir="auto">Thanks!</p>
</video></p>]]></description><link>http://developers.maxon.net/forum/topic/14801/read-background-color-from-rs-camera</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 01:07:43 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/14801.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Jun 2023 18:04:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Read Background Color from RS Camera on Mon, 19 Jun 2023 19:06:57 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot for the quick response <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferdinand">@<bdi>ferdinand</bdi></a> ! I'll use the raw int values then, thanks <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>
]]></description><link>http://developers.maxon.net/forum/post/71823</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/71823</guid><dc:creator><![CDATA[cybor09]]></dc:creator><pubDate>Mon, 19 Jun 2023 19:06:57 GMT</pubDate></item><item><title><![CDATA[Reply to Read Background Color from RS Camera on Mon, 19 Jun 2023 18:51:28 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/cybor09">@<bdi>cybor09</bdi></a>,</p>
<p dir="auto">Thank you for reaching out to us! You almost got it. Redshift uses a special 4-channel data type for its colors, we talked <a href="https://developers.maxon.net/forum/topic/13784/" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> about it. But the camera object parameter you are interested in is a bit weird, as returns a float for <code>REDSHIFT_COLORALPHA_COLOR</code> where it should be a vector.</p>
<p dir="auto">Stuff seems to be laid out instead in the form <code>1000, 1001, 1002, 1003</code>, i.e., <code>VECTOR_X, VECTOR_Y, and VECTOR_Z</code> for the alpha bit you cannot use the usual <code>REDSHIFT_COLORALPHA_ALPHA</code> which is already our y-component value. So, you must use the raw integer value here.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
<p dir="auto"><img src="https://developers.maxon.net/forum/assets/uploads/files/1687200629214-cda137cd-13e8-40e3-8dc1-a8b908b84f28-image-resized.png" alt="cda137cd-13e8-40e3-8dc1-a8b908b84f28-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://developers.maxon.net/forum/post/71821</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/71821</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 19 Jun 2023 18:51:28 GMT</pubDate></item></channel></rss>