I think bias function is all you need in this case. Something like this:
Code:
global proc float bias(float $val, float $b)
{
if ($b>0)
{
return pow($val,log($b) / log(0.5));
}
else
{
return 0;
}
}
Thread profile page for "particle size - power curve distribution?" on http://forums.cgsociety.org.
This report page is a snippet summary view from a single thread "particle size - power curve distribution?", located on the Message Board at http://forums.cgsociety.org.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||