I have a function which assigns to "every" point in space
(x,y,z) a scalar value
d. I want to, somehow, visualize this function using Blender. This could be done with interpreting the value
d as some kind of density and rendering coloured glass which absorbs more light at higher density values and seems transparent at lower density values.
I found the material type
Volume to be in the proximity of what I am looking for but I do not know how to control the density at the points in space.
Has anyone an idea how to do this? Some solution with python is desirable.