I have a driver in my input nodes which works fine. It just outputs a random value.
But...it will only be executed once.
If i do something like in this screenshot, the x coordinate will be evaluated for every x, right? or am i missing here something?
But my driver value will be executed only once and for all x/y/z values it will be that constant value...can i somehow change this that my driver will be executed for every coordinate as the "less than" node does this?
This is in my driver:
import bpy
import random
two sample functions
def rand(f,t):
""" Simple function call:
invert(val)
"""
print("executed")
return random.uniform(f,t)
Add functions defined in this script into the drivers namespace.
bpy.app.driver_namespace["rand"] = rand



