THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/09/2011 at 11:23, xxxxxxxx wrote:
You can factor your seed value into the sample point's position as a workaround.
def randomVector(seed, time) :
seed += 1 #Ensure seed is not 0
noise = c4d.utils.noise.C4DNoise(12345)
x = noise.Noise(t=c4d.NOISE_NOISE,two_d=False, p=c4d.Vector(seed,0,0), time=time)
y = noise.Noise(t=c4d.NOISE_NOISE,two_d=False, p=c4d.Vector(0,seed,0), time=time)
z = noise.Noise(t=c4d.NOISE_NOISE,two_d=False, p=c4d.Vector(0,0,seed), time=time)
positive_vector = c4d.Vector(x, y, z)
signed_vector = (positive_vector - c4d.Vector(0.5) ) * 2
return signed_vector