<?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[getting 3D noise values]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">is there any way to get the color value of any x/y/z coordinate in a 3D noise space using python ?</p>
<p dir="auto">Like:<br />
input = vector(x,y,z)<br />
result = color value</p>
<p dir="auto">Cheers</p>
]]></description><link>http://developers.maxon.net/forum/topic/11106/getting-3d-noise-values</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 08:04:04 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/11106.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Oct 2018 22:57:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to getting 3D noise values on Mon, 29 Oct 2018 15:48:03 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/eziopan">@<bdi>eziopan</bdi></a> and Sebastian for your answers !</p>
<p dir="auto">So far I searched a way for getting values out of the 3D noise shaders. Starting point was the c4d.BaseShader class but it seems to me that accessing these shaders in order to get noise values is much more cumbersome than using  the C4DNoise class and specifying the corresponding noise type as parameter 't' - as <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/eziopan">@<bdi>eziopan</bdi></a> has pointed out.</p>
<p dir="auto">So: thank you - problem solved <img src="http://developers.maxon.net/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/263a.png?v=0b8ddba251d" class="not-responsive emoji emoji-android emoji--relaxed" style="height:23px;width:auto;vertical-align:middle" title=":relaxed:" alt="☺" /></p>
<p dir="auto">... and sorry, I haven't read the Q&amp;A system thoroughly enough - next time I will mark my post properly.</p>
<p dir="auto">cheers, Jens</p>
]]></description><link>http://developers.maxon.net/forum/post/56216</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/56216</guid><dc:creator><![CDATA[ruckzuck]]></dc:creator><pubDate>Mon, 29 Oct 2018 15:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to getting 3D noise values on Mon, 29 Oct 2018 09:43:54 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">as <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/eziopan">@<bdi>eZioPan</bdi></a> has shown you can use the C4DNoise class to sample a noise. Additionally, you find further noises in the <a href="https://developers.maxon.net/docs/py/2023_2/modules/c4d.utils/noise/index.html?highlight=noise#module-c4d.utils.noise" target="_blank" rel="noopener noreferrer nofollow ugc">c4d.utils.noise</a> namespace.</p>
<p dir="auto">A noise function typically just returns a scalar value. So if you want to create a color you have to combine different noises (with different seeds) or you sample the same noise with different offsets.</p>
<p dir="auto">Please also make sure to mark your post as a question using our <a href="https://developers.maxon.net/forum/topic/11004/q-a-new-functionality" target="_blank" rel="noopener noreferrer nofollow ugc">Q&amp;A system</a>.</p>
<p dir="auto">best wishes,<br />
Sebastian</p>
]]></description><link>http://developers.maxon.net/forum/post/56202</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/56202</guid><dc:creator><![CDATA[s_bach]]></dc:creator><pubDate>Mon, 29 Oct 2018 09:43:54 GMT</pubDate></item><item><title><![CDATA[Reply to getting 3D noise values on Mon, 29 Oct 2018 09:07:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ruckzuck">@<bdi>ruckzuck</bdi></a> ,</p>
<p dir="auto">Please check this document:</p>
<p dir="auto"><a href="https://developers.maxon.net/docs/py/2023_2/modules/c4d.utils/noise/C4DNoise/index.html" target="_blank" rel="noopener noreferrer nofollow ugc">c4d.utils.noise.C4DNoise</a></p>
<p dir="auto">Here is a sample code:</p>
<pre><code class="language-python">import c4d
from c4d import utils
#Welcome to the world of Python

def main():
    
    pos = c4d.Vector(0,0,0) # Here is the input
    
    seed = 12346
    
    noiseGen = utils.noise.C4DNoise(seed)
    result = noiseGen.Noise(t=c4d.NOISE_NOISE,two_d=False,p=pos) # Here is the result
    
    print(result)
</code></pre>
<p dir="auto">You can then remap result float number into a color using other methods.</p>
]]></description><link>http://developers.maxon.net/forum/post/56199</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/56199</guid><dc:creator><![CDATA[eZioPan]]></dc:creator><pubDate>Mon, 29 Oct 2018 09:07:36 GMT</pubDate></item></channel></rss>