log base x

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sergo's picture

Thanks for this

Was going to write maxscript extension until find this.

roosterMAP's picture

Found the solution for those

Found the solution for those who are interested:

log_a X = ( ln X ) / ( ln a )

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.