|
|
The following function transforms a sphere such that it is expanded
logarithmically along the y axis. What I would like to do next is to
expand a sphere based on its distance from the origin instead. Any
ideas? Of course, if the sphere is located a the origin like my example
it will still look like a sphere.
-Mike
#local Temp_fnc1 = function
{
1 - min(1, sqrt(x*x + y*y + z*z))
}
#local Temp_fnc3 = function
{
max(0,min(1,Temp_fnc1(x, log(y + 1) / log(2),z)))
}
Post a reply to this message
|
|