Stupid question. I cant find the expression for something like log base 2.
something like:
poop = log2 i
how do I do this in maxscript?
Forum topic · General Scripting
By roosterMAP · 2015-07-28
Stupid question. I cant find the expression for something like log base 2.
something like:
poop = log2 i
how do I do this in maxscript?
Comments (2)
Comment policy
Thanks for this
Was going to write maxscript extension until find this.
Found the solution for those who are interested:
log_a X = ( ln X ) / ( ln a )