ScriptSpot

Forum topic · General Scripting

log base x

By roosterMAP · 2015-07-28

Description

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)

Thanks for this

sergo · 2016-11-03

Was going to write maxscript extension until find this.

roosterMAP · 2015-08-06

Found the solution for those who are interested:

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